Gavel MCP by usefulapi
List workflows and variables; create sessions and list session documents in Gavel.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"gavel": {
"url": "https://gavel.usefulapi.io/mcp"
}
}
}원격 엔드포인트
https://gavel.usefulapi.io/mcpstreamable-http할 수 있는 일
도구 목록
도구 (4)
🟢gavel_list_workflows
List the names of all Gavel workflows on the account. API: GET /api/playground?folder=questions.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢gavel_get_workflow_variables(workflow_name)
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.
입력 스키마
{
"type": "object",
"properties": {
"workflow_name": {
"type": "string",
"minLength": 1,
"maxLength": 300,
"description": "The workflow name, case-sensitive, as gavel_list_workflows returns it (with or without \".yml\")."
}
},
"required": [
"workflow_name"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡gavel_create_session(workflow_name, variables)
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.
입력 스키마
{
"type": "object",
"properties": {
"workflow_name": {
"type": "string",
"minLength": 1,
"maxLength": 300,
"description": "The workflow name, case-sensitive, as gavel_list_workflows returns it (with or without \".yml\")."
},
"variables": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {},
"description": "Variable name to value. Text or number: plain value. Repeating item: array of objects."
}
},
"required": [
"workflow_name",
"variables"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢gavel_list_session_documents(workflow_name, session_id)
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.
입력 스키마
{
"type": "object",
"properties": {
"workflow_name": {
"type": "string",
"minLength": 1,
"maxLength": 300,
"description": "The workflow name, case-sensitive, as gavel_list_workflows returns it (with or without \".yml\")."
},
"session_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{4,128}$",
"description": "The session_id from gavel_create_session."
}
},
"required": [
"workflow_name",
"session_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}커뮤니티
증거