Skip to main content
Glama

Proxy implementation, Unichain

unichain_proxy
Read-only

Find the implementation behind a proxy contract on Unichain: 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=0x078D782b760474a361dDA0AF3839290b0EF57AD6. 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": "unichain_proxy"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYes0x contract address

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so a 3 is the honest ceiling here: the description's extra disclosure (400 on malformed address, 422 on code-less address, both uncharged, $0.01/call, first 10 free, failed calls free, and why repeats are not free given idempotentHint=false) is genuinely useful context but overlaps with what the annotation set already signals about safety and mutation.

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 purpose and detection scope, then usage, then error and pricing terms, so a reader can stop early. It is dense and somewhat run-on in the second half (error codes, pricing, and billing caveats combined in one sentence), which costs a point but no sentence is pure filler.

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, the description does carry the return-value burden, and it partially discharges it by saying it 'names the kind found' and listing the slots read. However, it never states the shape of the response (e.g. whether the implementation address, admin, and kind are separate fields), which is the main remaining gap for a single-purpose lookup tool.

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?

There is a single parameter with 100% schema description coverage, so the schema already carries the semantics; the description adds only a concrete example address and the validation outcomes (400/422). Nothing about address format or chain-specific constraints is added beyond that baseline, which matches the expected 3 for high coverage.

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 opens with a specific verb+resource ('Find the implementation behind a proxy contract on Unichain') and then enumerates exactly what it detects: EIP-1967 implementation/beacon/admin slots, EIP-1822 UUPS, older OpenZeppelin layout, and EIP-1167 minimal-proxy bytecode, plus naming the proxy kind. This is far more precise than the title alone and clearly differentiates it from the chain-sibling *_proxy tools and from contract_risk.

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?

It gives an explicit trigger ('Use before trusting or decoding a contract whose code can be swapped by its admin') and names an alternative for a different need ('for a fuller risk verdict use contract_risk'). The agent knows both when to call it and where to go when this tool is insufficient.

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