Skip to main content
Glama

TradeCheck MCP — UK & Global Trade Compliance Engine

tariff_lookup_batch

Read-onlyIdempotent

[tariff | $0.75/call] Bulk deterministic UK Global Online Tariff and USITC HTS lookup for up to 25 commodity codes in one call ($0.75 flat = $0.03/code at max batch; Stripe MPP and x402 native).

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": {
      "items": "<items>"
    },
    "name": "tariff_lookup_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesOrdered list of 1 to 25 UK/US tariff lookup requests to evaluate in a single batch call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false and idempotentHint=true, so the safety profile is covered. The description adds 'deterministic' (consistent with the idempotency hint) and per-call pricing, but says nothing about behavior on invalid codes, partial-batch failures, rate limits, or billing on error — meaningful gaps for a paid batch tool.

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 front-loaded sentence with the resource and price in a bracketed lead. The repeated pricing detail ('$0.75/call' then '$0.75 flat = $0.03/code') and payment-rail mention are somewhat redundant, but the content is defensible for a paid tool and nothing is buried.

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 simple read-only lookup with full schema documentation and clear annotations, the description covers what it does, its batch limit and its cost. The remaining gaps are operational semantics — error/partial-failure behavior and whether invalid codes abort the whole batch — which are not strictly required 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 coverage is 100% and the schema already documents the items array, bounds (1–25), jurisdiction enum and code pattern. The description's contribution is limited to restating the 25-item cap and naming which tariff source the GB/US values map to, which is marginal added meaning.

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 and resource ('Bulk deterministic ... lookup') plus the concrete scope ('up to 25 commodity codes in one call'), and names the two underlying data sources (UK Global Online Tariff, USITC HTS). It implicitly contrasts with the singular sibling tariff_lookup via 'Bulk'/'batch' but never names the alternative, so differentiation is inferential rather than explicit.

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?

The 'up to 25 ... in one call' phrasing implies this tool is for multi-code lookups, which nudges an agent toward it for batches, but there is no explicit when-to-use/when-not guidance and no mention of when to prefer the single-code tariff_lookup sibling. Usage is only implied.

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.