Skip to main content
Glama

TradeFacts

Look up a Canadian tariff item

lookup_canada_tariff
Read-onlyIdempotent

Canadian Customs Tariff record for a tariff item (e.g. "0101.21.00" or "8541.42.00.00"): MFN rate, unit of measure and every preferential column (UST = CUSMA United States, MXT = CUSMA Mexico, CEUT = CETA, CPTPT = CPTPP, UKT, GPT, LDCT ...). Source: CBSA, nightly.

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

Input Schema

NameRequiredDescriptionDefault
codeYesCanadian tariff item with dots, e.g. "0101.21.00" or "8541.42.00.00".

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / code / description
      Added value: +"Canadian tariff item with dots, e.g. \"0101.21.00\" or \"8541.42.00.00\"."
  2. 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, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful context beyond that: the data source (CBSA) and a nightly refresh cadence, which tells the agent how current the rates are. It stops short of noting failure behavior for unknown or malformed codes.

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?

Effectively two sentences, front-loaded with what the record is and which fields it contains. The dense parenthetical expansion of preferential column codes is long but earns its place by decoding abbreviations the agent would otherwise misread; minor cost is that the sentence is quite packed.

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 single-parameter lookup with a full output schema and safety annotations, the description covers what remains: data provenance, refresh frequency, and the meaning of the abbreviated preferential columns returned. Nothing essential for calling it correctly is missing, though code-format edge cases (invalid or partial codes) are unaddressed.

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% with a single required 'code' parameter, and the schema already supplies the same dotted-format examples. The description's example codes add no syntax information beyond what the schema provides, so baseline 3 applies.

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 ('Canadian Customs Tariff record for a tariff item') and gives concrete code examples, so an agent can tell it returns a single record by item code. It does not explicitly distinguish itself from the sibling search_canada_tariff, so an agent must infer that this is exact-code retrieval rather than keyword search.

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 required-format example implies when this is usable (you have a full tariff item code), but there is no explicit statement of when to use this versus search_canada_tariff, nor any exclusion or prerequisite described. Usage is implied rather than stated.

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