Skip to main content
Glama

Unichain transaction receipt

unichain_receipt
Read-only

Transaction receipt on Unichain (eth_getTransactionReceipt): success or reverted, gas used, effective gas price, fee paid in ETH, number of event logs and any contract created. Use to confirm a payment or call went through; for sender, value and calldata use unichain_tx. Input is a 0x-prefixed 64-hex hash; a pending or unknown hash returns 422, uncharged. Example: hash=0xefe004f02c8907dc61735fe378eb5d2f3730d66cd8d4f385ef13076ad1eacdce. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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": "unichain_receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashYes0x-prefixed transaction hash (64 hex characters)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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/non-destructive, and the description reinforces that ('reads or computes only and changes nothing') while adding genuinely new behavior: 422 uncharged for pending/unknown hashes, $0.01/call, 10 free calls, failed calls free. It explains the non-obvious consequence of idempotentHint=false -- repeats are billed again. It stops short of describing formatting of the returned fields (e.g. units/decimals of gas price), which keeps it off 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?

Front-loaded with the purpose and the sibling routing rule, then return fields, then input format and error behavior. The pricing/free-tier sentences are long but carry real decision-relevant information; the 'reads or computes only' clause partly duplicates the readOnly annotation.

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?

With one parameter and no output schema, the description supplies everything needed: what comes back, how to read a 422, input format with an example, and cost semantics. An agent can call this correctly and interpret a failure without further context.

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 constraint is already documented in the schema; the description only repeats it and adds a concrete example value. It does not explain edge cases like a wrong-length-but-hex hash versus a well-formed unknown hash. Baseline 3 is appropriate given the schema does the work.

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?

Names the specific resource and RPC method (eth_getTransactionReceipt on Unichain) and enumerates the returned facts: status, gas used, effective gas price, fee in ETH, log count, contract created. It explicitly distinguishes itself from the sibling unichain_tx by assigning sender/value/calldata to that tool.

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?

Gives a concrete when-to-use ('confirm a payment or call went through') and names the alternative plus the condition that selects it ('for sender, value and calldata use unichain_tx'). The 422 behavior for pending/unknown hashes tells the agent what to do with unconfirmed hashes rather than guessing.

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