Skip to main content
Glama

Get UK commodity customs duties

get_uk_commodity_duties
Read-onlyIdempotent

Retrieve 10-digit UK commodity code details, including duty rates, import/export measures, VAT/excise flags, and geographical applicability for customs and trade analysis.

Instructions

Retrieve a 10-digit UK commodity code with basic duty rate, import/export measures, VAT/excise flags, and geographical area applicability.

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": {
      "commodity_code": "<commodity_code>"
    },
    "name": "get_uk_commodity_duties"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum tariff measures to return (default 15, max 40).
commodity_codeYes10-digit UK commodity code (e.g. "8542319000").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world behavior, so the safety profile is covered. The description adds value by enumerating what data comes back (duty rate, measures, VAT/excise flags, geo applicability), but says nothing about what happens when a code has no measures, how the limit affects results, or any rate/latency characteristics of this external lookup.

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?

A single well-formed sentence with the verb and resource front-loaded and no filler. The trailing field list is dense but each item conveys a distinct part of the response.

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?

For a two-parameter read-only lookup with no output schema, the description usefully enumerates the returned fields, which compensates for the absent return schema. The remaining gap is differentiation from the heading/section siblings, which an agent must otherwise guess.

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% with both parameters documented, including the limit default and maximum, so the schema carries the parameter burden. The description only echoes the 10-digit code format already present in the schema and adds no semantics for the limit parameter.

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?

States a specific verb ('Retrieve') and resource ('10-digit UK commodity code') and enumerates the payload (duty rate, import/export measures, VAT/excise flags, geographical applicability). It is clearly distinguishable from a tariff-heading or chapter lookup by the 10-digit code scope, though it never names the sibling tools explicitly.

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?

The description gives no when-to-use statement, no prerequisite (e.g. that a full 10-digit code is needed rather than a heading), and no routing guidance versus get_uk_tariff_heading or search_uk_trade_tariff. Usage is only inferable from the required parameter in the schema.

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