Skip to main content
Glama

PaidMCP — UK & Global 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
codeYes
jurisdictionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior2/5

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

The annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered. Beyond that, the description contributes only the per-call price and the word 'Deterministic'; it does not say what happens on an unknown or malformed code, whether rates are cached/dated, or which tariff year/revision is returned, which matters for a lookup whose whole value is accuracy. (The 'Global Online Tariff / USITC HTS lookup' framing is arguably in tension with openWorldHint=false, though 'Deterministic' mitigates it enough that this is not a clear contradiction.)

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 dense sentence, front-loaded with the cost/billing tag and then the resources and outputs; nothing is redundant. It is packed with jargon (MFN, Section 301/232) that an agent may need to resolve, but for a tariff tool that density is efficient rather than wasteful.

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 no output schema, the description correctly takes on the burden of naming what is returned (duty, VAT, preferential rates, remedies), and the annotations cover the safety profile. The remaining gap is operational: no statement of rate vintage, error behavior, or the exact code format the 6-13 character pattern allows.

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 0%, so the description must carry parameter meaning, and it only partly does: 'UK Global Online Tariff' and 'USITC HTS' imply that jurisdiction selects the source (GB vs US), and '10-digit commodity' gestures at the code format. However, the schema pattern permits 6-13 characters including dots, which the '10-digit' phrasing does not explain, and neither parameter is named or tied explicitly to its source.

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 precise resources ('UK Global Online Tariff (10-digit commodity)' and 'USITC HTS'), and enumerates the returned data (MFN duty, VAT, preferential rates, Section 301/232 remedies). It is unambiguous what the tool does, but it never contrasts itself with the closely related sibling freight_landed_cost, which is the main differentiation an agent needs.

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

Usage Guidelines3/5

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

Usage is only implied: the jurisdiction-plus-code shape suggests 'use this to get raw duty rates for a GB or US commodity code.' There is no explicit when-to-use, when-not, or statement of which sibling to pick for a landed-cost calculation versus a bare rate lookup, which is a real decision point given freight_landed_cost exists.

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.