Skip to main content
Glama
NullClear — Web3 Security & Tx Decoder

NullClear — Web3 Security & Tx Decoder

Official

inspect_contract_abi_and_proxy

Read-onlyIdempotent

Inspect smart contracts by resolving EIP-1967, EIP-1822, and EIP-1167 proxy implementations and extracting function selectors and dangerous opcodes from on-chain bytecode without an API key.

Instructions

[ZERO API KEY REQUIRED] Resolves EIP-1967, EIP-1822, and EIP-1167 proxy implementation addresses via eth_getStorageAt and extracts decoded 4-byte PUSH4 function selectors and dangerous opcodes (SELFDESTRUCT / DELEGATECALL) directly from on-chain bytecode without an Etherscan or Basescan API key.

Input Schema

NameRequiredDescriptionDefault
chainNoTarget EVM chain ('base' or 'eth')base
addressYesSmart contract address (0x...) on Base or Ethereum0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.2

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish readOnly/idempotent/non-destructive/openWorld, so the bar is lower; the description still adds non-obvious behavioral context — it works without any API key by reading storage slots and raw bytecode directly, and reports dangerous opcodes. It omits rate limits, RPC failure behavior, and partial-result semantics, keeping it short of 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?

A single front-loaded sentence that leads with the key differentiator and then the specific capabilities; nothing is redundant. It is dense with technical jargon (eth_getStorageAt, PUSH4) that leans toward implementation detail rather than agent guidance.

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?

With no output schema, the description partially compensates by naming the three result categories: implementation addresses, decoded 4-byte selectors, and dangerous opcode flags. It does not describe the response shape or how multiple proxy standards are reported, leaving a modest gap for a two-param analysis 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 both parameters (chain enum, address) are fully documented in the schema. The description adds no syntax, default, or format detail beyond what the schema already conveys, so the baseline 3 applies.

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+resource: resolving EIP-1967/1822/1167 proxy implementations and extracting PUSH4 selectors and dangerous opcodes from on-chain bytecode. The mechanism (eth_getStorageAt) and named standards make it clearly distinguishable from sibling forensics tools like scan_token_forensics or nullclear_token_security_audit.

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 '[ZERO API KEY REQUIRED]' framing implicitly tells the agent when this tool is preferable to Etherscan/Basescan-dependent alternatives, but there is no explicit when-to-use, when-not-to-use, or named sibling routing. Usage must be inferred from the described capability.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.