Skip to main content
Glama

Applied import tariffs from the World Bank WITS / UNCTAD

logistics_world_customs_tariff_wits
Read-only

Applied import tariffs from the World Bank WITS / UNCTAD TRAINS database for one importing country and one HS 6-digit product: yearly simple-average rate (%), tariff type (MFN or preferential), min and max line rates and number of tariff lines, from WITS's public SDMX API. Partner defaults to the world (MFN). Non-tariff measures are not included. Related tools on this server, for a different need: gov_world_bank_procurement when you need World Bank funded projects by country from the World Bank; logistics_japan_customs_tariff when you need Japan Customs import tariff lines for an HS heading. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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": {
      "reporter": "<reporter>",
      "product": "<product>"
    },
    "name": "logistics_world_customs_tariff_wits"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearsNoMost recent years to return, 1 to 15 (default 5)
partnerNoExporting partner, ISO alpha-3 or numeric (default 000 = world)
productYesHS 6-digit product code, e.g. 870323 (required)
reporterYesImporting country, ISO alpha-3 (e.g. TUR, USA) or WITS numeric code (e.g. 792) (required)

Output Schema

NameRequiredDescriptionDefault
countNo
sourceNo
partnerNo
productNo
tariffsNo
reporterNo
checkedAtNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare read-only and open-world, so safety is covered; the description goes further with the underlying data source, the MFN interpretation of the default partner, and a cost model ($0.002 per successful call via x402, failures not charged). What is missing is freshness/update cadence and any pagination or response-shape caveats, which would matter for a public SDMX API.

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 the core capability and immediately followed by sibling routing and exclusions; the pricing sentence is long but delivers decision-relevant information an agent may need before calling. No filler or restatement of the name/title.

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?

An output schema exists, yet the description still names the returned fields, and it covers source, scope limits, defaults, and cost. For a two-required-parameter lookup tool, an agent has everything needed to call it correctly and interpret limits.

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 coverage is 100%, so all four parameters are already documented. The description adds only the interpretive point that the default partner of 'world' corresponds to MFN rates, which is genuinely useful but is the only semantic addition beyond 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?

States a specific verb and resource — applied import tariffs from WITS/UNCTAD TRAINS for exactly one importing country and one HS 6-digit product — and enumerates the returned metrics (simple-average rate, tariff type, min/max line rates, line count). It explicitly disambiguates from two siblings by naming the different need each serves.

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?

Gives explicit routing: use gov_world_bank_procurement for World Bank funded projects, logistics_japan_customs_tariff for Japan Customs lines by HS heading. It also states a scope exclusion (non-tariff measures are not included) and the default partner behavior, so the agent knows both when to call this and what it will not answer.

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