Skip to main content
Glama

evm_get_storage_at

Retrieve a smart contract's storage slot value on supported EVM chains by providing the contract address, slot position, and optional block tag.

Instructions

Get the value from a contract storage slot

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": {
      "chain": "<chain>",
      "address": "<address>",
      "position": "<position>"
    },
    "name": "evm_get_storage_at"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYes
addressYesContract address
blockTagNoBlock number or "latest"
positionYesStorage slot position

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/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 burden. 'Get' implies a read, but it never states that the call is read-only, what encoding the returned slot value uses (hex quantity, zero-padded 32 bytes), or how behavior differs when blockTag is omitted versus set to 'latest'.

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?

A single front-loaded sentence with zero filler. Its brevity is efficient, though it borders on under-specification rather than tightness.

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

Completeness2/5

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

For a four-parameter tool with no annotations and no output schema, the description leaves important things unsaid: the return value's encoding, the default for the optional blockTag, and error behavior for non-contract addresses. An agent can attempt the call but cannot predict its result shape.

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 coverage is 75% and the only undocumented parameter, chain, is a self-describing enum, so the schema largely speaks for itself. The description's phrase 'contract storage slot' loosely reinforces the position parameter but adds no new semantics about accepted formats (hex string vs decimal) or blockTag defaults.

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?

The description states a specific verb and resource: 'Get the value from a contract storage slot'. An agent can tell this is a low-level raw storage read rather than a balance, code, or ABI lookup. It does not, however, name or contrast itself with any sibling such as evm_get_code or evm_get_account_info.

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 guidance on when to reach for this tool versus the many other account/code readers, no mention of prerequisites (the address must be a deployed contract), and no note on when a raw slot read is preferable to a higher-level accessor.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools