Skip to main content
Glama

Buscar fracciones en la TIGIE

buscar_fraccion
Read-only

Busca fracciones vigentes por código (4 a 10 dígitos) o por texto, con descripción oficial, UMC, IGI y NICOs. No usa IA ni cobra. No sustituye a clasificar_producto: sirve para consultar o verificar un código.

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": {
      "q": "<q>"
    },
    "name": "buscar_fraccion"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesCódigo o texto.
limiteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and the description is consistent with a pure lookup. It adds genuinely useful behavioral context beyond the annotations: no AI is invoked and no charge is incurred, and the response contents are enumerated. It does not address result limits, pagination, or whether retired/non-vigente codes are excluded (it says 'vigentes' but not what happens to historical 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?

Roughly three short sentences, front-loaded with the core action and result fields, then the cost/behavior caveat, then the sibling disambiguation. Every sentence carries information; only the 'No usa IA ni cobra' line is arguably tangential to tool selection.

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 lookup with no output schema, the description covers action, input formats, returned fields, and sibling differentiation, which is close to sufficient. The one gap is the undocumented 'limite' parameter and any note on how partial/ambiguous text matches behave.

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 50%; the description enriches q by specifying the accepted code format (4 to 10 digits) versus free text, which is real added meaning. The 'limite' parameter receives no explanation anywhere in the description, leaving its effect (result count cap, max 30) to be inferred from the schema alone.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (busca fracciones vigentes de la TIGIE) and enumerates the fields returned (descripción oficial, UMC, IGI, NICOs), which tells an agent exactly what it gets. It also explicitly distinguishes itself from the sibling clasificar_producto, so it is identifiable without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'No sustituye a clasificar_producto: sirve para consultar o verificar un código' names the alternative and states this tool's role, implying that classification requests should go elsewhere. It stops short of an explicit when-not rule (e.g. ambiguous text that really needs classification), so it is clear context rather than a full routing spec.

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