Skip to main content
Glama

scan_contract_address_preview

Read-onlyIdempotent

FREE check of a DEPLOYED contract by address (chain: base, ethereum, bnb, arbitrum, optimism or polygon; default base), no key and no wallet. Kestrova fetches the contract's verified source (Sourcify), follows proxies to the current implementation and returns the same free preview as scan_solidity_preview (severity counts, High/Medium detector names, one example finding) plus contract facts (name, compiler, proxy). Unverified contracts get bytecode signals instead (likely owner powers such as mint, pause, blacklist, fee changes, upgradeability). Use before your agent interacts with, buys or approves a contract. Automated pattern detection, not an audit: it does not detect honeypots or rug pulls, and zero findings does not mean safe.

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

Input Schema

NameRequiredDescriptionDefault
chainNobase
addressYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Well beyond the readOnly/openWorld/idempotent annotations: it discloses the external data source (Sourcify verified source), proxy-following to the current implementation, and a distinct unverified-contract fallback path returning bytecode signals like mint, pause, blacklist and upgradeability. It also states that no key or wallet is required and bounds the result with an explicit accuracy caveat.

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?

Front-loaded: cost, resource and scope come first, then return shape, then the fallback behavior, then the safety caveat. Dense but every clause adds information; the sentence covering source fetching and proxy following is long but justified for the complexity it conveys.

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?

No output schema exists, so the description must explain return values — it does precisely: severity counts, High/Medium detector names, one example finding, plus contract facts (name, compiler, proxy). Combined with the unverified-path description and the explicit 'not an audit' limitation, an agent has what it needs to call and interpret this tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage the description must carry the load, and it enumerates the accepted chain values (base, ethereum, bnb, arbitrum, optimism, polygon) and the default 'base' — information the schema lacks entirely. The address parameter's format is only implied ('by address', all chains EVM), so a small gap remains.

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?

Specific verb + resource + scope: 'FREE check of a DEPLOYED contract by address' on named chains, with default stated. It also names the sibling whose output it mirrors ('returns the same free preview as scan_solidity_preview'), which lets an agent distinguish this address-based entry point from the Solidity-source-based one 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 Guidelines4/5

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

Explicit when-to-use ('Use before your agent interacts with, buys or approves a contract') and explicit when-not ('not an audit: it does not detect honeypots or rug pulls, and zero findings does not mean safe'). The FREE/'preview' framing implies a paid, fuller sibling (scan_contract_address) but never says to go there for a complete audit, so the alternatives routing is only implicit.

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