Skip to main content
Glama

Get storage slot

get_storage_at
Read-onlyIdempotent

The raw 32-byte value of one or more storage slots of a contract (at most 20), at the latest block or "block". Slots are decimal or 0x-hex numbers, or 32-byte hex keys for mapping entries computed off-chain. Values are returned as 0x-hex and as unsigned decimal.

Input Schema

NameRequiredDescriptionDefault
blockNoblock number, hash or "latest" (default)
slotsYesstorage slots: decimal or 0x-hex numbers, or 32-byte hex keys (at most 20)
addressYescontract address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false. The description adds useful behavioral context: the 20-slot limit and that values come back as both 0x-hex and unsigned decimal, which is not in the annotations or output schema.

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?

Two sentences, front-loaded with the core purpose, then parameter and return details. No filler or repetition.

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?

Given moderate complexity, three parameters, and no output schema, the description covers purpose, slot formats, the 20-slot limit, block default, and return encoding. It is complete enough for correct invocation, though it omits explicit alternative-selection guidance.

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 the baseline is 3. The description adds meaning for the 32-byte hex key case (mapping entries computed off-chain) and restates slot format and block default, slightly exceeding schema detail.

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+resource: retrieving raw 32-byte storage slot values for a contract. Distinguishes from siblings like get_code or get_proof by naming the exact resource, though it does not explicitly contrast with alternatives.

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?

No explicit when-to-use or when-not-to-use guidance; it does not mention alternatives such as call_contract or get_proof. Only implicit usage is conveyed by the resource and parameter limits.

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.