Gavel MCP by usefulapi
v1.8.0List workflows and variables; create sessions and list session documents in Gavel.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
gavel_list_workflows List workflows
List the names of all Gavel workflows on the account. API: GET /api/playground?folder=questions.
gavel_get_workflow_variables Get workflow variables
Get the variable schema of one workflow: each variable name, data type, input type, label, options and whether it is required. Use it to learn what data gavel_create_session accepts. API: GET /officeaddin?pgtypes=<name>.yml.
| Parameter | Type | Description |
|---|---|---|
workflow_name * | string | The workflow name, case-sensitive, as gavel_list_workflows returns it (with or without ".yml"). |
gavel_create_session Create a workflow session
WRITE: create a new session of a workflow with pre-filled variables. It does not send or sign anything. Each call creates one more session. Returns session_id and a continuation_url. If all variables are given, the URL opens the document download page; else the user answers only the missing questions. Dates: '2024-05-30T'. Date time: ISO 8601. Multi select: array of option labels. Repeating items: array of objects. Use gavel_get_workflow_variables for the names. API: POST /api/documate/v1/interviews/{name}/new.
| Parameter | Type | Description |
|---|---|---|
variables * | object | Variable name to value. Text or number: plain value. Repeating item: array of objects. |
workflow_name * | string | The workflow name, case-sensitive, as gavel_list_workflows returns it (with or without ".yml"). |
gavel_list_session_documents List session documents
List the documents of a completed workflow session: name, format (docx or pdf), type, source template and download URL. This tool returns metadata only. The download URL needs the X-Api-Key header. API: GET /api/documate/v1/data-manager/workflows/{name}/session/{id}/documents.
| Parameter | Type | Description |
|---|---|---|
session_id * | string | The session_id from gavel_create_session. |
workflow_name * | string | The workflow name, case-sensitive, as gavel_list_workflows returns it (with or without ".yml"). |