Skip to main content
Glama

claim_payment

Credit this API key after a USDC Transfer on Base to PAYMENT_ADDRESS. tx hash is unique.

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": {
      "tx_hash": "<tx_hash>"
    },
    "name": "claim_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
tx_hashYesBase mainnet transaction hash of the USDC Transfer (0x-prefixed).

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?

With no annotations, the description carries the full burden. It does add one genuinely useful behavioral fact — that tx hashes are unique, which signals idempotency and that replays will not double-credit — but it omits how the credited amount is determined, what happens with a non-matching or failed transaction, and any permission or rate-limit constraints on a mutation of account balance.

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 short sentences, front-loaded with the effect and followed by the precondition; nothing is padded. The uppercase PAYMENT_ADDRESS placeholder is slightly awkward but still communicates that the destination is configuration, not input.

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 single-parameter tool with a fully documented schema and no output schema, this is close to sufficient. It still leaves the agent guessing about the success/failure response and whether the credited amount comes from the on-chain transfer, which matters for a balance-mutating call with zero annotations.

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 coverage is 100% and the schema already spells out 'Base mainnet transaction hash of the USDC Transfer (0x-prefixed)'. The description's only addition is the uniqueness property of tx_hash, which is real semantic value but thin; the baseline 3 for full coverage plus idempotency meaning is appropriate.

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 gives a specific verb and effect ('Credit this API key') plus the trigger ('after a USDC Transfer on Base to PAYMENT_ADDRESS'), so an agent knows this settles funds rather than just reading state. It does not explicitly distinguish itself from near neighbors like verify_receipt or get_payment_info, which is the only thing keeping it from a 5.

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?

Usage is implied rather than stated: the agent can infer it should call this after a confirmed Base USDC transfer. There is no explicit when-not guidance, no mention of whether verify_receipt must be called first, and no note on what to do if the transfer has not landed yet.

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