Skip to main content
Glama

Verify payment and issue AccessPass

temple_verify
Idempotent

Verifica SPL USDC y emite AccessGrant + AccessPass. Idempotente: reintenta verify, no pagues dos veces.

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": {
      "requestId": "<requestId>",
      "txSignature": "<txSignature>",
      "payerWallet": "<payerWallet>"
    },
    "name": "temple_verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestIdYesIdentificador del pedido de tributo que se está pagando.
payerWalletYesDirección de la billetera que pagó el tributo.
txSignatureYesFirma de la transacción SPL USDC ya enviada en Solana.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / payerWallet / description
      Added value: +"Dirección de la billetera que pagó el tributo."
    • addedInput schema / properties / requestId / description
      Added value: +"Identificador del pedido de tributo que se está pagando."
    • addedInput schema / properties / txSignature / description
      Added value: +"Firma de la transacción SPL USDC ya enviada en Solana."
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is covered structurally. The description earns credit for adding side-effect detail the annotations cannot express: the call emits two artifacts (AccessGrant + AccessPass), and the retry instruction turns the abstract idempotentHint into an operational rule. It does not cover failure behavior when verification fails, which keeps it from a 5.

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, no filler, with the core action stated first and the idempotency caveat second — correctly front-loaded. It is arguably over-compressed for a payment-issuing mutation, but nothing written is wasted.

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 non-read-only, open-world tool that issues credentials, the definition is thin: no output schema exists, and the description does not say what a successful verification returns, what happens if the SPL transfer is invalid or already consumed, or whether an AccessPass can be re-issued. The three required parameters are fully documented in the schema, which prevents this from scoring lower.

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%, and the three parameters (requestId, txSignature, payerWallet) each carry their own Spanish description in the schema. The prose adds no meaning beyond that — no format hints for the Solana signature, no note on whether payerWallet must match the on-chain signer. Baseline 3 applies when the schema already does the work.

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 names a specific verb and resource pair: verifies SPL USDC payment and issues AccessGrant + AccessPass. That is concrete enough to separate it from siblings like temple_validate_pass and temple_consume_pass, which operate on an already-issued pass rather than minting one. It falls short of a 5 only because the relationship between AccessGrant and AccessPass is never explained.

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?

There is real guidance, but it is scoped to retries: 'Idempotente: reintenta verify, no pagues dos veces' tells the agent it is safe to re-call and that it must not trigger a second payment. What is missing is when to call this at all — presumably after a transaction signature exists, but the description never states the precondition or points at temple_request_tribute as the preceding step.

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