Skip to main content
Glama

contract_storage

Read one storage slot of any Base contract (eth_getStorageAt) — a raw dev utility that is not part of the paid catalog. Slot accepts a decimal or 0x-hex index.

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": {
      "contract_address": "<contract_address>"
    },
    "name": "contract_storage"
  }
}

Input Schema

NameRequiredDescriptionDefault
slotNo0
contract_addressYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose useful traits: the operation is a read, it maps to a known RPC method, and it sits outside the paid catalog (a billing/access signal). It says nothing about authentication, rate limits, or what happens for an empty/unset slot.

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 compact sentence with the core action front-loaded, followed by a short parenthetical and a format note. No filler or redundant restatement of the name.

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?

An output schema exists, so return values need no explanation, and the two-parameter surface is simple. The format hint for slot covers the main ambiguity; only network scoping (mainnet vs. sepolia) and empty-slot behavior are unaddressed.

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 0%, so the description must compensate and it partly does: 'Slot accepts a decimal or 0x-hex index' gives real format guidance the schema lacks. The contract_address parameter and the default slot value of "0" are left entirely to the schema.

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?

States a specific verb and resource — 'Read one storage slot of any Base contract' — and even names the underlying RPC call (eth_getStorageAt). No sibling tool in the catalog does storage reads, so an agent can distinguish it immediately.

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?

The phrase 'raw dev utility that is not part of the paid catalog' implies a low-level/debugging context and a billing distinction, but it never states when to prefer this over other read tools or what preconditions apply. Usage is implied rather than directed.

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