Skip to main content
Glama

Scroll transaction

scroll_tx
Read-only

Look up a Scroll transaction by hash: sender, recipient, value in ETH, nonce, gas limit, the 4-byte function selector and its block. Use to see what was sent or whether it exists; for success or failure and fees paid use scroll_receipt, for emitted events scroll_logs. Input is a 0x-prefixed 64-hex hash; an unknown hash returns 422, uncharged. Example: hash=0x0176fb42be8ea0058d1ac56cb253f0df883ba4b564489e71b83fb7e27e912abd. 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": "scroll_tx"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashYes0x-prefixed transaction hash (64 hex characters)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnly/openWorld/non-idempotent; the description adds the error contract (unknown hash returns 422, uncharged), the billing model ($0.01/call via x402 USDC or card key, first 10 free, failed calls free), and explains why a pure read is non-idempotent — repeats are charged. No output schema exists, yet the returned fields are named, which fills the gap annotations leave.

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 correctly: purpose and return fields first, then sibling routing, then input/error, then pricing. Most sentences carry distinct information, though "Reads or computes only and changes nothing" largely restates readOnlyHint before pivoting to billing, and the pricing clause is dense enough to need a second read.

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?

For a single-parameter, annotation-covered lookup with no output schema, it covers everything an agent needs: input format, sample value, error behavior, cost/free tier, and which sibling to use for receipts or logs. Return shape is described inline, so the missing output schema is not a real gap.

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% and already documents the 0x-prefixed 64-hex format, so the description only needs to add value. It does so with a concrete worked example hash and by tying the parameter to the failure mode (unknown hash → 422), which the schema does not express.

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 and resource ("Look up a Scroll transaction by hash") and enumerates exactly what comes back: sender, recipient, value in ETH, nonce, gas limit, function selector, block. That field list plus the chain qualifier makes it distinguishable from scroll_receipt, scroll_logs, and the other chain-prefixed *_tx tools without opening any 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 explicit positive guidance ("Use to see what was sent or whether it exists") and routes to named alternatives with the conditions that select them: scroll_receipt for success/failure and fees, scroll_logs for emitted events. The agent does not have to infer the boundary between a transaction and a receipt.

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