Skip to main content
Glama

proxy_implementation

Is this contract an upgradeable proxy, and where does its current code live? Returns the proxy standard, implementation, admin and beacon addresses, whether the implementation has code, and the storage slots and block read. Base, Ethereum and major L2s; optional raw storage slots decoded. $0.003/call via x402 (Base or Solana) or MPP. Also GET with query parameters. Free worked example: GET /api/v1/proxy-implementation/example.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
blockNo'latest' (default) or a decimal block number; explicit blocks are immutable and cached longer.latest
chainNoChain name (base, ethereum, optimism, arbitrum, polygon) or chain id (8453, 1, 10, 42161, 137). Default base.base
slotsNoUp to 4 extra raw storage slots to read and decode: each a 0x bytes32 or a decimal slot number. GET accepts a comma-separated list.
addressYesContract address to inspect, 0x plus 40 hex characters (any case).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses returned fields, optional raw storage decoding, supported chains, payment mechanism, price, GET support, and a free example. It stops short of error behavior and invocation limits beyond price.

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 definition is front-loaded with the core question and return fields, then adds chain, payment, and example details. It is dense but not redundant; pricing and GET notes could be tightened but each sentence has a plausible operational use.

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?

With no output schema and no annotations, the description must carry return-value and safety context. It enumerates the returned proxy fields and payment model well enough for correct invocation, though it omits failure modes and some corner-case behavior.

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 all four parameters are already well documented in the schema. The description adds only a general mention of optional raw storage slots and chain coverage, not meaningfully extending parameter semantics beyond 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?

The description states a specific question and resource: checking whether a contract is an upgradeable proxy and locating its current code. It clearly distinguishes the operation from generic contract inspection by naming the proxy standard, implementation, admin, and beacon outputs.

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?

Usage is implied by the opening question and the supported chain list, but there is no explicit when-to-use guidance, no alternatives named, and no exclusions. An agent can infer the tool's niche, but the definition does not route between this and any sibling.

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.