Skip to main content
Glama
SolidityScan MCP Server

SolidityScan MCP Server

Official
by Credshields

scan_and_get_report_pdf

Scans a deployed contract and returns a generated PDF security report for the specified chain and platform.

Instructions

Scan a deployed contract, then generate and return a PDF report (basic scaffold)

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": {
      "contractAddress": "<contractAddress>",
      "chain": "<chain>"
    },
    "name": "scan_and_get_report_pdf"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesChain name supported for the selected platform (from get_supported_platforms_chains).
apiTokenNoSolidityScan API token
platformNoExplorer/platform name (from get_supported_platforms_chains).
reportOptionsNoOptional report generation options to forward to the SDK
contractAddressYesThe deployed contract address to scan

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It states a PDF is returned but not in what form (bytes, URL, base64), whether the scan step has side effects, how long generation takes, or whether an apiToken is required — and the parenthetical 'basic scaffold' is too vague to count as disclosure.

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?

One front-loaded sentence with the action sequence in the right order and no padding. The trailing '(basic scaffold)' is the only questionable text, and it introduces ambiguity rather than length.

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

Completeness2/5

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

For a 5-parameter tool with a nested reportOptions object, no annotations and no output schema, the description says nothing about the return payload shape or what reportOptions controls. An agent could call it but would not know what to expect back.

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% and the enum-bearing chain/platform parameters are well documented in the schema itself, so the baseline of 3 applies. The description adds no meaning about reportOptions or how platform/chain interact.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a concrete verb+resource chain: scan a deployed contract, then generate and return a PDF report. An agent can tell this is a composite scan-plus-report tool rather than a plain scanner, though it never names scan_contract or explains how the two differ.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no when-to-use guidance at all — nothing says when to pick this over scan_contract or the file/directory/project scanners. The only hint is the implied 'use this when you want a PDF', which the agent must infer.

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