Skip to main content
Glama

Merit — Ukrainian Law & Registers

Get Several Legal Provisions' Text

ua_law__get_units_fulltext
Read-onlyIdempotent

Several units' text in one call: a norm and what it relies on.

units answers each URN in order as get_unit_fulltext would, sharing one max_chars: a unit that does not fit is truncated with a next_cursor, and units past the budget come back with no text. A URN matching nothing is its own 'not_found' entry.

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": {
      "urns": "<urns>"
    },
    "name": "ua_law__get_units_fulltext"
  }
}

Input Schema

NameRequiredDescriptionDefault
urnsYesUnit URNs, answered in this order.
max_charsNoPage size; 0: `parts` only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare this a read-only, idempotent, non-destructive operation, so the bar is low, and the description still adds substantial behavior: a single `max_chars` budget shared across all units, ordered answering, truncation signaled by `truncated` plus a `next_cursor`, over-budget units returning no text, and per-URN 'not_found' entries that do not fail the whole call. That partial-success semantics is exactly what an agent needs and is unavailable anywhere else.

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?

Four short sentences, front-loaded with the batch purpose followed by the budget/truncation contract. Minor friction from the elliptical opening fragment and reliance on backticked identifiers, but nothing is redundant.

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 and only two parameters, the description carries the burden of explaining the return contract, and it does so for the edge cases (truncated, next_cursor, empty text past budget, not_found). What a normal successful entry contains beyond text is only implied, which is the one gap.

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

Parameters4/5

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

Schema coverage is 100%, so the per-parameter meanings are already documented. The description still adds non-obvious semantics by stating that `max_chars` is one shared budget across all `urns` rather than a per-unit limit, which changes how an agent should size requests. It leaves 'parts' (mentioned only in the schema) unexplained, so it is not fully additive.

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 opens with a specific verb and resource: fetch several units' fulltext in one call, framed by the concrete use case 'a norm and what it relies on.' It explicitly positions itself against the singular sibling by saying each URN is answered 'as `get_unit_fulltext` would,' so an agent can distinguish batch from single-unit retrieval without opening a schema.

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?

The use case ('a norm and what it relies on') tells an agent when batching pays off, and the reference to `get_unit_fulltext` implies the single-URN alternative. It stops short of an explicit rule such as preferring this over repeated singular calls past a certain count, and names no when-not-to-use condition.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.