Skip to main content
Glama

get_transaction_receipt

Retrieve a transaction receipt by its hash to verify on-chain execution status, gas used, logs, and contract events across EVM networks.

Instructions

Get a transaction receipt by its hash

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": {
      "txHash": "<txHash>"
    },
    "name": "get_transaction_receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
txHashYesThe transaction hash to look up

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.2

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden and provides essentially none. It does not say whether the call fails or returns null/empty for pending, dropped, or unknown hashes, which chain is queried given the multi-network siblings, or what a receipt actually contains (status, logs, gas used).

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?

One short sentence with zero filler and the keying attribute front-loaded; nothing is redundant. It is efficient, though the brevity is partly under-specification rather than disciplined compression.

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

Completeness2/5

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

With no annotations, no output schema, and a large multi-chain sibling set, the description is too thin for the tool's real complexity. An agent still lacks chain selection, not-found semantics, and any indication of what the receipt returns.

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?

There is a single parameter and the schema documents it at 100% coverage ('The transaction hash to look up'), so the baseline of 3 applies. The description repeats that exactly and adds no format hint (hex prefix, length) or validation behavior beyond what the schema already states.

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: retrieves a transaction receipt, keyed by hash. That is unambiguous on its own, but it draws no line against the sibling get_transaction, leaving the agent to infer whether a receipt and a transaction are the same lookup or two different records.

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

Usage Guidelines2/5

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

The description gives no when-to-use context, no prerequisites, and never names get_transaction as the alternative for raw transaction data versus post-execution results. The only guidance is the implicit reading of the tool name.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.