Skip to main content
Glama
ua-legislation-mcp
by Rmonakov

Перевірка актуальності редакцій

check_act_editions
Read-onlyIdempotent

Compare each act's cited edition with the current database edition to detect status changes and upcoming amendments. Use it to re-verify earlier analyses or drafts through their source registries.

Instructions

Для переліку актів порівнює редакцію, на яку спирається документ, з поточною редакцією в базі; показує зміну статусу і майбутні редакції. Використовуй для повторної перевірки раніше підготовлених аналізів і проєктів (за їхнім реєстром джерел). До 8 актів за виклик.

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": {
      "acts": "<acts>"
    },
    "name": "check_act_editions"
  }
}

Input Schema

NameRequiredDescriptionDefault
actsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuine context beyond that — it discloses the comparison basis and that results include status change and future editions — but says nothing about per-act failure handling for unknown or missing nregs, freshness of the 'current edition', or rate behavior other than the call cap (which is already in the schema as maxItems).

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

Conciseness5/5

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

Three short sentences, with the core comparison behavior front-loaded, followed by the usage scenario and then the batch cap. No filler or repetition.

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

Completeness4/5

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

With no output schema, the description usefully sketches what comes back (status change and future editions) and bounds the input size. It is nearly complete for a simple read-only comparison call, with only result shape and missing-act handling left unspecified.

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?

Although the reported top-level schema coverage is 0%, the nested properties do carry descriptions ('Код документа nreg' and 'Редакція, на яку спирався документ (РРРРММДД або ДД.ММ.РРРР)'), so the schema itself explains both fields and their date formats. The description adds nothing per-parameter — its 'up to 8 acts per call' restates maxItems: 8 from the schema.

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: for a list of acts it compares the edition the document relied on against the current edition in the database, and reports status change plus future editions. That comparison semantics cleanly separates it from siblings like get_act_card or get_act_text, which retrieve rather than diff.

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

Usage Guidelines4/5

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

It gives explicit context for use: re-checking previously prepared analyses and projects via their source registry of acts. It does not state when not to use it or name an alternative tool for the initial, non-recheck lookup, so the routing is clear but not exclusionary.

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