Skip to main content
Glama

scan_contract_address

OPTIONAL, PAID ($0.03 USDC via x402 on Base or Solana). Every Slither finding with detector, impact, confidence, description and file/line locations for a DEPLOYED contract's verified source (proxies resolved to the current implementation), as JSON. Unverified contracts and failed scans are NOT charged. Without a valid x402 payment in _meta['x402/payment'] it returns the payment terms and does NOT scan or charge. Pay only with your user's explicit authorisation and within their spending limits.

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

Input Schema

NameRequiredDescriptionDefault
chainNobase
addressYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Goes well beyond the annotations: exact price ($0.03 USDC via x402 on Base or Solana), the payment carrier (_meta['x402/payment']), the no-charge conditions (unverified contracts, failed scans), proxy resolution behavior, and the returned JSON shape. The annotations (readOnlyHint=false, openWorldHint=true, idempotentHint=false) are consistent with a paid, external, non-idempotent scan, and the description explains why a payment call is not a plain read.

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?

The pricing and payment-gating facts are front-loaded, and every sentence carries operational information (cost, gating, no-charge cases, return payload). The second sentence is long and clause-heavy, which slightly hurts scanability.

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 paid, complex tool with no output schema, the description usefully enumerates the return fields and the charge/no-charge rules. It still leaves the supported chain values and the preview-vs-full trade-off unstated, which an agent needs before committing a paid call.

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 0%, so the description has to carry the load. It clarifies that 'address' means a deployed contract with verified source and it documents a hidden _meta payment parameter absent from the schema, but it says nothing about the 'chain' parameter — no valid values, no indication that Base is the default or that Solana applies to payment only.

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 concrete verb and resource: return every Slither finding (detector, impact, confidence, description, file/line) for a DEPLOYED contract's verified source, with proxies resolved to the current implementation. That scope wording implicitly separates it from the source-code scanning siblings and the preview variant without needing to name them.

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?

Clear usage conditions: it is OPTIONAL and PAID, requires explicit user authorisation within spending limits, and returns payment terms rather than scanning if no valid x402 payment is supplied. It does not, however, tell the agent when to prefer the cheaper preview sibling or when the full scan is warranted over preview.

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