Skip to main content
Glama

Base Swap Simulator & Risk Gate

audit_base_bytecode

Static EVM bytecode & proxy audit on Base (eip155:8453): detects EIP-1967/EIP-1167/ZeppelinOS proxies and inspects implementation code, scans DELEGATECALL/SELFDESTRUCT/CREATE2 opcodes and risky admin selectors (mint, blacklist, pause, setFee, upgradeTo). Unlimited paid calls via x402 at /api/v1/bytecode-audit ($0.002 USDC).

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": "audit_base_bytecode"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesBase contract address (0x...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the whole burden. It does disclose the safety-relevant profile well (static analysis only, no execution) and the x402 payment model ($0.002 USDC, unlimited paid calls), but it never states behavior on non-contract addresses/EOAs, whether results are cached, or what the tool does on an unverified or non-proxy contract. Real but incomplete coverage.

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?

A single front-loaded sentence that leads with the capability and chain before listing detections, then closes with pricing/endpoint. It is information-dense with almost no filler, though the parenthetical opcode and selector lists make it slightly crammed to scan.

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

Completeness3/5

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

For a one-parameter tool this covers the input well, but there is no output schema, so the description should say what a caller gets back (a verdict, a findings list, JSON shape, severity levels) and it does not. The absence of any adjacent-tool routing guidance also leaves an agent to infer placement among the sibling tools.

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?

Only one parameter and schema coverage is 100% ('Base contract address (0x...)'), so the schema already documents it fully. The description reinforces chain scoping via eip155:8453 but adds no format, checksum, or validation semantics beyond that; baseline 3 applies when the schema does the heavy lifting.

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?

Names a specific verb and resource (static bytecode & proxy audit) plus a specific chain (Base, eip155:8453), then enumerates exactly what it detects (EIP-1967/EIP-1167/ZeppelinOS proxies, DELEGATECALL/SELFDESTRUCT/CREATE2 opcodes, mint/blacklist/pause/setFee/upgradeTo selectors). An agent can distinguish this from sibling checkers like check_base_wallet or simulate_base_swap 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'Static ... audit' implies the tool reads deployed code rather than executing or transacting, which is useful context, but there is no explicit statement of when to reach for this versus the sibling read-only tools, and no exclusions or prerequisites. Usage is inferable but never stated.

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