Skip to main content
Glama

EVM receipt

evm_receipt
Read-onlyIdempotent

Use when you need to know whether a transaction succeeded on Base, Ethereum, Arbitrum, Polygon or Optimism: receipt status, block, confirmations, gas used, effective gas price. Returns the paid x402 request for your input (GET /evm/receipt, $0.002 per call; schema linked). Call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. Status and logs of a mined transaction; for the transaction fields (from, to, value, input) use evm_transaction; to check a payment amount use pay_check. 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": {
      "hash": "<hash>"
    },
    "name": "evm_receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashYesTransaction hash (0x + 64 hex); a transaction with no receipt yet (pending) is refused before any charge
chainNoChain to look the transaction up on; default basebase

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / chain / description
      Previous value: -"Chain; default base"New value: +"Chain to look the transaction up on; default base"
    • changedInput schema / properties / hash / description
      Previous value: -"Transaction hash (0x + 64 hex)"New value: +"Transaction hash (0x + 64 hex); a transaction with no receipt yet (pending) is refused before any charge"
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

The annotations already state readOnly/idempotent/non-destructive, and the description adds substantial context beyond them: the $0.002 per-call price, the x402/MPP payment flow, the fact that bad or pending input is refused before any charge, and how the free daily call behaves. These are operational facts the agent could not derive from the annotations 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?

The description is front-loaded with a clear 'Use when' clause and the returned fields. It is somewhat repetitive about the x402 payment flow and the free-call behavior, which appears in two sentences, but each sentence still carries useful information.

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 lookup tool with no output schema it covers everything: what is returned, how to pay, what invalid input does, which chain the lookup runs on, and which sibling to use instead. Nothing needed to invoke it correctly is 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 coverage is 100%, so the hash pattern, chain enum, and default are already documented in the schema, and the description only restates the chain list. Its one added nuance, that pending transactions are refused before any charge, is already present in the schema's hash description, so it adds little beyond the schema.

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 definition opens with a specific verb and resource: 'receipt status, block, confirmations, gas used, effective gas price' for a transaction hash. It also clearly separates this tool from evm_transaction and pay_check, so an agent can choose the right tool without inspecting any schema.

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?

It states exactly when to use this tool (checking whether a transaction succeeded), when to use an alternative (evm_transaction for from/to/value/input, pay_check to verify a payment amount), and even covers the cost-related business rule (first call each day is free and returns data; later calls return the paid request). No inference is required.

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