Skip to main content
Glama

TradeFacts

Search the Canadian Customs Tariff

search_canada_tariff
Read-onlyIdempotent

Find Canadian tariff items by product description (every word must appear). limit: 1-25 (default 10).

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": {
      "query": "<query>"
    },
    "name": "search_canada_tariff"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many results to return, 1 to 25.
queryYesWords describing the product, e.g. "copper wire". Every word must appear in the tariff line text.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / limit / description
      Added value: +"How many results to return, 1 to 25."
    • addedInput schema / properties / limit / maximum
      Added value: +25
    • addedInput schema / properties / limit / minimum
      Added value: +1
    • addedInput schema / properties / query / description
      Added value: +"Words describing the product, e.g. \"copper wire\". Every word must appear in the tariff line text."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so safety is covered. The description adds real value beyond that with the conjunctive matching rule ('every word must appear'), telling the agent this is not fuzzy or OR-based retrieval. Result ordering and ranking remain undisclosed, which keeps it short of a 5.

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?

Two short sentences, front-loaded with the primary matching behavior, and no filler. The limit constraint is compressed into a single clause rather than repeated verbosely.

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 two-parameter read-only search with an output schema, the definition covers what an agent needs to construct a correct call. The remaining gap is guidance on choosing this tool over its lookup sibling and what happens on empty results, both minor for this complexity.

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's own query description already states 'Every word must appear in the tariff line text' and the 1-25 limit range, so the description largely restates structured data. Baseline 3 applies when the schema does the heavy lifting.

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?

Names a specific verb and resource ('Find Canadian tariff items') and states the matching rule. The word 'search' versus the sibling 'lookup_canada_tariff' implies a distinction, but the definition never states it explicitly, so an agent must infer the split.

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: search by product description when you have words rather than a code. There is no explicit statement of when to prefer lookup_canada_tariff or one of the other country search tools, and no note on what to do when zero results match.

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