Skip to main content
Glama

Fromerica U.S. Trade Data

Top export markets for a U.S. product

get_us_export_markets
Read-only

Official U.S. Census Bureau statistics for one product at the HS 4-digit level: total U.S. exports, the top destination countries with year-to-date change, and the states that ship the most.

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": {
      "hs4": "<hs4>"
    },
    "name": "get_us_export_markets"
  }
}

Input Schema

NameRequiredDescriptionDefault
hs4YesHS 4-digit heading, e.g. "1201" (soybeans) or "8471".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already establish readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds useful context beyond that — that data is authoritative Census output and that results are aggregate rankings with year-to-date change — but omits how many 'top' countries or states are returned, whether values are USD, and the publication lag inherent in Census trade statistics.

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

Conciseness5/5

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

A single sentence with the source and grain front-loaded followed by the three returned data points. No filler, no redundancy, and the most decision-relevant information comes first.

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 one required parameter, no output schema, and annotations covering the safety profile, the description carries the burden of explaining returns — and it does so by listing the three result categories. It falls slightly short on ranking size, units, and data recency, which matter for a statistics tool.

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% and the single hs4 parameter is documented with two concrete examples ('1201' soybeans, '8471'). The description only restates the HS 4-digit level requirement, adding no validation rules, format constraints, or handling for unknown codes, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific source and resource (official U.S. Census Bureau statistics) and a precise scope (one product at HS 4-digit level), then enumerates the outputs: total exports, top destination countries with YTD change, and top shipping states. An agent can distinguish this from the state-level sibling, though mentioning 'the states that ship the most' as a returned field creates mild overlap with get_us_exports_by_state that the description does not resolve explicitly.

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 only implied: an agent infers it should call this when it wants export market data for a specific HS4 product. There is no explicit when-to-use statement, no named alternatives among the seven siblings (e.g., find_schedule_b for code lookups, get_us_exports_by_state for state breakdowns), and no prerequisites or exclusions.

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