Skip to main content
Glama

Verificar comprobante

verificar_comprobante
Read-onlyIdempotent

Comprueba que un comprobante de pago es auténtico a partir de su código de verificación (QP-XXXXX-XXXXX).

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": {
      "codigo": "<codigo>"
    },
    "name": "verificar_comprobante"
  }
}

Input Schema

NameRequiredDescriptionDefault
codigoYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds that the operation is an authenticity check against an existing receipt rather than a lookup by ID, but it does not say whether it requires authentication, what verdict format comes back, or whether unverified codes simply return false.

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?

One sentence, front-loaded with the verb and resource, ending with the input expectation. Nothing is redundant and nothing obscures the core action.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple single-parameter read tool covered by rich annotations, the definition is adequate to invoke it correctly. However, with no output schema and no statement of what an authenticity verdict looks like, an agent cannot anticipate the return shape or failure case.

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 description coverage is 0%, so the description must carry the parameter meaning, and it does: it names the parameter semantically ('código de verificación') and supplies a concrete format pattern (QP-XXXXX-XXXXX) that the bare string schema with 5-40 length limits does not convey. Minor gaps remain, such as case sensitivity and whether other code formats are accepted.

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?

The description states a specific verb plus resource: 'Comprueba que un comprobante de pago es auténtico', and identifies the input as a verification code. It is clear what the tool does, but it draws no boundary against siblings such as verificar_integracion or ver_cobro, which also relate to verification/lookups.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, and no alternative tool is named. The only implied guidance comes from saying a verification code is required, which the schema already mandates.

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