Skip to main content
Glama

Revisar un certificado de origen

revisar_certificado

Glosa un certificado de origen (T-MEC, EUR.1/TLCUEM, TIPAT, AAE Japón, Israel, Alianza del Pacífico, Centroamérica) casilla por casilla: criterio de origen, vigencia, firmas, coherencia con facturas, riesgo y dictamen con base normativa. Hasta 5 documentos por llamada (certificado y facturas) en base64, PDF o imagen. Tarda 1-3 minutos y descuenta 1 revisión de certificado del saldo (se devuelve si falla).

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": {
      "tratado": "<tratado>",
      "documentos": "<documentos>"
    },
    "name": "revisar_certificado"
  }
}

Input Schema

NameRequiredDescriptionDefault
notasNoContexto opcional para el revisor.
tratadoYes
documentosYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: latency of 1-3 minutes, a credit cost (1 revisión de certificado deducted from the balance) and the refund policy on failure, plus accepted input formats. These are exactly the operational traits an agent needs before invoking a non-idempotent, balance-consuming operation, and they are consistent with readOnlyHint=false.

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?

Two sentences, front-loaded with the core action and followed by the operational constraints (document limit, formats, duration, cost). The long treaty enumeration is dense but earns its place because it maps to the enum; slightly more formatting would aid scanning.

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?

No output schema exists, yet the description indicates what the agent gets back (riesgo y dictamen con base normativa), and it covers cost, duration and input limits. What remains unstated is the concrete shape of the response and any permission or authentication requirements.

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?

With only 33% schema description coverage, the description compensates well: it clarifies that documentos accepts a certificate plus invoices (1-5 items), as base64 with PDF or image content, and it spells out the treaty regimes matching the enum values. Gaps remain: GENERICO is not explained, and notas is only defined by the schema.

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?

Names a specific verb (glosa/revisa) and resource (certificado de origen) and enumerates the exact scope checked: criterio de origen, vigencia, firmas, coherencia con facturas, riesgo y dictamen con base normativa. It also lists the treaty regimes supported, so an agent can distinguish it immediately from sibling reviewers like revisar_etiqueta.

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?

The context of use is clear: presenting an origin certificate plus its invoices for a clause-by-clause opinion, capped at 5 documents per call. It does not explicitly state when NOT to use it or name an alternative tool for related tasks, so it stops short of the 5-level routing guidance.

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