Skip to main content
Glama
Ethereum MCP
by ETHCF

get_tx_receipt

Retrieve a blockchain transaction receipt by hash to check gas used, logs, and status across supported chains.

Instructions

Get transaction receipt including gas used, logs, and status.

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_tx_receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoChain name or ID (default: ethereum)
txhashYesTransaction hash (0x...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It partially pays that off by disclosing the returned content (gas used, logs, status), but says nothing about pending/unknown transactions, error behavior, defaults, or rate limits.

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?

A single front-loaded sentence with no filler, naming the resource first and the return fields second. It is efficiently sized, though the brevity contributes to the missing differentiation rather than compensating for it.

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 annotations and no output schema, the description must cover behavior and returns; it handles returns at a high level but leaves mutation-free read semantics, error cases, and sibling routing unaddressed. Adequate to call correctly, incomplete for choosing 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%, with both txhash and chain documented including the ethereum default, so the baseline is 3. The description adds no format, chain-name, or hash-validation detail 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?

The description uses a specific verb and resource ('Get transaction receipt') and enumerates the payload it returns ('gas used, logs, and status'), so an agent knows exactly what comes back. It does not distinguish itself from the sibling get_tx_status, leaving ambiguity about whether a receipt or just a status is needed.

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?

There is no when-to-use or when-not-to-use guidance and no mention of the closely related get_tx_status sibling. The list of returned fields only weakly implies the difference, which the agent must infer on its own.

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

Deploy Server

Other Tools