Skip to main content
Glama

TradeCheck MCP — UK & Global Trade Compliance Engine

freight_landed_cost_batch

Read-onlyIdempotent

[tariff | $1.00/call] Bulk deterministic UK/US landed cost calculator for up to 20 shipments in one call ($1.00 flat = $0.05/shipment at max batch; Stripe MPP and x402 native) with per-row error isolation.

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": "freight_landed_cost_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesOrdered list of 1 to 20 shipment landed-cost calculations to run with per-row error isolation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavior beyond that: deterministic calculation, per-row error isolation (one bad row doesn't sink the batch), and a concrete billing/payment model (Stripe MPP, x402). It still doesn't describe the shape of results or what an isolated row error looks like.

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 dense sentence with the most decision-relevant facts (batch size, price, determinism, error isolation) front-loaded ahead of payment-rail detail. The pricing and Stripe/x402 clause is arguably secondary but still earns its place for cost-aware tool selection.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, so the description should hint at the return structure; 'per-row error isolation' gestures at it but doesn't say whether results are ordered, indexed, or per-row status-tagged. Inputs are fully documented by the schema, so the gap is confined to result expectations for a batch tool.

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 the single 'items' parameter carries per-field descriptions, enums, patterns, and bounds, so the schema does the heavy lifting. The description only restates the 20-row cap that maxItems already encodes, adding no new semantic detail about the payload.

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+resource (bulk landed cost calculator), the domain (UK/US), and a hard scope limit (up to 20 shipments in one call). This implicitly separates it from the single-shipment freight_landed_cost sibling via 'bulk'/'batch', though it never names that sibling 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?

Makes the when-to-use condition implicit but clear: multiple shipments batched into one call, with cost math ($1.00 flat = $0.05/shipment at max batch) explaining why batching is preferred. No explicit exclusion or named alternative for single-shipment cases, so it stops short of a 5.

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.