Skip to main content
Glama

Consignatarias · Argentine Cattle Market

Validar / decodificar RENSPA

renspa_lookup
Read-onlyIdempotent

Valida y decodifica un código RENSPA (Registro Nacional Sanitario de Productores Agropecuarios): 13 dígitos que, con los puntos, forman el formato de 17 caracteres 00.000.0.00000.00. Devuelve el código normalizado y sus cinco segmentos como códigos (provincia SENASA, departamento, jurisdicción de oficina local, establecimiento y productor en el predio), o el motivo si la estructura no cierra. Valida la ESTRUCTURA, no que el RENSPA exista ni que esté vigente: la base de SENASA está tras clave fiscal ARCA, y la respuesta trae el link a la consulta pública oficial. Para qué se exige al mover hacienda usá livestock_movement_rules; para el DT-e, dte_lookup. [EN] Validate and decode an Argentine RENSPA farm registration number.

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": {
      "renspa": "<renspa>"
    },
    "name": "renspa_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
renspaYesCódigo RENSPA, con o sin puntos (ej. 01.234.5.67890.12): se toman sólo los dígitos y tienen que ser 13.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / renspa / description
      Previous value: -"Código RENSPA, con o sin puntos (ej. 01.234.5.67890.12)"New value: +"Código RENSPA, con o sin puntos (ej. 01.234.5.67890.12): se toman sólo los dígitos y tienen que ser 13."
  2. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false), and the description adds real context beyond them: it clarifies that only structure is checked, that the authoritative SENASA database sits behind an ARCA fiscal key, and that the response includes a link to the official public query. It does not describe failure-mode granularity (which specific structural errors are reported) in detail, but the behavioral picture is substantially richer than the annotations alone.

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?

Front-loaded with purpose, then return shape, then the validation boundary, then sibling routing — a logical order with no filler. The trailing English one-liner is somewhat redundant with the Spanish text, keeping it just short of a 5.

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?

There is no output schema, so the description carries the return-value burden and does so: normalized code, five segment codes, or the reason the structure failed. For a one-parameter lookup, nothing an agent needs in order to call it correctly or interpret the result is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% for the single parameter, so the baseline is 3; the description goes further by spelling out the 13-digit / 17-character dotted format and by explaining what the five decoded segments represent (provincia SENASA, departamento, oficina local, establecimiento, productor), which gives the input value concrete meaning.

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 pair ("Valida y decodifica") on a specific resource (código RENSPA), and immediately defines what that resource is (13 digits / 17-character dotted format) plus what is returned (normalized code and five segment codes). It is clearly distinguishable from siblings such as dte_lookup and livestock_movement_rules, which it names.

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

Usage Guidelines5/5

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

Explicitly routes the agent: "Para qué se exige al mover hacienda usá livestock_movement_rules; para el DT-e, dte_lookup." It also states the boundary condition of this tool — structure validation only, not existence or validity — which is exactly the when-not-to-use signal an agent needs.

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.