Skip to main content
Glama

Transient storage a transaction wrote

get_transaction_transient_writes
Read-only

The committed transient-storage writes (TSTORE, EIP-1153) of one transaction, in execution order — the contract whose transient storage was written (storageAddress), the code that executed the write (executionAddress), its caller, the slot (storageKey), the value (newValue), the frame path and depth. Transient storage is discarded at the end of every transaction and exists only from block 19 426 976 on: an older transaction is refused with details.minAvailableBlock. An empty list for a computed transaction means it wrote none. At most 5 000 writes (truncated says when there are more). An unknown hash is refused (not_found). Use it to see how a transaction used transient storage, such as reentrancy locks or in-transaction accounting. Not for persistent storage writes: 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-transient-writes

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_transient_writes"
  }
}

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.6/5.0
Behavior4/5

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

With readOnlyHint already covering safety, the description still adds substantial behavior: transient storage exists only from block 19,426,976, older transactions are refused via details.minAvailableBlock, results cap at 5,000 with a `truncated` flag, and an empty list has a defined meaning. Error paths (not_found, block_not_available/coverage_gap) and cache semantics (meta.cached, meta.asOfBlock, meta.timestamp) are disclosed. The main omission is that it never states whether the refusal for pre-fork transactions is distinguishable from an empty result beyond the error code.

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?

Purpose and the sibling exclusion are front-loaded, then fields, then edge cases. The density is high and mostly earns its place, though the freshness paragraph (trace build timing, cache refresh, Unix-millisecond timestamps) is longer than needed for a read-only lookup and could be tightened.

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, so return shape need not be explained; the description nonetheless covers the operation's scope, preconditions, error modes, truncation, and staleness. For a two-parameter read tool this is more than sufficient for correct invocation and interpretation.

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 baseline is 3, but the description adds meaning the schema lacks: an unknown hash produces not_found, chain_id is the sole served network reinforcing the schema's constraint, and hash is tied to a single transaction's execution-ordered writes. That is real added semantics rather than restatement.

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 resource (committed transient-storage writes, TSTORE/EIP-1153) scoped to one transaction and enumerates the returned fields. It also explicitly distinguishes itself from the persistent-storage sibling, so an agent can tell the two apart without opening a 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?

It gives a concrete positive use case (reentrancy locks, in-transaction accounting) and an explicit exclusion routing to get_transaction_storage_writes for persistent writes. The minimum plan ('Investigation') and rate class add further selection context.

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