Skip to main content
Glama

UK Global Tariff commodity lookup by 10-digit commodity

logistics_uk_trade_tariff
Read-only

UK Global Tariff commodity lookup by 10-digit commodity code from the official UK Trade Tariff API: description, chapter, validity dates, declarable flag and basic duty rate (null when the API leaves it empty). Full duty measures per trading partner are not expanded. 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": {
      "code": "<code>"
    },
    "name": "logistics_uk_trade_tariff"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes10-digit UK commodity code, e.g. 0901110000 (must be an existing leaf code)

Output Schema

NameRequiredDescriptionDefault
codeNo
sourceNo
chapterNo
validToNo
checkedAtNo
validFromNo
declarableNo
descriptionNo
basicDutyRateNo
descriptionPlainNo
bindingRulingGuidanceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations the description discloses the cost model ($0.002 per successful call), the payment rail required (x402, USDC on Base, Solana and other networks), and failure billing semantics (failed calls are not charged) — real preconditions an agent must satisfy before calling. It also flags two output quirks: duty rate can be null when the API leaves it empty, and partner duty measures are excluded.

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?

Purpose is front-loaded in the opening clause and the whole definition is two dense sentences with no filler. The network enumeration ('Base, Solana and 10 more networks') is slightly verbose, though it is useful for payment setup rather than padding.

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 an output schema, a single fully-described parameter and safety annotations already supplied, the description covers the remaining agent-critical gaps: cost, payment precondition, failure billing and null-value behavior. It omits rate limits and does not name fallback tools for non-UK jurisdictions, which keeps it just under a 5.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Only one parameter exists and the schema already documents it completely (100% coverage, including the format example 0901110000 and the 'must be an existing leaf code' constraint). The description does not need to restate this, and adds the relevant semantic note that the returned duty rate may be null.

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 verb (lookup), a specific resource (UK Global Tariff commodity), a precise key (10-digit commodity code) and the backing source (official UK Trade Tariff API), which cleanly separates it from the Japan, China and WITS tariff siblings. It stops short of explicitly contrasting itself with a named alternative such as EU TARIC, so it lands at 4 rather than 5.

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

Usage Guidelines4/5

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

Usage context is clear (query an existing 10-digit UK leaf code) and one scope exclusion is stated outright: 'Full duty measures per trading partner are not expanded', which tells the agent to go elsewhere when partner-level duty measures are needed. It never names the alternative tool, so the routing guidance is implicit rather than explicit.

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