Skip to main content
Glama

Pay check

pay_check
Read-onlyIdempotent

Use when you need to confirm that a transaction paid at least an amount of an asset to an address: pass tx, to, amount and asset. Returns the paid x402 request for your input (GET /pay/check, $0.003 per call; schema linked). Call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. Checks a payment against an expected recipient and amount; for raw transaction fields use evm_transaction, for status and logs use evm_receipt. First call each day returns the data itself, free; later calls return the paid request.

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": "<tx>",
      "to": "<to>",
      "amount": "<amount>",
      "asset": "<asset>"
    },
    "name": "pay_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesExpected recipient; transfers to other addresses do not count
txYestransaction hash (0x + 64 hex for EVM)
assetYesUSDC, USDT, DAI, WETH, WBTC, cbBTC, ETH, POL or a listed token address
chainNoethereum, base, arbitrum or polygon (optional for EVM)
amountYesMinimum amount in asset units (not base units), e.g. 0.01; paid >= amount gives verified=true

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / amount / description
      Previous value: -"minimum amount in asset units, e.g. 0.01"New value: +"Minimum amount in asset units (not base units), e.g. 0.01; paid >= amount gives verified=true"
    • changedInput schema / properties / to / description
      Previous value: -"expected recipient address"New value: +"Expected recipient; transfers to other addresses do not count"
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, yet the description adds substantial behavior: a per-call price ($0.003), the x402/MPP payment flow, validation refusal before any charge, and the free-first-call-per-day quirk. These are exactly the non-obvious traits an agent needs. What it omits is the shape of the returned data beyond the paid-request envelope, keeping it short of 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?

It is front-loaded with the use case and the sibling routing, which is the right order. However, the return behavior is split across two sentences ('Returns the paid x402 request...' and 'First call each day returns the data itself, free; later calls return the paid request'), which is mild repetition in an otherwise dense, single-block paragraph.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only 5-parameter tool with no output schema, the definition covers purpose, the exact call, cost, payment client requirement, and failure behavior. Nothing an agent needs in order to invoke it correctly appears to be missing.

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 tx, to, amount, asset and chain are already fully documented with format hints and the paid >= amount rule. The description only restates 'pass tx, to, amount and asset' and adds no unit, format, or constraint detail beyond the schema. Baseline 3 applies.

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 opens with a concrete goal: 'confirm that a transaction paid at least an amount of an asset to an address', and the required inputs are enumerated immediately. It explicitly distinguishes itself from evm_transaction (raw fields) and evm_receipt (status/logs), so an agent can route correctly without inspecting sibling schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The trigger condition is stated verbatim ('Use when you need to confirm that a transaction paid at least an amount...'), and two named alternatives with their selection criteria are given for the adjacent use cases. Little is left to inference about when this tool is the right choice.

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