Skip to main content
Glama
Tanod MCP Server

Tanod MCP Server

Official

scan_contract_address

Read-onlyIdempotent

Scans a deployed, verified Ethereum or Base contract by address for security bugs, returning findings with severity and fixes. For source you hold, use scan_contract_source.

Instructions

pactlint: Scan a deployed, verified contract on Ethereum or Base for security bugs, by address. For source you hold use scan_contract_source. Fetches the verified source from Sourcify. Runs solc, Slither and custom DeFi detectors (unchecked ERC-20 returns, zero slippage limits, oracle misuse, ERC-4626 inflation, signature replay, ...). Returns a JSON report (findings with severity, confidence, file:line and a fix) plus Markdown. Price: USD 0.25 up to 3,000 nSLOC, USD 0.75 up to 15,000; refused inputs are never charged. Free: 3 scans or 30 txpeek checks per IP per UTC day. Unverified contracts are refused (not charged): use check_contract_before_interaction. Typically 3-30 s; at most 60 s; a full queue is a 503 with Retry-After (not charged). Automated and heuristic, not an audit: findings can be false positives and an empty report does not prove the code is free of bugs. Docs: https://tanod.dev/learn/smart-contract-scanner-api.html

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>",
      "chain": "<chain>"
    },
    "name": "scan_contract_address"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesChain the contract is deployed on.
addressYesContract address (0x + 40 hex).
include_noisyNoAlso report detectors dropped by default as noisy (high false-positive rate).
include_dependenciesNoAlso report findings in dependencies, tests and mocks (lib/, node_modules/, OpenZeppelin, ...).
include_informationalNoAlso report informational (style and best-practice) findings.

Output Schema

NameRequiredDescriptionDefault
errorNoOnly on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object.
statsNo
statusNo
scan_idNo
findingsNo
disclaimerNo
schema_versionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.4

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations with pricing tiers, free quota per IP per UTC day, no-charge guarantees for refused inputs and 503s, expected latency (3-30 s, max 60 s), and a candid false-positive disclaimer that an empty report is not proof of safety. This is exactly the operational context an agent needs before spending money on a scan.

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?

Purpose and sibling routing are front-loaded, then cost, limits, failure modes and caveats in a logical order. It is dense and slightly run-on in the detector/pricing middle section, but nearly every clause carries actionable information.

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?

Covers everything an agent needs for a paid, network-dependent scan: inputs accepted, outputs produced, cost model, quota, latency, error/refusal behavior, and confidence limits. The output schema exists and the description still usefully summarizes the report shape (findings with severity, confidence, file:line, fix).

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%, so the parameters (chain enum, address pattern, the three include_* toggles) are already fully documented. The description mentions chain support and detector categories but adds no meaning to the include_noisy/include_dependencies/include_informational switches beyond what the schema says.

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: 'Scan a deployed, verified contract on Ethereum or Base for security bugs, by address,' and immediately contrasts it with scan_contract_source for held source. The tool is unambiguously distinguishable from its closest sibling.

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?

Explicit routing: use scan_contract_source when you hold the source, and check_contract_before_interaction when the contract is unverified. It also states prerequisites (verified source on Sourcify), supported chains, and what gets refused, so the agent knows both when to call it and when not to.

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

Deploy Server

Other Tools