Skip to main content
Glama

TradeCheck MCP — UK & Global Trade Compliance Engine

tariff_lookup

Read-onlyIdempotent

[tariff | $0.03/call] Deterministic UK Global Online Tariff (10-digit commodity) and USITC HTS lookup returning MFN duty, VAT, preferential rates, and Section 301/232 remedies.

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": {
      "jurisdiction": "<jurisdiction>",
      "code": "<code>"
    },
    "name": "tariff_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes6- to 10-digit Harmonized System / commodity code (dots optional, e.g. '3209100000' for GB or '8517.13.00.00' for US).
jurisdictionYesCustoms tariff jurisdiction: 'GB' for UK Global Online Tariff or 'US' for USITC HTS.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so safety is covered. The description adds genuinely new context: per-call cost ($0.03/call), that results are deterministic, and, importantly, the payload a caller can expect (MFN duty, VAT, preferential rates, 301/232 remedies) since no output schema exists. It stops short of describing failure behavior for non-tariff codes or coverage gaps.

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?

One sentence with a bracketed pricing tag up front and the resource and return values front-loaded; nothing is wasted. It is dense but readable, and the only weakness is that the pricing tag competes with the purpose for the opening position.

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 covers inputs indirectly and return contents explicitly, which is the main thing an agent cannot get from structured fields. It leaves out bulk alternatives and edge-case behavior (invalid or non-tariff codes), so it is strong but not exhaustive.

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% and both parameters carry patterns/enums with examples, so the schema does the heavy lifting. The description only restates that GB maps to the UK Global Online Tariff and US to USITC HTS, which the enum descriptions already convey. Notably it does not clarify why preferential rates can be returned without any origin-country 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?

The description names a specific verb (lookup) and specific resources (UK Global Online Tariff 10-digit commodity codes, USITC HTS) plus the exact data returned (MFN duty, VAT, preferential rates, Section 301/232 remedies). It does not explicitly contrast itself with the sibling tariff_lookup_batch, so the single-vs-bulk distinction is left implicit.

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?

There is no when-to-use or when-not-to-use guidance, no mention of prerequisites, and no pointer to tariff_lookup_batch for multiple codes. The only contextual signal is the $0.03/call price, which hints at preferring the batch tool for volume but never says so.

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.