Skip to main content
Glama

Storage slot read, Avalanche

avax_storage
Read-only

Read one raw storage slot of a contract on Avalanche (eth_getStorageAt): the 32-byte word, as a number and, when it holds one, as an address. Slot is a decimal index or a 0x 32-byte key (mapping and proxy slots). Use to inspect contract state that has no getter, owners or implementation pointers; for proxies use avax_proxy. A malformed address or slot is rejected with 400, uncharged. Example: address=0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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

Input Schema

NameRequiredDescriptionDefault
slotNoSlot: a decimal index (0, 1, 2…) or a 0x 32-byte key
addressYes0x contract address

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: pricing ($0.01/call, first 10 free, failed calls free), auth paths (x402 USDC or card key via /credits), and the rejection behavior for malformed input (400, uncharged). It also explains the non-obvious idempotentHint=false by noting 'each call is charged, so repeats are not free' — though it does not state what happens when the optional slot parameter is omitted.

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?

Front-loaded with purpose and semantics, then the alternative, error behavior, example, and pricing — a logical order with little waste. The final sentence is dense and packs semantics, auth, and pricing into one long clause, which slightly hurts scannability.

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?

With no output schema, the description supplies the return shape ('the 32-byte word, as a number and, when it holds one, as an address'), plus error behavior, cost, and the sibling alternative. Nothing an agent needs to call this correctly on a 2-parameter read tool is missing.

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 baseline is 3, but the description adds real meaning: it explains why a 0x 32-byte key form exists ('mapping and proxy slots') and supplies a concrete example address. The only gap is that it never says what slot is used when the optional parameter is omitted.

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 precise verb and resource ('Read one raw storage slot of a contract on Avalanche') and anchors it to the underlying RPC method (eth_getStorageAt). It explicitly carves out the sibling alternative ('for proxies use avax_proxy'), so an agent can distinguish it from avax_proxy without opening either schema.

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

Usage Guidelines5/5

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

Names the concrete situations that select this tool ('contract state that has no getter, owners or implementation pointers') and explicitly redirects proxy-slot reads to avax_proxy. Both the when-to-use and the when-to-use-something-else conditions are stated, not inferred.

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