Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-storage-slot

Storage Slot: Computes a Solidity mapping storage slot with keccak256 and an optional array slot offset 🆓 5 free trial calls per signed wallet

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": {
      "index": "<index>",
      "key": "<key>",
      "slot": "<slot>"
    },
    "name": "x402-storage-slot"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
slotYes
indexYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "index",
      +  "key",
      +  "slot"
      +]
  2. Changed3 schema fields changed
    • removedInput schema / properties / index / description
      Removed value: -"Index to process"
    • removedInput schema / properties / key / description
      Removed value: -"Key to process"
    • removedInput schema / properties / slot / description
      Removed value: -"Slot to process"
  3. First observed

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure, and it partially does: it identifies the computation algorithm (keccak256) and discloses a quota ('5 free trial calls per signed wallet'), which is useful operational context. However, it never states that the operation is a pure/read-only calculation, requires no auth beyond the signed wallet, or what form the result takes.

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 single sentence is front-loaded with the core purpose and has no redundant explanation. The trailing emoji and promotional quota line are minor noise that slightly dilutes an otherwise tight definition.

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

Completeness2/5

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

A three-parameter tool with zero schema documentation and no output schema leaves the agent guessing about the meaning of each argument and the return format. The description would need to define the slot/key/index semantics to be adequate for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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 explain index, key, and slot, but it does not map any meaning to the parameter names. 'Optional array slot offset' ambiguously gestures at one parameter without saying which, and the required nature of all three params is never reconciled with the word 'optional'.

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?

Names a specific verb and resource: 'Computes a Solidity mapping storage slot with keccak256'. This is far more informative than the title and lets an agent recognize it as an Ethereum storage-layout utility. It does not contrast itself with any sibling, but the domain term 'Solidity mapping storage slot' is distinctive enough to separate it from generic math/encode tools.

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?

There is no explicit when-to-use or when-not-to-use guidance, and no named alternative for related tasks such as ABI encoding or address work. The phrase 'optional array slot offset' hints at a use case (array elements within a mapping) but never states the condition under which the offset should be supplied.

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.