Skip to main content
Glama

Proxy implementation, Avalanche

avax_proxy
Read-only

Find the implementation behind a proxy contract on Avalanche: 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=0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E. 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": "avax_proxy"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYes0x contract address

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Beyond the annotations the description adds real behavioral context: 400 for a malformed address, 422 for an address without code, both uncharged, $0.01/call with the first 10 free, and the note that repeats are not free — which usefully explains idempotentHint=false. However, 'Reads or computes only and changes nothing' merely restates readOnlyHint/destructiveHint=false, and it never says what the response contains (implementation address, admin, kind fields), which is the main behavioral gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded and information-dense, but the second half is a run-on mixing error codes, an example address, pricing, payment rails, and a read-only disclaimer. The read-only sentence duplicates the annotations and 'failed calls free' repeats the uncharged note, so not every clause earns its place.

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, no-output-schema tool the description covers scope, failure modes, and cost, which is most of what an agent needs. The missing piece is the return shape — with no output schema, an agent cannot know what fields come back beyond 'names the kind found'.

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 coverage is 100%, so the single address parameter and its '0x contract address' description are already documented, giving a baseline of 3. The description adds only a worked example value and the malformed-address failure mode; helpful but marginal.

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 on Avalanche) and enumerates exactly which slot standards it resolves (EIP-1967 implementation/beacon/admin, EIP-1822 UUPS, legacy OZ, EIP-1167), plus that it names the proxy kind. That is enough for an agent to separate it from avax_is_contract or avax_storage without opening a 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?

Gives a concrete trigger ('before trusting or decoding a contract whose code can be swapped by its admin') and routes to the named alternative (contract_risk) for a fuller risk verdict. When-to-use and when-to-use-something-else are both explicit.

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