Skip to main content
Glama

confirm_microtask

Idempotent

Verify an already-made, buyer-authorized USDC payment and release its saved result.

        No transfer, approval or settlement is submitted by this tool. Use
        the exact quote claim message with the lower-case transaction hash
        and personal_sign by its payer wallet. Two RPC sources must agree
        on the native USDC event in a Base safe block. This can take minutes;
        retry the SAME quote/transaction, never send a second payment. One
        transaction pays one quote. QA is excluded and cannot accept money.
        

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": {
      "quote_id": "<quote_id>",
      "receipt_token": "<receipt_token>",
      "transaction_hash": "<transaction_hash>",
      "payer_signature": "<payer_signature>"
    },
    "name": "confirm_microtask"
  }
}

Input Schema

NameRequiredDescriptionDefault
quote_idYes
receipt_tokenYes
payer_signatureYes
transaction_hashYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses that two RPC sources must agree on the native USDC event in a Base safe block, that the call can take minutes, that retries must reuse the same quote/transaction, that one transaction pays exactly one quote, and that QA is excluded. These are meaningful behavioral constraints (latency, quorum verification, idempotency semantics) not captured by readOnlyHint/idempotentHint alone.

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?

Front-loads the core action in the first sentence, then layers constraints. Every sentence carries operational weight, though the run-on retry/one-transaction/QA guidance could be tightened and the irregular line breaks slightly hurt scanability.

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?

An output schema exists, so return values need not be explained, and the description covers the tricky parts: latency, verification quorum, idempotent retry, and QA exclusion. It omits what a failure or mismatched-signature response looks like and never explains receipt_token's role, leaving a small gap.

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 0%, so the description must carry parameter meaning. It clarifies the transaction_hash must be lower-case and the payer_signature must be a personal_sign from the payer wallet, but quote_id and receipt_token are never explained despite both being required with strict patterns.

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?

States a specific verb+resource: verify an already-made buyer-authorized USDC payment and release its saved result. It immediately distinguishes itself from the sibling prepare_microtask by emphasizing this is the post-payment confirmation step, and rules out any transfer/settlement action.

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?

Gives clear operational context — use the exact quote claim message, lower-case tx hash, personal_sign by the payer wallet — plus explicit retry guidance ('retry the SAME quote/transaction, never send a second payment'). It does not explicitly name prepare_microtask as the prerequisite tool, so the workflow link is inferred rather than 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