Skip to main content
Glama

Beggar Bot

verify_payment

USDC payment verification API: did a USDC payment from payer to payee for an exact amount land on Base (or Base Sepolia)? Returns the matching on-chain transfer for your invoice. Verify payment. Payment settles only after a successful (2xx) response; input errors are never charged. Paid: $0.02 USDC via x402.

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": {
      "payer": "<payer>",
      "payee": "<payee>",
      "amount": "<amount>",
      "invoice": "<invoice>"
    },
    "name": "verify_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
payeeYes0x address
payerYes0x address
amountYesUSDC decimal, e.g. 0.01
invoiceYes[\w.:-]{1,64}
networkNobase | base-sepolia
lookback_blocksNooptional int

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries real weight: it discloses the pricing model (Paid: $0.02 USDC via x402), the charging semantics (settles only after a 2xx response, input errors are never charged), and what the call returns. It does not say what happens when no matching transfer exists — empty result versus error, and whether that case is still billed — which is the main behavioral gap for a no-annotation tool.

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-loaded with the core question and the return value, and the pricing note is a useful trailing detail. There is mild redundancy between 'USDC payment verification API' and the standalone fragment 'Verify payment.', but nothing bloated.

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?

With no output schema, the description does supply the return value ('the matching on-chain transfer') and the billing behavior, which are the hardest parts. It is still incomplete on failure modes (no match found, wrong network, exhausted lookback) — outcomes an agent needs to interpret a result correctly.

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 the six parameters are already documented, establishing a baseline of 3. The description adds only marginal meaning ('exact amount', chain choice) and says nothing about lookback_blocks, whose schema text ('optional int') is the weakest entry and left unexplained.

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?

States a specific verb and resource ('USDC payment verification'), the chain scope (Base or Base Sepolia), the matching criteria (payer to payee, exact amount), and what comes back (the matching on-chain transfer for your invoice). That is enough to separate it from neighbors like verify_receipt or payment_header without opening a schema, though it never names an alternative explicitly.

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?

The framing 'did a USDC payment ... land on Base?' implies the use case clearly: confirm settlement of an invoiced USDC transfer. However, there is no when-not guidance, no mention of prerequisites such as requiring the payer/payee addresses up front, and no pointer to a sibling tool for non-USDC or off-chain receipt checks.

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.