Skip to main content
Glama

EVM Address Safety Inspector

inspect_evm_address_safety
Read-onlyIdempotent

Read-only, side-effect-free EVM address and contract classification (EOA, EIP-7702 delegated EOA, EIP-1967 proxy, or ERC-20 token) checking privileged mint/pause/blacklist controls, SELFDESTRUCT opcodes, and ONNX drainer score. Use this before interacting with an unfamiliar address or contract; use simulate_evm_tx to dry-run specific transaction calldata, inspect_eip7702_authorization to audit EIP-7702 authorization_list tuples, or preflight_transaction_guard for a combined ALLOW/WARN/BLOCK verdict.

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": {
      "chainId": "<chainId>",
      "address": "<address>"
    },
    "name": "inspect_evm_address_safety"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYes20-byte EVM address to inspect
chainIdYesEVM chain ID (e.g. 1, 8453, 42161, 10, 137)

Output Schema

NameRequiredDescriptionDefault
addressNoInspected 20-byte EVM address
chainIdNoInspected EVM chain ID
verdictNoDeterministic decision or classification label when applicable
riskLevelNoSafety classification level
timestampNoISO-8601 evaluation timestamp when provided
drainerScoreNoONNX drainer risk score
classificationNoDetected account/contract type (EOA, EIP-7702, Proxy, ERC-20)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true, so safety is covered structurally; the description reinforces it with 'read-only, side-effect-free' and, more usefully, discloses what the inspection actually looks for, which annotations cannot express. It stops short of discussing cost, latency, or coverage limits such as unverified or non-standard contracts, which keeps 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?

Two sentences, front-loaded with the read-only classification scope before the routing guidance, and every clause carries information. The first sentence is dense with a long parenthetical enumeration, which costs a little scannability, but nothing is redundant.

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

Completeness5/5

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

An output schema exists, so return values need not be explained, and the description instead covers the parts an agent needs to decide and prepare: what categories it returns, what risk signals it checks, and when to prefer a sibling. For a two-parameter read-only tool this is fully sufficient.

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%: the address parameter documents the 20-byte hex pattern and chainId documents its meaning with example chain IDs. The description adds no syntax, formatting, or constraint detail beyond that, 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 and resource (classify an EVM address/contract) and enumerates the exact output taxonomy it resolves to: EOA, EIP-7702 delegated EOA, EIP-1967 proxy, or ERC-20 token. It also lists the concrete checks performed (privileged mint/pause/blacklist controls, SELFDESTRUCT opcodes, ONNX drainer score), so an agent can distinguish it from simulate_evm_tx and preflight_transaction_guard 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 an explicit trigger ('Use this before interacting with an unfamiliar address or contract') and then routes to three named alternatives with the condition that selects each: simulate_evm_tx for dry-running calldata, inspect_eip7702_authorization for authorization_list tuples, preflight_transaction_guard for a combined verdict. When-to-use, alternatives, and scope boundaries are all present.

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