Skip to main content
Glama

Ua Spend Payments

ua_spend_payments
Read-onlyIdempotent

Ukrainian public-money payments from the State Treasury (spending.gov.ua, keyless): every treasury payment made BY a payer EDRPOU and/or TO a recipient EDRPOU in a date window of up to 92 days. Each row has transaction date, amount (UAH), payer name + EDRPOU, recipient name + EDRPOU, payment purpose text (Ukrainian), budget code, KEKV economic code, and the contract number when the Treasury recorded one. Returns totals and top counterparties across the whole window plus the newest limit rows. Use for: who a city council or ministry paid, which public bodies paid a supplier, and what for. Payments to private individuals arrive with the code masked by the Treasury. For payer->recipient pairs use ua_spend_between; to line payments up with ProZorro tenders use ua_spend_prozorro_link.

Input Schema

NameRequiredDescriptionDefault
limitNoRows to return, newest first (1-500). Default 50. Totals always cover every row in the window.
date_toNoWindow end, YYYY-MM-DD. Default: today.
date_fromNoWindow start, YYYY-MM-DD. Default: 30 days before date_to. Window may not exceed 92 days.
payer_edrpouNoPayer (spending body) EDRPOU code (8-digit Ukrainian legal-entity id; public bodies often 8 digits with leading zeros, e.g. "26510514" for Dnipro City Council). Several may be comma-separated.
purpose_containsNoOptional case-insensitive substring filter on the payment purpose text (Ukrainian, e.g. "харчування", "ремонт").
recipient_edrpouNoRecipient (payee) EDRPOU code (8-digit Ukrainian legal-entity id; public bodies often 8 digits with leading zeros, e.g. "26510514" for Dnipro City Council). Several may be comma-separated.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations cover the safety profile (readOnly, idempotent, openWorld, non-destructive), and the description adds substantial context beyond them: keyless auth, a hard 92-day window cap, and the important caveat that payments to private individuals arrive with the code masked by the Treasury. It also states what aggregation is returned (totals and top counterparties across the whole window, not just the returned rows), which prevents misreading the result.

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-loaded with source, scope and window before the field enumeration, and the sibling routing is placed last where it belongs. The row-field list is somewhat dense, but with no output schema it earns its place by explaining the return shape.

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?

No output schema exists, yet the description fully describes the return: per-row fields, totals and top counterparties, and the newest `limit` rows. Combined with annotations and a fully documented schema, an agent has everything needed to call it correctly.

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%, so the schema already documents all six parameters with examples (e.g. EDRPOU codes, comma-separation, defaults). The description adds only the 92-day window constraint, which the schema's date_from description already states, 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?

States a specific verb+resource+source: treasury payments from spending.gov.ua, made by and/or to an EDRPOU within a date window. It enumerates the row shape (date, amount, payer, recipient, purpose, budget code, KEKV, contract) and names the sibling tools it is not (ua_spend_between, ua_spend_prozorro_link), so an agent can distinguish it without opening any schema.

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?

Provides an explicit 'Use for:' list of concrete scenarios (who a city council or ministry paid, which public bodies paid a supplier, and what for) plus two named alternatives with the condition that selects each. No inference required.

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.