Skip to main content
Glama

TradeFacts

Search the Mexican TIGIE

search_mexico_tariff
Read-onlyIdempotent

Find Mexican TIGIE tariff lines by description (Spanish; every word must appear). TIGIE lines carry only their own text (the line for pure-bred breeding horses reads "Reproductores de raza pura"), so a search matches that wording, not the heading's product name. The first 6 digits of a fracción are the international HS code shared with the US and Canadian schedules. 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_mexico_tariff"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many results to return, 1 to 25.
queryYesSpanish words from the tariff line text, e.g. "raza pura". Every word must appear.

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: +"Spanish words from the tariff line text, e.g. \"raza pura\". Every word must appear."
  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 cover read-only, idempotent, and closed-world behavior, but the description adds a genuinely important retrieval caveat: TIGIE lines carry only their own text, so a search matches line wording rather than the heading's product name. That is real behavioral disclosure an agent would otherwise get wrong, though result ordering and pagination behavior remain unstated.

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?

Four tight sentences with the core constraint front-loaded and the illustrative example placed where it clarifies. The trailing "limit: 1-25 (default 10)" duplicates the schema and is the one line that does not earn its place.

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

Completeness5/5

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

For a two-parameter search tool with full annotations and an output schema, the description covers what is needed: what is searched, in what language, how matching works, and the data-model quirk that explains surprising results. Return-value details are correctly left to the output schema.

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 both parameters already document Spanish-word matching, the all-words-must-appear rule, and the 1-25 limit with default 10. The description largely restates those facts; the only real addition, the explanation of why matching behaves that way, is arguably behavioral rather than parameter semantics, 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?

The description uses a specific verb and resource: "Find Mexican TIGIE tariff lines by description." It distinguishes itself from lookup-style siblings through the "by description" scoping, but it never names lookup_mexico_tariff or states the contrast explicitly, so the distinction is implied rather than stated.

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?

It gives strong query-formulation guidance: Spanish only, every word must appear, and a concrete example ("raza pura"). However, it never says when not to use it or that a code-based lookup is the alternative for known fracción numbers, so routing guidance is implied at best.

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