Skip to main content
Glama

Consultar código NCM

consultar_ncm
Read-only

Devolve a descrição oficial de um código NCM (Nomenclatura Comum do Mercosul, 8 dígitos) da tabela vigente e o link da página com produtos de exemplo. (EN: official description of a Mercosur NCM tax code, 8 digits, with a link to example products.)

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": {
      "codigo": "<codigo>"
    },
    "name": "consultar_ncm"
  }
}

Input Schema

NameRequiredDescriptionDefault
codigoYesNCM com 8 dígitos, com ou sem pontos (ex.: 1006.30.21)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare this a read-only lookup against a closed dataset, so the safety profile needs no restating. The description adds real value beyond them by disclosing the return payload (official description plus an example-products link) and noting that the data comes from the currently valid table — a freshness trait annotations cannot convey.

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?

A single front-loaded sentence that leads with what is returned, with the English rendering appended for disambiguation. The bilingual duplication costs some length but nothing is padded or vague.

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 one-parameter lookup with no output schema, the description covers the essential ground: input domain, data source, and return contents. It stops short of stating behavior for unknown or invalid codes, which is the main remaining gap.

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% and the schema already states 8 digits with or without dots and gives an example. The description only repeats '8 dígitos' without adding format, normalization, or validation detail, so the baseline 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 states a specific verb and resource: it returns the official description of an 8-digit NCM code from the current table, plus a link to example products. That clearly separates it from a product search or barcode lookup, though it never names the siblings explicitly.

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 agent must already hold a full 8-digit NCM code to call it, which incidentally distinguishes it from a search tool. There is no explicit when-to-use, no statement about what to do with a partial code, and no mention of the alternative siblings.

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