Skip to main content
Glama

Berachain transaction receipt

bera_receipt
Read-only

Transaction receipt on Berachain (eth_getTransactionReceipt): success or reverted, gas used, effective gas price, fee paid in BERA, number of event logs and any contract created. Use to confirm a payment or call went through; for sender, value and calldata use bera_tx. Input is a 0x-prefixed 64-hex hash; a pending or unknown hash returns 422, uncharged. Example: hash=0x19db8c305092673a73e777b690469a0962145d4289a2608e8f62881c3a9ac18a. 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": "bera_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
Behavior3/5

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

The description goes well beyond the annotations by disclosing pricing ($0.01/call via x402 USDC or card key), the first-10-free allowance, that failed calls are free, that pending/unknown hashes return 422 uncharged, and that repeats are not free. That last point explains the otherwise surprising idempotentHint=false on a read-only tool. Minor deduction only because the annotations already carry the read-only safety profile and the description does not describe the response envelope (e.g. null receipt handling for a mined-but-empty case).

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 return fields, then usage, then input format, then pricing — a sensible order with no wasted preamble. The billing sentence is dense and slightly redundant ("first 10 free; failed calls free" plus "repeats are not free"), but each clause carries real decision-relevant information for an agent.

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?

No output schema exists, so the description carries the return-value burden itself and does so by naming the salient fields an agent would read. It also covers cost model, error semantics, and input format for a single-parameter tool, leaving nothing an agent needs before calling it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3; the description earns above that by adding an explicit example hash and by attaching behavior to the parameter value space (pending or unknown hash → 422, uncharged). It still does not say whether checksummed vs lowercase input matters, but the format constraint is fully restated and demonstrated.

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?

States a specific verb+resource (transaction receipt on Berachain) and maps it to the underlying RPC (eth_getTransactionReceipt), then enumerates exactly what it returns: status, gas used, effective gas price, fee in BERA, log count, contract created. It explicitly distinguishes itself from the sibling bera_tx ("for sender, value and calldata use bera_tx"), so an agent can choose between them without opening either 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?

Gives an explicit when-to-use ("Use to confirm a payment or call went through") and an explicit alternative with the condition that selects it (bera_tx for sender/value/calldata). It also names the error case: a pending or unknown hash returns 422, which is exactly the guidance an agent needs to avoid retry loops.

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