Skip to main content
Glama
mcp-oktmo-reference-check

mcp-oktmo-reference-check

compare_oktmo_reference

Compares up to 100 OKTMO reference entries against two Rosstat releases, returning before-and-after matches, changed fields, and reasons for manual review.

Instructions

Сверить записи собственного справочника с двумя выпусками ОКТМО. Успешный новый запрос учитывается по ключу.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "request": "<request>"
    },
    "name": "compare_oktmo_reference"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYesТело запроса услуги сверки ОКТМО.
idempotency_keyNo

Output Schema

NameRequiredDescriptionDefault
rightsYes
statusYes
resultsYes
limitationsYes
source_afterYes
source_beforeYes
schema_versionYes
billing_verifiedYes
affected_internal_idsYes
authorization_verifiedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=true, so the safety profile is largely covered. The description does add one piece of behavioral context — that a successful new request is registered/counted by key — which hints at request accounting and idempotent replay, but it never says which key or what happens on a duplicate submission.

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?

Two short sentences with no filler, and the core action is front-loaded. The second sentence is compressed to the point of ambiguity rather than being wasteful.

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

Completeness2/5

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

For a tool with a deeply nested request body, 100-item cap, fixed schema/version constants, and a request-accounting side effect, the description is far too thin. An output schema exists so return values needn't be explained, but the mutation-ish accounting behavior and replay rules are left unstated.

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

Parameters2/5

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

Schema description coverage is only 50%; nested entry fields such as internal_id, stored_name, and stored_version carry no descriptions. The description contributes nothing concrete about parameters — 'по ключу' vaguely gestures at idempotency_key without explaining the UUIDv4 replay semantics the schema defines.

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

Purpose4/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: reconcile the entries of the caller's own reference book against two OKTMO releases. An agent can tell this is a comparison operation, though the second sentence ('учитывается по ключу') is cryptic and no sibling differentiation is offered beyond the lone describe_contract.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no statement of prerequisites, and no indication of when this tool should be preferred over describe_contract. The fixed version pair is only discoverable from the schema's const values, not from the description.

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