Skip to main content
Glama

Proxy implementation, Base

base_proxy
Read-only

Find the implementation behind a proxy contract on Base: reads the EIP-1967 implementation, beacon and admin slots, EIP-1822 (UUPS), the older OpenZeppelin layout and EIP-1167 minimal-proxy bytecode, and names the kind found. Use before trusting or decoding a contract whose code can be swapped by its admin; for a fuller risk verdict use contract_risk. A malformed address is 400; an address without code is 422, both uncharged. Example: address=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913. 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": "base_proxy"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYes0x contract address

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations cover readOnly/destructive/openWorld, and the description adds genuinely new operational facts: explicit error semantics (400 for malformed address, 422 for address without code), the fact that failed calls are uncharged, the pricing model ($0.01/call via x402 USDC or card key, first 10 free), and that repeats are billed. The billing note also explains why idempotentHint=false makes sense for an otherwise read-only tool, which an agent could otherwise misread.

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-loads the core action and detection list, then usage, then error codes, then pricing. Every sentence is informative, though the pricing/billing tail is comparatively long and could be compressed without losing the key facts (charged per call, failures free).

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?

No output schema exists, and the description only partly compensates by saying it "names the kind found" — it does not describe the response shape beyond that (e.g., whether the implementation address is returned alongside the kind). For a single-parameter read tool with full annotation coverage and clear error semantics, this is the main remaining gap.

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% and the single address parameter is documented as "0x contract address", so the schema carries the baseline. The description still adds value with a concrete valid example address and by defining what an invalid value produces (400), which tells the agent the expected format is enforced rather than normalized.

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 specific verb and resource ("Find the implementation behind a proxy contract on Base") and enumerates the exact detection mechanisms: EIP-1967 implementation/beacon/admin slots, EIP-1822 UUPS, legacy OpenZeppelin layout, and EIP-1167 minimal-proxy bytecode. It also says it names the kind found, which distinguishes it from generic read tools like base_storage or base_call.

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?

Gives an explicit trigger ("Use before trusting or decoding a contract whose code can be swapped by its admin") and routes to a named alternative for a different need ("for a fuller risk verdict use contract_risk"). The sibling chain (base_proxy/eth_proxy/op_proxy/arb_proxy/polygon_proxy) is implicitly resolved by naming Base as the chain.

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