kontur-diadoc-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DIADOC_LOGIN | No | Login for the Diadoc account. | |
| DIADOC_BASE_URL | No | Alternative API host, for example for the sandbox. Defaults to https://diadoc-api.kontur.ru. | https://diadoc-api.kontur.ru |
| DIADOC_PASSWORD | No | Password for the Diadoc account. | |
| DIADOC_CLIENT_ID | No | Legacy fallback name for the developer key. DIADOC_API_CLIENT_ID is preferred, but DIADOC_CLIENT_ID is still accepted. | |
| DIADOC_API_CLIENT_ID | No | Developer key (ddauth_api_client_id) issued when registering for API access. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| authenticateB | Аутентификация в Kontur.Diadoc API (возвращает превью токена). / Authenticate with Diadoc. |
| list_organizationsC | Поиск организаций по ИНН/КПП в Diadoc. / Search organizations by INN/KPP. |
| get_organizationC | Детали организации по orgId / boxId / ИНН. / Get organization details. |
| list_documentsC | Список документов в ящике с фильтрами и пагинацией. / List documents in a box. |
| get_documentC | Получить конкретный документ по box/message/entity ID. / Get a specific document. |
| send_documentB | Отправить документ контрагенту. Подпись (base64) формирует клиент; для песочницы шлите без подписи. / Send a document; the client supplies the signature. |
| sign_documentB | Подписать входящий документ. Нужна готовая подпись (base64) или sign_with_test_signature в песочнице. / Sign a received document with a client-supplied signature. |
| list_counterpartiesC | Список контрагентов организации (myBoxId). / List counterparties for an organization. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 8 tools
Each tool targets a fairly distinct resource+action (auth, org lookup, document listing/get, sign, send, counterparties). The main potential confusion is between list_organizations and list_counterparties, and between sign_document and send_document, but the descriptions clarify that counterparties are trading partners of a box and that signing is for received documents while send transmits to a counterparty.
The set follows a predictable snake_case verb_noun pattern: list_*, get_*, sign_document, send_document. The only deviation is the bare verb 'authenticate' with no noun, which is a minor inconsistency rather than a structural one.
Eight tools is a reasonable, well-scoped surface for a document-exchange API, and each tool maps to a real workflow step. It sits slightly on the thin side given the breadth of Diadoc (messages, events, document content retrieval are absent), but nothing is redundant.
Core flows (auth, org/counterparty lookup, list/get documents, sign, send) are covered, but notable operations are missing: retrieving a document's actual content/file (print/download), listing messages/events, and rejecting or deleting documents. These gaps will force agents to dead-end on common lifecycle tasks like inspecting document bodies or tracking new incoming documents.