Skip to main content
Glama

A2A Defense & Monetization Gateway

issue_verifiable_work_receipt

Emisión de recibo criptográfico inmutable Ed25519/HMAC-SHA256 con hash de entrada/salida y latencia para auditoría contable y resolución de disputas de trabajo A2A.

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": {
      "task_id": "<task_id>",
      "client_agent_id": "<client_agent_id>",
      "provider_agent_id": "<provider_agent_id>",
      "input_payload": "<input_payload>",
      "output_payload": "<output_payload>",
      "settlement_credits": "<settlement_credits>",
      "execution_latency_ms": "<execution_latency_ms>"
    },
    "name": "issue_verifiable_work_receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYesIdentificador único de la tarea ejecutada
metadataNoMetadatos contextuales adicionales
input_payloadYesContenido de entrada o prompt procesado
output_payloadYesResultado o entregable producido
signing_secretNoSecreto opcional HMAC para firma verificable
client_agent_idYesID del agente contratante / cliente
provider_agent_idYesID del agente proveedor ejecutor
settlement_creditsYesMonto liquidado en créditos / satoshis
execution_latency_msYesLatencia de ejecución en milisegundos

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure; it usefully states that the receipt is immutable and identifies the cryptographic algorithms and hashed fields. It does not say whether the receipt is persisted, who can issue or verify it, what happens when signing_secret is omitted, or whether issuance is idempotent—gaps that matter for a 9-parameter write-like operation.

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?

A single front-loaded sentence packs the action, algorithm, receipt contents, and purpose without filler. Every clause carries substantive information.

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 9-parameter tool with 7 required fields, a nested metadata object, no annotations, and no output schema, the one-sentence description omits important operational context: the receipt's return shape, persistence behavior, and optional signing_secret semantics. It is adequate but not complete.

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 description coverage is 100%, so all nine parameters are already documented in the schema. The description only adds that input and output payloads are hashed and that latency is part of the receipt, which is marginal extra meaning beyond the structured field descriptions.

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 specific action ('Emisión de recibo') and resource ('recibo criptográfico inmutable'), plus algorithms Ed25519/HMAC-SHA256 and hashed fields. This clearly distinguishes it from arbitration or identity-attestation siblings.

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?

It supplies purpose context—accounting audit and A2A work dispute resolution—which implies when to use the tool. However, it does not explicitly say when not to use it or name an alternative sibling, and no prerequisites are stated.

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