Skip to main content
Glama

Proxy implementation, Berachain

bera_proxy
Read-only

Find the implementation behind a proxy contract on Berachain: 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=0x549943e04f40284185054145c6E4e9568C1D3241. 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": "bera_proxy"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYes0x contract address

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=true, so the safety profile is covered; the description still adds real value beyond that: per-call charging with no idempotency discount, free failed calls, the 400 (malformed address) vs 422 (no code) error split, and that both errors are uncharged. It does not describe the shape of the returned 'kind' value or how it behaves when multiple standards are simultaneously present, which keeps it off a 5.

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-loaded with what it resolves, then when to use it, then failure and pricing semantics — a sensible order with no filler. The closing clause 'each call is charged, so repeats are not free' partially restates the earlier pricing sentence and the idempotentHint annotation, costing a little economy.

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

Completeness5/5

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

For a single-address read tool with full schema coverage and no output schema, the definition supplies everything an agent needs: what is inspected, what is returned (the kind found), error behavior, cost model, and a routing hint to contract_risk. Nothing material is left to inference.

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% with one documented parameter, so the baseline is 3. The description adds substantive meaning on top: a concrete worked example address and the validation contract for that parameter (malformed -> 400, no code -> 422), which tells the agent what input is acceptable and what failure looks like.

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 Berachain') and enumerates exactly which slots/standards it resolves (EIP-1967 implementation/beacon/admin, EIP-1822 UUPS, older OZ layout, EIP-1167 minimal proxy). The chain qualifier distinguishes it from the many sibling *_proxy tools, and the output ('names the kind found') is stated.

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 names the alternative with its condition ('for a fuller risk verdict use contract_risk'). That is a when-to-use plus a when-to-use-something-else, which is exactly the bar for a 5.

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