Skip to main content
Glama

Transactions of the same block it depends on

get_transaction_state_dependencies
Read-only

How one transaction depends, through storage, on the other transactions of its block: each read-after-write edge — a slot it read whose last write before it in the block was an earlier transaction's (role reader), or a slot it wrote that a later transaction then read (role writer) — with the slot (storageAddress, storageKey) and both transactions' positions and hashes, and the same edges folded per pair of transactions (pairs, with slot and contract counts). Facts of execution order only, never a statement about intent. An empty answer for a computed transaction means no dependency; truncated says the edges were cut, and pairsComplete false that the pairs were folded from the cut list. A transaction older than the first block these facts are computed from is refused with details.minAvailableBlock; an unknown hash is refused (not_found). Use it to see which transactions of a block another one's outcome relied on. Not for the slots it wrote: use get_transaction_storage_writes.

Arguments: hash. chain_id defaults to 1 (Ethereum mainnet, the only chain served). Freshness: facts of a mined block. The trace is usually built seconds to minutes after inclusion; a transaction it does not reach yet is refused (block_not_available, details.reason coverage_gap, with details.maxAvailableBlock) — retry later, it says nothing about the outcome. meta.asOfBlock is the transaction's block. meta.cached is true when the answer came from the TraceFast response cache (refreshed within minutes); meta.timestamp is when it was produced, in Unix milliseconds.

Minimum plan: Investigation. Rate class: standard. Documentation: https://docs.tracefast.xyz/api/transaction-state-dependencies

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

Input Schema

NameRequiredDescriptionDefault
hashYesTransaction hash, `0x`-prefixed, 64 hex characters, any case.
chain_idNoChain id. Only 1 (Ethereum mainnet) is served; the default.

Output Schema

NameRequiredDescriptionDefault

No arguments

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 and closed-world; the description adds substantial context beyond them: results are execution-order facts only, empty means no dependency, `truncated` and `pairsComplete` describe cut/folded output, and failure modes are enumerated (`not_found`, `block_not_available` with `coverage_gap` and `details.maxAvailableBlock`, historical refusal with `details.minAvailableBlock`). Freshness semantics — trace built seconds to minutes after inclusion, retry later without implying anything about the outcome — plus the `meta.cached`/`meta.timestamp`/`meta.asOfBlock` fields are exactly the kind of disclosure an agent needs.

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?

Core purpose, exclusions, and output semantics lead, so it is well front-loaded, and nearly every clause carries real information. It loses a point because the middle sections are dense run-on sentences chained with em-dashes and nested parentheticals, which makes the refusal/freshness details slower to scan than they need to be.

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?

An output schema exists, yet the description still explains what distinguishes an empty answer and what the truncation flags mean, and it covers errors, freshness, chain availability, and the `meta` fields. For a read-only dependency-graph query with two parameters, nothing an agent needs to call and interpret it correctly is missing.

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 is 3, and the description still adds meaning: `chain_id` defaults to 1 and Ethereum mainnet is the only chain served, and `hash` semantics are extended with what happens for unknown hashes and for transactions predating the available block window. It stops short of adding input formatting details, which the schema already carries.

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?

The opening sentence names a specific query and resource — read-after-write storage dependency edges between a transaction and the other transactions of its block — and defines the two edge orientations (`reader`/`writer`) with the exact fields returned (`storageAddress`, `storageKey`, hashes, positions). It also draws an explicit boundary against the sibling `get_transaction_storage_writes`.

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 positive use case ('to see which transactions of a block another one's outcome relied on') and an explicit exclusion with a named alternative ('Not for the slots it wrote: use get_transaction_storage_writes'). No inference is required to choose between them.

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