Skip to main content
Glama

bug-bounty-intelligence-mcp

scan_contract

Submit a public GitHub repository for an automated Solidity analysis. The result is a list of AI-generated hypotheses to review by hand. It is not an audit and not a list of confirmed bugs. The scan reads the files most likely to move funds first, in at most six parts. Tests, mocks, scripts, interfaces and vendored dependencies are left out. The report states what share of the in-scope code was actually read, and a report can say that no hypotheses came out of the part that was read. Check the repository first, for free: GET https://x402.tokenizen.nl/api/bug-intel/precheck?repo=owner/name says whether the scan counts any Solidity in it and roughly how much of it will be read. How often the scan finds known issues on closed audit contests, including the misses, is published in the README of the repository (github.com/holistis/bug-bounty-intelligence-mcp). The prompt uses acceptance-rate hints from the 9,200 findings that could be exact-reconciled against contest outcomes, see METHODOLOGY.md. Cost: $5 USDC on Base (eip155:8453) via x402. Reports usually arrive within the hour. If the scan fails or the report does not help, write to info@holistischadviseur.nl for a new attempt or a refund, see the terms. Returns a job_id. Use get_scan_report to poll for results. If payment_required is true, pay $5 USDC to the payTo address on Base, then retry scan_contract with the same repo_url. [free]

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": {
      "repo_url": "<repo_url>"
    },
    "name": "scan_contract"
  }
}

Input Schema

NameRequiredDescriptionDefault
repo_urlYesPublic GitHub repo URL containing Solidity contracts (e.g. https://github.com/org/repo)
protocol_typeNoProtocol category for targeted analysis (optional, default GENERAL)

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?

With no annotations, the description carries the full burden and does so: it discloses cost ($5 USDC on Base eip155:8453 via x402), the 402 payment retry flow, delivery time (usually within an hour), refund/remedy path, scope limits (six parts max, tests/mocks/scripts/interfaces/vendored deps excluded), and the fact a report may legitimately show zero hypotheses. This is materially more than a restatement of the name.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and the key caveat are correctly front-loaded, but the block is long and several sentences serve marketing/credibility rather than invocation (the 9,200-findings reconciliation detail, the METHODOLOGY.md pointer, the README URL, the email address). Useful facts like cost and polling are buried mid-paragraph.

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, asynchronous job: precondition, cost and payment mechanics, return value (job_id), the polling tool to use next, failure remedy, and output reliability expectations. No output schema exists, and the description of what comes back is adequate.

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 both parameters are already documented at baseline 3. The description references repo_url only in the retry instruction ('retry scan_contract with the same repo_url') and never mentions protocol_type or how the enum categories steer the analysis.

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 ('Submit a public GitHub repository for an automated Solidity analysis') and immediately bounds the output ('AI-generated hypotheses', 'not an audit and not a list of confirmed bugs'). It also distinguishes itself from the sibling by naming get_scan_report as the polling step.

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?

Gives explicit when-to-use guidance including a free precheck endpoint to run first, the concrete cost and network, the polling alternative (get_scan_report), and the exact retry path when payment_required is true. When-not guidance is also present via the 'not an audit' caveat.

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