Skip to main content
Glama

evm_get_transaction_receipt

Read-only

Retrieve the transaction receipt for a hash, including status, logs, and gas usage.

Instructions

Get the transaction receipt (status, logs, gas usage) for a hash.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
txHashYesTransaction hash
chainIdNoChain ID (defaults to runtime config)
Behavior3/5

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

Annotations already declare readOnlyHint=true, and the description adds useful detail about the return content (status, logs, gas usage). However, it does not disclose potential edge cases like pending transactions or whether the receipt could be null, which limits transparency beyond the basic read-only nature.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence that conveys all essential information without redundancy. It wastes no words and is highly scannable.

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

Completeness4/5

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

Given the tool's low complexity, the description adequately covers its main function and key output fields. It lacks a note about the absence of an output schema and does not explicitly handle failure modes, but for a simple read-only receipt lookup, it is nearly complete.

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?

The schema provides complete descriptions for both parameters (txHash and chainId), covering 100% of parameters. The description's 'for a hash' merely reinforces the txHash parameter without adding new semantic meaning, so the baseline score of 3 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 clearly states the tool's function: 'Get the transaction receipt' for a hash, and enumerates key receipt contents (status, logs, gas usage). It does not explicitly differentiate from sibling tools like explorer_get_tx_receipt, but the purpose is unambiguous.

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?

No guidance is provided on when to use this tool versus alternatives, such as explorer_get_tx_receipt or evm_get_transaction. It also lacks any mention of prerequisites or typical use cases, leaving the agent to infer usage from the tool name.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Apegurus/web3agent'

If you have feedback or need assistance with the MCP directory API, please join our Discord server