Skip to main content
Glama

Uktariff Commodity

uktariff_commodity
Read-onlyIdempotent

Full UK tariff detail for one 10-digit commodity code: the third-country (MFN) duty rate, every preferential rate by country or trading bloc, VAT and excise measures, quota-linked rates, and the import/export licensing and document conditions attached to the code. AUTHORITATIVE, sourced from HMRC's UK Integrated Online Tariff. Use for "what duty do I pay importing X into the UK", "is there a preferential rate from country Y", "what VAT applies". Example: uktariff_commodity({ code: "0901210000" })

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes10-digit UK commodity code, with or without spaces, e.g. "0901210000"
originNoOptional 2-letter country code or area id to filter measures to one origin, e.g. "NZ", "US", "1011" (erga omnes)
max_measuresNoMaximum measures to return (default 60, max 200)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint false. The description adds useful context beyond annotations by disclosing the authoritative HMRC source and the breadth of returned measures, though it does not discuss rate limits or pagination behavior.

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 definition is front-loaded with what the tool returns and includes a concrete example. It is somewhat long and contains mild promotional emphasis such as 'AUTHORITATIVE', but every core sentence carries useful information.

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 read-only tariff lookup with 100% schema coverage and no output schema, the description is complete: it explains the source, the categories of measures returned, and suitable use cases. An agent has enough information to invoke it correctly.

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%, so the input schema already documents code, origin, and max_measures. The description mentions the 10-digit code but does not add meaning for origin or max_measures beyond what the schema provides, matching the baseline of 3 when the schema does the heavy lifting.

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 resource and scope: full UK tariff detail for one 10-digit commodity code. This distinguishes it from siblings such as uktariff_search and uktariff_heading, which operate at different granularity, without needing to name them explicitly.

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?

Provides clear example use cases such as 'what duty do I pay importing X into the UK' and 'is there a preferential rate from country Y'. However, it does not explicitly name alternative tools or state when not to use this tool.

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.