Skip to main content
Glama

Conciliar un pago SPEI con su CEP

verificar_pago

Procesa un CEP (comprobante SPEI) y lo concilia contra tus obligaciones registradas. Envia el XML del CEP en 'xml' y, opcional, las referencias a conciliar. Consume saldo (servicio SPEI; tarifa vigente en consultar_precios).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xmlYes
refsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
alertasNo
sandboxNo
serviceNo
evidenciaNo
retencionNo
cep_sha256No
constanciaNo
consultadoNo
result_codeNo
conciliacionNo
engine_versionNo
verification_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "description": "pago_cep — 1 muestra(s), 12 campos.",
      +  "properties": {
      +    "alertas": {
      +      "anyOf": [
      +        {},
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "title": "Alertas"
      +    },
      +    "cep_sha256": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "title": "Cep Sha256"
      +    },
      +    "conciliacion": {
      +      "anyOf": [
      +        {},
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "title": "Conciliacion"
      +    },
      +    "constancia": {
      +      "anyOf": [
      +        {},
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "title": "Constancia"
      +    },
      +    "consultado": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "title": "Consultado"
      +    },
      +    "engine_version": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "title": "Engine Version"
      +    },
      +    "evidencia": {
      +      "anyOf": [
      +        {},
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "title": "Evidencia"
      +    },
      +    "result_code": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "title": "Result Code"
      +    },
      +    "retencion": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "title": "Retencion"
      +    },
      +    "sandbox": {
      +      "anyOf": [
      +        {
      +          "type": "boolean"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "title": "Sandbox"
      +    },
      +    "service": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "title": "Service"
      +    },
      +    "verification_id": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "title": "Verification Id"
      +    }
      +  },
      +  "title": "RPagoCep",
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already note readOnlyHint=false; the description adds the crucial side effect that the call consumes saldo and references consultar_precios for the fee. It also notes reconciliation against registered obligations, implying the tool may alter or match records, though it stops short of saying exactly what changes.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences: purpose, parameter instructions, and cost warning. No waste, and the load-bearing information is front-loaded.

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 2-parameter tool with an output schema, the description covers required input, optional input, and a cost side effect. It does not spell out return handling in prose, but that is covered by the output schema; the only minor gap is exact format requirements for xml/refs.

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?

With 0% schema coverage, the description is the only source of meaning for the two parameters. It explains that 'xml' is the CEP XML and 'refs' is optional references to reconcile, but it does not specify the expected format (e.g., XML encoding or how refs are delimited).

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?

The description names the exact action: process a CEP (SPEI voucher) and reconcile it against registered obligations. This clearly separates it from invoice/company validation siblings and makes the tool's domain evident.

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?

It gives clear context: use when you have a CEP XML and want to reconcile it against obligations. It also warns that this is a paid SPEI service and points to consultar_precios for current pricing, though it does not explicitly state when-not-to-use or name an alternative reconciliation tool.

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