Skip to main content
Glama

Kyrodata — Brazil Trade, Crop & Commodity Data

Search the public trade catalog

kyrodata_search
Read-onlyIdempotent

Searches the public Brazilian foreign-trade catalogue and returns document ids for kyrodata_fetch — HS headings (SH4, 4 digits) and partner countries — each with a public URL. query is free text in Portuguese or a code, and both reach the same place: 'soja' and '1201' land on the soybean heading, 'China' on the partner country. This is DISCOVERY: it finds what exists when the caller has words rather than an id. Turning a name already known into an id for filtering another tool is kyrodata_resolve_entity, which returns no document and no URL. Credit class: free (0 credits).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesWhat to look for, in plain words. Returns document ids to pass to kyrodata_fetch.
response_formatNoHow much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultsYesMatching documents, most relevant first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / query / description
      Added value: +"What to look for, in plain words. Returns document ids to pass to kyrodata_fetch."
    • addedInput schema / properties / response_format / description
      Added value: +"How much of the answer to return. `concise` (the default) carries the headline figures; `detailed` adds the row-level series behind them and counts against the export quota."
  2. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, so the safety profile is covered. The description adds meaningful context beyond that: the tool costs 0 credits, returns documents with URLs, and clarifies the semantic quirk that free text and codes converge on the same result. No contradiction with annotations.

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?

The description is denser than the calibration examples but every sentence earns its place: purpose, return value, query semantics with examples, the discovery framing, the sibling distinction, and the credit cost. It is front-loaded with purpose and contains no filler, though it is slightly long.

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 2-parameter tool with an output schema and full annotations, the description is complete. The output schema covers return structure, annotations cover safety, and the description covers purpose, alternatives, query semantics, examples, and credit cost. Nothing an agent needs to call it correctly is missing.

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 baseline is 3. The description adds real value by clarifying that `query` accepts either Portuguese free text or a code and that both reach the same place, with concrete examples ('soja' and '1201' both land on soybean, 'China' on partner country). This goes beyond the schema's terse 'plain words' description.

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 uses a specific verb ('Searches') and resource ('public Brazilian foreign-trade catalogue') and states exactly what it returns: document ids for kyrodata_fetch covering HS headings and partner countries, each with a public URL. It actively distinguishes itself from the sibling kyrodata_resolve_entity by naming it, so an agent can tell them apart without opening schemas.

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?

The description explicitly frames this as DISCOVERY ('when the caller has words rather than an id') and names the alternative tool for the opposite case ('Turning a name already known into an id for filtering another tool is kyrodata_resolve_entity'). This is an explicit when/when-not with the alternative named.

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.

Resources