Skip to main content
Glama

M2MCent x402 Universal MCP Gateway

smart-contract-auditor-mcp

[0.060 USDC] Solidity Reentrancy & AST Linter: Static analysis detecting SWC-107 reentrancy, selfdestruct and tx.origin bugs.

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": {
      "contractCode": "<contractCode>"
    },
    "name": "smart-contract-auditor-mcp"
  }
}

Input Schema

NameRequiredDescriptionDefault
contractCodeYesDeterministic input payload for Execute smart-contract-auditor-mcp

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It does add genuinely useful context beyond the schema: the tool is a paid call (0.060 USDC) and it performs static analysis rather than execution, implying a non-destructive read. However, it says nothing about coverage limits (only three bug classes, not a general audit), false-positive behavior, or result format for a tool with no output schema.

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

Conciseness5/5

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

One tightly packed sentence with the price, domain, method, and detected bug classes front-loaded. Every token earns its place and there is no filler.

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 one-parameter tool this is close to adequate, but since there is no output schema and no annotations, the description should have covered what the scan returns and its scope boundaries. The most consequential omission is that a caller cannot tell whether a clean result means 'no bugs' or 'bugs outside the three checked classes'.

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 there is a single required parameter, so the baseline is 3. The description adds no detail about the contractCode payload itself — whether it must be raw Solidity source, whether file paths or bytecode are accepted, or any size limits.

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?

Names a specific resource (Solidity contracts) and a specific operation (static analysis / AST linting), then enumerates the exact vulnerability classes targeted: SWC-107 reentrancy, selfdestruct, and tx.origin. An agent knows precisely what this tool does. It does not reference any sibling, but the sibling catalog contains only unrelated domain tools, so no differentiation is realistically needed.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer it should submit Solidity source when it wants these three bug classes detected. There is no explicit when-to-use, no statement about when NOT to use it (e.g., for full audits, bytecode, or non-Solidity code), and no prerequisites or alternatives.

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.