Skip to main content
Glama

landed_cost

Landed cost estimate: goods + freight + insurance + import duty + VAT. Paid via x402: $0.02 USDC on Base per call. This tool returns the ready-to-call URL; call it with an x402-capable HTTP client (e.g. @x402/fetch).

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": {
      "importer": "<importer>",
      "hs": "<hs>",
      "goods_value": "<goods_value>"
    },
    "name": "landed_cost"
  }
}

Input Schema

NameRequiredDescriptionDefault
hsYes6-digit HS code
originNoOptional origin ISO3
freightNoOptional freight cost
vat_pctNoOptional import VAT/GST rate % (e.g. 7.5)
importerYesImporting country. ISO3 country code, e.g. NGA, GHA, KEN, ARE, BRA, USA, DEU, IND
insuranceNoOptional insurance cost
other_pctNoOptional other ad-valorem levies % on CIF
fixed_feesNoOptional fixed clearing/port fees
goods_valueYesFOB goods value (any currency)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well on the non-obvious parts: cost ($0.02 USDC on Base per call), payment rail (x402), and critically that the tool returns a ready-to-call URL rather than the estimate itself. It does not describe the eventual payload from that URL or error/failure behavior, which is the remaining gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, each doing distinct work: what is computed, what it costs and how it is paid, and how to actually invoke it. Front-loaded with the purpose and free of filler.

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?

For a 9-parameter financial tool with no annotations and no output schema, the definition covers the payment and invocation model well but says nothing about what the paid endpoint returns, whether results are single-shot or cacheable, or any hint on currency handling beyond the schema's note. Adequate to invoke, thin for planning around the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3, but the description adds the aggregation formula (goods + freight + insurance + import duty + VAT), which explains how the individually-described parameters combine into a result. That is genuine meaning beyond the per-field schema text.

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 concrete verb+resource ("Landed cost estimate") and enumerates the cost components it aggregates (goods, freight, insurance, import duty, VAT), so the agent knows exactly what is computed. It does not explicitly differentiate itself from the sibling 'duty' or 'duty_compare' tools, which keeps it short of a 5.

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?

Gives strong invocation guidance — it is paid, and the caller must use an x402-capable HTTP client against a returned URL. However, it offers no guidance on when to prefer this over siblings like duty or duty_compare, so selection between alternatives is left to inference.

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.

Resources