Skip to main content
Glama
AiAgentKarl

supply-chain-mcp-server

get_country_trade_stats

Retrieve trade statistics for any country: exports, imports, trade balance, and trade as a share of GDP, using World Bank data.

Instructions

Gibt allgemeine Handelsstatistiken für ein Land über die World Bank API.

Args: country: Ländername (z.B. "deutschland", "usa", "china", "indien") year: Datenjahr

Returns: Exporte, Importe, Handelsbilanz, BIP-Anteil des Handels

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countryYes
yearNo
Behavior3/5

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

The description discloses the data source (World Bank API) and the output fields, which is helpful. However, it does not mention error handling, data freshness, or that the operation is read-only (no annotations provided). The description partially compensates for missing annotations but lacks depth.

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 concise, with an 'Args:' section clearly listing parameters and descriptions. However, being in German may reduce usability for an English-speaking AI agent. Every sentence adds value, but the language choice is a minor drawback.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the simple tool (2 parameters, no output schema), the description covers the main purpose and return fields. However, it lacks details on output format, units, error scenarios, and data availability constraints, making it adequate but not thorough.

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 0%, but the description adds examples for 'country' (e.g., 'deutschland') and notes 'year' is the data year. This provides some semantic value, but does not specify allowed formats, list valid countries, or indicate that the year has a default of 2022.

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 clearly states that the tool retrieves general trade statistics for a country via the World Bank API, specifying the return fields (exports, imports, trade balance, trade-to-GDP ratio). It distinguishes from siblings like 'get_top_trade_partners' by focusing on overall stats, but does not explicitly contrast them.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool vs. alternatives (e.g., 'get_trade_flow' for specific flows). There are no conditions, exclusions, or recommendations, leaving the AI to infer usage context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AiAgentKarl/supply-chain-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server