Skip to main content
Glama

chain_storage

Read-only

Contract storage slot read — Raw value of a contract storage slot (address=, slot= decimal or 0x hex, optional block=) decoded as uint and address. Chains: base (default), ethereum, arbitrum, optimism, polygon via chain=. Price: $0.002 USDC (Base, via x402).

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>",
      "slot": "<slot>"
    },
    "name": "chain_storage"
  }
}

Input Schema

NameRequiredDescriptionDefault
slotYes0
chainYesbase
addressYes0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true, destructiveHint=false and openWorldHint=true, so safety is covered. The description adds genuinely non-obvious behavior: the result is decoded as both uint and address, the call costs $0.002 USDC via x402 on Base, and the supported chains are enumerated with base as default. It does not say what happens for an empty slot or how failures are reported, which keeps it below 5.

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?

The definition is a single dense, front-loaded line: operation first, then parameters, then chains, then price. Every clause carries information, though the parenthetical parameter list and the pricing/chain tail make it slightly run-on and would read better split into two sentences.

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

Completeness4/5

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

With no output schema, the description correctly compensates by stating the return shape (decoded as uint and address). Combined with annotations and full schema coverage, an agent has enough to invoke it correctly; the only real gap is the phantom block parameter and no note on empty-slot or error behavior.

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 100%, so the baseline is 3. The description adds real meaning beyond the schema by stating slot accepts decimal or 0x hex and by listing the valid chain values, but it also references an 'optional block=' parameter that does not exist in the input schema, which introduces ambiguity rather than clarity.

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 description names a specific verb and resource: 'Contract storage slot read — Raw value of a contract storage slot'. It is clearly distinct from siblings such as chain_call or chain_code, and it even states the decoding applied (uint and address). An agent can identify the operation without opening the schema.

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

Usage Guidelines3/5

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

Usage is implied by the resource name: use it when you need a raw storage slot rather than a contract call result. However, there is no explicit when-to-use/when-not-to-use guidance and no sibling alternative named (e.g., chain_call for decoded getters). The agent must infer selection from the tool name.

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