Skip to main content
Glama

Crypto Bot Audit + Market Data (x402 paid)

A run of storage slots

chain_storage_range
Read-onlyIdempotent

Up to 16 consecutive 32-byte words from any starting slot — walk a struct or the array behind a mapping instead of trusting one view function to explain itself. Costs $0.001 USDC per call. Chains: base, ethereum, arbitrum, bsc, polygon, optimism, avalanche. Byte-identical to GET /chain/storage-range?chain=base&address=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&fromSlot=0x0&count=8&blockTag=latest.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainYeschain key: base, ethereum, arbitrum, bsc, polygon, optimism, avalanche [required]
countNohow many items to read (bounded) (default 8)
addressYescontract whose storage is read [required]
blockTagNoblock number or latest|safe|finalized|earliest|pending (default "latest")
fromSlotNofirst storage slot (hex, up to 32 bytes) (default "0x0")

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
tsNo
noteNo
rowsNo
chainNo
countNo
staleNo
caveatNo
reasonNo
sourceNo
addressNo
chainIdNo
blockTagNo
fromSlotNo
populatedNo
chainLabelNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "address": {
      +      "type": "string"
      +    },
      +    "blockTag": {
      +      "type": "string"
      +    },
      +    "caveat": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "chain": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "chainId": {
      +      "anyOf": [
      +        {
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "chainLabel": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "count": {
      +      "type": "integer"
      +    },
      +    "fromSlot": {
      +      "type": "string"
      +    },
      +    "note": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "populated": {
      +      "type": "integer"
      +    },
      +    "reason": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "rows": {
      +      "items": {},
      +      "type": "array"
      +    },
      +    "source": {
      +      "type": "string"
      +    },
      +    "stale": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "ts": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so the safety profile is covered. The description adds valuable behavioral context: the 16-word bound, the $0.001 USDC cost per call, the supported chains, and the byte-identical REST endpoint. It doesn't describe pagination or error behavior, but the bound and cost are the key behavioral traits an agent needs.

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?

Three sentences with zero waste. The core capability and use case are front-loaded, followed by cost and chain list, then the REST equivalent. Every sentence earns its place.

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?

The description is complete for a read-only storage-range tool: it states the bound, cost, supported chains, and REST equivalent. The output schema exists, so return values are covered. The only minor gap is not explicitly stating what happens when count exceeds 16, but the 'up to 16' phrasing implies the bound.

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 100%, so the schema already documents all 5 parameters. The description adds the 'up to 16' bound and the '32-byte words' unit, which clarifies count semantics, but doesn't add much beyond that. Baseline 3 is appropriate since the schema does the heavy lifting.

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 clearly states the tool reads up to 16 consecutive 32-byte storage words from any starting slot, with a concrete use case (walking a struct or mapping array). It distinguishes itself from chain_storage and chain_storage_diff by emphasizing the range/sequence aspect and the byte-identical REST endpoint.

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

Usage Guidelines4/5

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

The description implies when to use it (when you need to walk a struct or array behind a mapping rather than trust a view function) and provides a concrete REST equivalent. It doesn't explicitly name sibling alternatives like chain_storage or chain_storage_diff, but the use-case framing gives clear context. The cost disclosure also helps an agent decide whether to use it.

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