Skip to main content
Glama
regitra-mcp

regitra-mcp

by lietuva-mcp

regitra_transaction_count

Read-onlyIdempotent

Counts Regitra vehicle transaction documents by type, issue dates, country, currency, payment method, or amount, returning aggregate Markdown results with filters and source details.

Instructions

How many vehicle transaction documents Regitra's register of vehicle owners records (sale contracts, invoices, gifts, inheritances and the other kinds listed under document_type; one per document, kept since 2021-05-01 and updated daily), counted by the open-data API itself, with any of these filters: the kind of document, the days it was issued (both counted in), the country of the transaction, its currency, how it was paid, and its amount. With by "payment_method", also a table of the count for each method in Regitra's words, and a last row with the method — for documents with none or one this server does not know, only when there are any; that is five requests, and can take a minute when the API is slow. The API counts but cannot add amounts up (it has no sum), so no tool totals what documents are worth; amount_min and amount_max count the documents within an amount instead. The data has no make, model or year of the vehicle, and never names a document, a vehicle or a person. The answer is Markdown: a heading, the count and each filter given as Label: value lines, the table where it was asked, and the source on the last line.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "regitra_transaction_count"
  }
}

Input Schema

NameRequiredDescriptionDefault
byNoBreak the count down by payment method; not with a payment_method filter.
countryNoThe country of the transaction, its Lithuanian name, such as "LIETUVA", "VOKIETIJA" or "LENKIJA"; compared in upper case. A name Regitra never writes is a count of 0.
currencyNoThe currency of the amount, in Lithuanian; nearly every document is in "Euras".
issued_toNoThe last day of issue counted, as YYYY-MM-DD.
amount_maxNoThe greatest amount counted, in currency, which it needs.
amount_minNoThe least amount counted, in currency, which it needs.
issued_fromNoThe first day of issue counted, as YYYY-MM-DD.
document_typeNoThe kind of document, as Regitra writes it: a sale is "Pirkimo-pardavimo sutartis" (a contract) or "Sąskaita (mokėjimą patvirtinantis dokumentas)" (an invoice).
payment_methodNoHow it was paid: by bank transfer, in cash, both, or not stated ("Nenurodyta").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the read-only and idempotent annotations, the description discloses data coverage since 2021-05-01, daily updates, the API's inability to sum amounts, the absence of vehicle make/model/year and personal names, and the Markdown response shape. It also warns that by=payment_method costs five requests and can take a minute when the API is slow.

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

Conciseness3/5

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

The description is front-loaded, but it is a single dense sentence with awkward phrasing such as "With by 'payment_method'" and a confusing parenthetical about the final payment-method row. Much of the content earns its place, yet the structure makes it harder to scan than necessary.

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?

For a nine-parameter counting tool with no output schema, the description covers the data scope, filtering behavior, known limitations, latency for the grouped breakdown, and the Markdown return format. An agent has enough information to call it correctly without needing additional return-value documentation.

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 already 100%, so the baseline is 3, but the description usefully adds that issued_from and issued_to are inclusive and that amount_min/amount_max count documents within an amount because no sum is available. It also clarifies the payment-method breakdown behavior, though much of the per-parameter meaning is still carried by 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 opens with a specific verb and resource: it counts vehicle transaction documents in Regitra's register of vehicle owners. That scope is clearly different from a vehicle-count sibling, and it immediately establishes the unit of count (one per document).

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

Usage Guidelines3/5

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

Usage is implied by the document-counting scope and by the explanation that amount_min and amount_max filter documents rather than sum them. However, the description never explicitly says when to use this tool versus regitra_vehicle_count, nor does it state any when-not conditions beyond individual parameter constraints.

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