Skip to main content
Glama

ejemplo_comprobante

Read-onlyIdempotent

Devuelve un JSON de ejemplo listo para el POST HTTP de emision de un tipo de comprobante (01 factura, 03 liquidacion de compra, 04 nota de credito, 05 nota de debito, 06 guia de remision, 07 retencion), con el enlace a su guia. No incluye infoTributaria.tipoDocumento porque el tipo va en la ruta; en la CLI y en el MCP de la cuenta el tipo tambien se indica fuera de la estructura (--tipo o el parametro tipo).

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": {
      "tipo": "<tipo>"
    },
    "name": "ejemplo_comprobante"
  }
}

Input Schema

NameRequiredDescriptionDefault
tipoYesTipo de comprobante: 01, 03, 04, 05, 06 o 07, o su nombre (factura, nota de credito...).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the readOnly/idempotent/closed-world annotations, the description discloses a genuinely useful behavioral quirk: the returned JSON deliberately omits infoTributaria.tipoDocumento because the type travels in the route or as a separate parameter. That prevents a likely mistake when assembling the POST body. It still does not say how large the example is or whether it is a full or minimal payload.

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 return value and the code enumeration, then the caveat about tipo. Nothing is wasted, though the long parenthetical code list makes the first sentence dense.

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?

For a one-parameter, read-only lookup with no output schema, the description covers what is returned (example JSON plus guide link), which types are valid, and the one structural caveat that matters when using the result. Nothing an agent needs to call it correctly is missing.

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 single tipo parameter is already documented with both codes and names, so the description mostly restates that. It does add the semantic point that the type is supplied outside the payload structure in both CLI and MCP form, but no additional format or constraint details.

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?

States a concrete verb and resource: returns an example JSON payload ready for the HTTP POST of a given comprobante type, plus the link to its guide. The enumerated type codes make the scope unambiguous, though it never contrasts itself with sibling doc-oriented tools such as leer_guia or consultar_referencia.

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 implied rather than stated: an agent can infer this is the tool to call when it needs a ready-to-send body for emission. There is no explicit when-not guidance nor a pointer to which sibling to use for reading documentation or resolving errors. The note that tipo is passed outside the structure in the CLI and account MCP is helpful context but not a usage rule.

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