Skip to main content
Glama

Base Explorer (tevm.app)

fork/set-storage

Write a 32-byte value to a contract storage slot on the active @tevm/effect fork.

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": {
      "address": "<address>",
      "slot": "<slot>",
      "value": "<value>"
    },
    "name": "fork/set-storage"
  }
}

Input Schema

NameRequiredDescriptionDefault
slotYes0x hex storage slot (auto-padded to 32 bytes)
valueYes0x hex storage value (auto-padded to 32 bytes)
addressYes0x contract address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It implies mutation of fork state and that a fork must be active, but says nothing about whether the write is immediately visible to subsequent calls, whether it requires mining, how it interacts with snapshots/revert, or whether it persists to disk or is discarded on stop.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence with no filler, front-loading the action and the target. Nothing is wasted and the key constraint (active fork) appears before the trailing detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple three-parameter mutation tool with no output schema, the description covers what is written and where, which is mostly sufficient. It leaves out the fork-active precondition and the effect on subsequent reads or snapshots, which matter for an agent sequencing state changes.

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 description coverage is 100%, with each of address, slot, and value already documented including the auto-padding behavior. The description restates the 32-byte value width and adds the fork scoping, which is mildly useful, but adds no format or constraint details beyond the schema. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: write a 32-byte value to a contract storage slot on the active fork. An agent can tell this is a state-mutation primitive, distinct from read-oriented siblings like fork/call. It stops short of explicitly contrast with fork/set-code, the closest sibling, so it lands at 4 rather than 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no mention of prerequisites such as the fork needing to be started, and no routing to alternatives like set-code or revert when an agent wants to undo the write. The phrase 'active fork' hints at a precondition but never states it.

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