Skip to main content
Glama
1c-odata-mcp

1c-odata-mcp

by foxnaim

Хронология документа (аудит)

read.audit.get_document_history
Read-only

Returns a 1C document's accounting date and only a derived Ref_Key creation timestamp from standard OData, explicitly noting actual execution and last-change times are unavailable.

Instructions

Что можно доказуемо сказать о времени документа по данным стандартного OData. Возвращает раздельно: documentDate (Document.Date — учётная дата, не время действия) и refCreatedAt (метка генерации Ref_Key, выведенная из UUIDv1; confidence=derived — НЕ проверенное время создания/выполнения/проведения). Фактическое время выполнения и последнего изменения через стандартный OData недоступны и не возвращаются. Также: ответственный (реквизит документа, не автор), DataVersion как есть (не интерпретируется), наличие движений в регистре Хозрасчетный (только факт наличия), evidence и limitations. Только чтение. documentEntity — Document_* из list_entities, documentRef — Ref_Key.

Input Schema

NameRequiredDescriptionDefault
databaseNoИмя базы 1С из list_databases. Без указания — база по умолчанию.
documentRefYesRef_Key документа (GUID)
documentEntityYesИмя документа, напр. Document_РегламентнаяОперация

Output Schema

NameRequiredDescriptionDefault
scanYes
databaseYes
documentYes
evidenceYes
timestampsYes
limitationsYes
responsibleNo
accountingMovementsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.0

TDQS

A4.2/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the readOnlyHint/openWorldHint annotations, it discloses the most important behavioral traits: refCreatedAt is confidence=derived (UUIDv1-based, NOT verified creation/posting time), actual execution and modification times are unavailable, DataVersion is returned uninterpreted, and register movements are presence-only. This is exactly the caveat surface an agent needs to avoid over-claiming.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core constraint ('what can be provably said about time') is front-loaded, and every clause carries real caveat value. It is dense and clause-heavy with semicolons and parentheticals, which hurts scannability slightly, but nothing is truly redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool whose whole point is auditable honesty about data provenance, the description fully covers the returned fields, their confidence caveats, and the explicit limitations. An output schema exists so return values need not be explained, yet the description frames them usefully, leaving no gap an agent must bridge.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the description largely restates what the schema already documents (documentEntity = Document_*, documentRef = Ref_Key GUID). The only marginal addition is pointing to list_entities for the entity name, so baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource: it returns what can be provably said about a document's timing (documentDate and derived refCreatedAt), and it is emphatic about what it will NOT return (actual execution/last-modification time). This is a concrete, well-differentiated purpose that an agent can distinguish from get_document or search_documents.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives useful context on obtaining the parameters (documentEntity from list_entities, documentRef as Ref_Key) and frames the scope as 'provably sayable via standard OData', which implies when the tool is appropriate. However, it never explicitly states when to choose this over sibling read tools like get_document, nor does it state any exclusion condition.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools