Skip to main content
Glama

ScorpTech x402 Tools

Evm Contract Info

evm_contract_info
Read-onlyIdempotent

Use this when you need to know what a contract is before interacting with it: proxy, owner, token standard and risky functions (for a full buy/sell token check, see evm_token_safety). EVM contract introspection on Ethereum, Base, Arbitrum, OP Mainnet, Polygon or BNB Chain via public RPC: bytecode size/hash, EIP-1167 / EIP-1967 / ZeppelinOS / EIP-7702 proxy detection, ERC-165/20/721/1155(/2981) standards, name/symbol/decimals/supply, owner()/paused(), and a bytecode selector scan against 145 known signatures that surfaces capabilities (mint, blacklist, fee setters, trading switches, upgrade) and a 0-100 risk score. Static analysis only — not a honeypot simulation. Read-only. Returns JSON with: address, chain, chainId, blockNumber, isContract, kind, codeSize, codeHash. Price: $0.01 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/evm-contract-info

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

Input Schema

NameRequiredDescriptionDefault
chainNo
addressYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), yet the description adds a lot: supported chains, the RPC source, 145-signature scan scope, static-analysis-only limitation, and a per-call price of $0.01 USDC via x402 plus an HTTPS alternative. Pricing and the analysis-vs-simulation caveat are exactly the kind of behavior an agent cannot infer from annotations.

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?

Usage guidance and the sibling disambiguation are front-loaded, and every clause carries real information (chains, detection schemes, pricing). The middle sentence is an overlong list packed into one breath, which hurts scanability but not correctness.

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 supplies return fields (address, chain, chainId, blockNumber, isContract, kind, codeSize, codeHash), though that list omits the proxy/standard/risk-score results the prose promises, leaving a small mismatch. Pricing, transport and analysis limits are covered, so it is complete enough to call correctly.

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 0%, so the description must carry parameter meaning; it partially does by listing the six supported chains, which effectively conveys valid 'chain' values. However, it never states the address format expectations or what chain is assumed when 'chain' is omitted, so the two bare schema properties remain under-explained.

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 ('EVM contract introspection') and enumerates exactly what it surfaces: bytecode size/hash, proxy detection schemes, token standards, owner()/paused(), selector scan and a risk score. It explicitly distinguishes itself from the sibling evm_token_safety, so an agent can separate the two 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?

'Use this when you need to know what a contract is before interacting with it' gives a concrete decision context, and the parenthetical routes the agent to evm_token_safety for a full buy/sell token check. It also states the boundary condition ('Static analysis only — not a honeypot simulation'), which tells the agent when this tool will not answer the question.

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