Skip to main content
Glama

Proxy implementation, Sei

sei_proxy
Read-only

Find the implementation behind a proxy contract on Sei: 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=0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392. 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": "sei_proxy"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYes0x contract address

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/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, and the description reinforces this with 'Reads or computes only and changes nothing'. It adds genuinely new behavioral context the annotations cannot express: HTTP 400 for a malformed address, 422 for an address without code, both uncharged, and that each call is charged so repeats are not free (explaining idempotentHint=false). The gap is that it does not describe the response shape, i.e. which fields carry the implementation address and kind.

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?

It is front-loaded with the purpose before alternatives, errors, and pricing, and every clause carries information an agent needs. It is a dense run-on block rather than cleanly separated sentences, which slightly hurts scanability, but there is no 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?

For a one-parameter read tool with no output schema, the definition covers purpose, standards inspected, error behavior, pricing, and safety profile. The only meaningful omission is a description of the returned fields (implementation address, proxy kind, admin/beacon values), which an agent would want since no output schema exists.

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?

With a single parameter at 100% schema coverage, the schema already defines 'address' as a '0x contract address', so the baseline is high. The description adds real value beyond the schema by specifying validation outcomes for that argument (400 for malformed address, 422 for address with no code) and supplying a concrete example address.

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 and resource ('Find the implementation behind a proxy contract on Sei') and enumerates exactly which storage slots and proxy standards are inspected (EIP-1967 implementation/beacon/admin, EIP-1822 UUPS, older OpenZeppelin layout, EIP-1167 bytecode). It also states the output identity ('names the kind found'), so an agent can distinguish it from generic readers like sei_storage or sei_call without opening the schema.

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 when-to-use condition ('before trusting or decoding a contract whose code can be swapped by its admin') and routes to a named alternative for a broader verdict ('for a fuller risk verdict use contract_risk'). The cost/failure guidance ('failed calls free', 'first 10 free') further informs the decision to call.

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