Skip to main content
Glama

Cerberus x402 Security MCP Server

cerberus_audit_solidity

Read-onlyIdempotent

$0.15 USDC (150000 microUSDC via Base/Arbitrum EIP-3009 x402 -> Wallet 1 :: SI_Gemini). 10-detector Solidity static & invariant contest auditor (ERC-4626 inflation, Chainlink/L2 sequencer staleness, unchecked ERC-20 return, reentrancy CEI, signature replay, tx.origin, arbitrary delegatecall, division-before-multiplication, unprotected initializer/selfdestruct, fee-on-transfer accounting) with CWE/SWC tags and auto-generated Foundry forge-std/Test.sol scaffolds for HIGH/CRITICAL findings.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cerberus_audit_solidity"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesNoMap of path -> Solidity source or array of { path, content }
sourceNoSingle Solidity contract source code string
filenameNoOptional Solidity filename when supplying single "source"
x402PaymentNoOptional base64-encoded x402 v1/v2 EIP-3009 USDC payment payload (alternative to HTTP X-PAYMENT / PAYMENT-SIGNATURE header or JSON-RPC params._meta.x402Payment).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, openWorldHint=false, and idempotentHint, so the core safety profile is covered. The description adds useful context beyond annotations: exact cost, payment network and mechanism, detector coverage, and output details (CWE/SWC tags, Foundry scaffolds). It omits payment-failure behavior, settlement timing, and rate limits, and the per-call payment is a financial side effect that sits somewhat awkwardly with the read-only/idempotent hints, though it does not directly contradict the core read-only analysis operation.

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?

The description consists of two dense sentences: the first is purely about pricing and the second is a run-on containing a 10-item detector list. The detector list is informative, but the purpose is not front-loaded and the structure could be cleaner.

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

Completeness4/5

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

Given that no output schema exists, the description usefully explains the return content: CWE/SWC tags and auto-generated Foundry forge-std/Test.sol scaffolds for HIGH/CRITICAL findings. It leaves out report structure and error behavior, but is otherwise adequate for a four-parameter paid audit tool.

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?

The input schema has 100% description coverage for all four parameters, including files, source, filename, and x402Payment. The description adds no parameter-specific syntax or selection guidance beyond what the schema already documents, so the baseline of 3 is appropriate.

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 states a specific verb and resource: a '10-detector Solidity static & invariant contest auditor', and it enumerates detector categories plus Foundry scaffold generation. It does not explicitly differentiate itself from siblings such as cerberus_token_risk or cerberus_scan_repo, so it falls short of a 5.

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 explicit when-to-use or when-not-to-use guidance, and no alternatives are named. The tool's purpose implies auditing Solidity code, but it does not say when to choose it over sibling tools like cerberus_scan_repo or cerberus_token_risk, nor when to prefer files versus source.

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.