Skip to main content
Glama

Merit — Ukrainian Law & Registers

Get Legal Indicator on Date

ua_legal_indicators__get
Read-onlyIdempotent

Value of a legal indicator in force on a date, with the act and article that set it.

nbu_discount_rate: NBU облікова ставка, % p.a., since 1992. pm_general, pm_child_under_6, pm_child_6_18, pm_able_bodied, pm_disabled: прожитковий мінімум, from 2005. min_wage_monthly (from 2009-11), min_wage_hourly (from 2010). Statutory figures are curated from the budget laws. found=false with a reason: outside coverage, next year's law not curated yet, or NBU not synced. Exchange rates: ua_nbu_rate; CPI: ua_cpi_inflation.

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": {
      "indicator": "<indicator>"
    },
    "name": "ua_legal_indicators__get"
  }
}

Input Schema

NameRequiredDescriptionDefault
on_dateNoDefault today (Kyiv).
indicatorYesIndicator name, see the tool description.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds substantive context beyond them: per-indicator coverage windows (1992, 2005, 2009-11, 2010), provenance ('curated from the budget laws'), and a structured not-found contract. It stops short of describing the response shape in detail, which keeps it at 4.

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?

Front-loads the meaning of the return value, then a compact catalog of indicators with coverage dates, then failure modes and cross-references. Dense and largely waste-free, though the terse shorthand (pm_general, pm_child_under_6) is unexplained and the prose is close to a glossary dump.

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?

No output schema exists, but the description covers what is returned (value plus the setting act and article), the indicator vocabulary, coverage horizons, and the not-found reason taxonomy. Sufficient for a two-parameter lookup; only the exact return field names remain undocumented.

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 baseline is 3, and the description earns extra credit by supplying the entire closed vocabulary of legal indicator names that the schema only gestures at ('see the tool description'). No enum exists in the schema, so this enumeration is the only place an agent can learn valid values. It adds nothing new about on_date beyond the schema's Kyiv-default note.

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?

States a specific verb and resource ('value of a legal indicator in force on a date') and adds what comes back with it (the act and article that set it). It enumerates the concrete indicator names (nbu_discount_rate, pm_general, min_wage_monthly, etc.) with their coverage start dates, which an agent cannot infer from the name alone.

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

Usage Guidelines5/5

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

Explicitly routes related but distinct needs to alternatives: exchange rates go to ua_nbu_rate and CPI to ua_cpi_inflation. It also explains the found=false outcomes (outside coverage, next year's budget law not curated, NBU not synced), which tells the agent when a miss is expected rather than an error.

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.