Skip to main content
Glama

TradeFacts

Look up a Mexican TIGIE tariff line

lookup_mexico_tariff
Read-onlyIdempotent

Mexico TIGIE record for a fracción arancelaria (e.g. "0101.21.01" or "01012101"): import duty (IGI), export duty and unit. Source: SNICE, 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_mexico_tariff"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesMexican fracción arancelaria, with or without dots, e.g. "0101.21.01" or "01012101".

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: +"Mexican fracción arancelaria, with or without dots, e.g. \"0101.21.01\" or \"01012101\"."
  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 establish readOnly, idempotent, non-destructive and closed-world, so the bar is lower; the description still adds value by disclosing the data source (SNICE) and refresh cadence (nightly), which matters for staleness decisions. It does not say what happens when a code is unknown or invalid.

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 compact lines, front-loaded with the resource and examples, then the returned fields, then provenance. Every clause earns its place with no filler.

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?

With an output schema present and full parameter coverage, the description only needs to frame scope and freshness, which it does. It could be complete with one note on not-found/invalid-code behavior given callers depend on exact-match codes.

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 already documents the code parameter including the dotted/undotted formats, which the description merely repeats. Baseline 3 is appropriate since the schema carries the semantic load.

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 (look up) and resource (Mexico TIGIE record for a fracción arancelaria), and enumerates the returned fields: IGI import duty, export duty, unit. It implies exact-code lookup versus the sibling search_mexico_tariff, but never names the sibling to make the contrast explicit.

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: the presence of a single required code parameter and an example format suggests 'use this when you already have the fracción arancelaria.' There is no explicit when-to-use/when-not guidance and no pointer to search_mexico_tariff for partial or name-based queries.

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