Skip to main content
Glama

APEX x402 Full MCP Hub

Smart contract audit pro

smart_contract_audit_pro
Read-onlyIdempotent

Smart-Contract Bytecode, Proxy & Security Audit ($0.10/call): disassembles live EVM opcodes (SELFDESTRUCT/DELEGATECALL/CREATE2), reads EIP-1967/1167 proxy slots, GoPlus owner powers & 1-block exit sim -> Grade A-F.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "smart_contract_audit_pro"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoEVM chain (ethereum, base, arbitrum, optimism, polygon, bsc, arc, robinhood). (example: base)
addressNo0x contract address to inspect on chain. (example: 0x940181a94A35A4569E4529A3CDfB74e38FD98631)
paymentNoOptional x402 PAYMENT-SIGNATURE header value (or send _meta["x402/payment"] / X-APEX-PASS).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavioral facts: the $0.10 per-call cost, that it performs live on-chain disassembly plus simulation (not static heuristics), and that output is a letter grade. It does not disclose latency, rate limits, or failure behavior for non-contract addresses, keeping it below 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?

It is a single front-loaded sentence carrying purpose, price, methodology, and output shape with no filler. The parenthetical opcode list is dense jargon but earns its place by signaling depth of analysis. Slightly overloaded, but efficient.

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 three-parameter tool with no output schema, the description covers the 'what' well and hints at the return value ('Grade A-F'), which is useful. However, it never clarifies that chain and address are functionally required despite zero declared required parameters, nor what the audit report actually contains beyond a grade. Adequate but with clear gaps for a paid, network-calling 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?

Schema description coverage is 100% and all three parameters (chain, address, payment) are documented in the schema with examples, so the description is not required to compensate. It adds no meaning about parameter formats, valid chain values, or the x402 payment flow beyond what the schema already states. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('Smart-Contract Bytecode, Proxy & Security Audit') and backs it with concrete techniques: EVM opcode disassembly, SELFDESTRUCT/DELEGATECALL/CREATE2 detection, EIP-1967/1167 proxy slot reads, GoPlus owner powers, and a 1-block exit simulation producing a Grade A-F. An agent can tell this is a deep bytecode-level auditor rather than a generic checker. It stops short of naming any sibling, so the differentiation from contract_audit or arc_contract_check must be inferred.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no explicit when-to-use statement, no prerequisites, and no alternatives named despite siblings like contract_audit and arc_contract_check existing. The only implicit guidance is that you supply a contract address and pay $0.10 per call. An agent must derive the invocation context entirely from the purpose line.

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.