Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-smart-contract-audit

Smart Contract Audit: Smart contract security audit, solidity vulnerability scan. 11 static patterns: reentrancy, access-control, integer-overflow, unvalidated-call, tx.origin auth, delegatecall, selfdestruct, block.timestamp, weak-randomness, assert misuse, owner-change. Fast pre-check, deterministic. Case: minia2a.uk/blog/blog-ai-contract-audit-august-2026.html

Input Schema

NameRequiredDescriptionDefault
codeNo
sourceNo
contractNo
source_gzYes
source_b64Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / allOf
      Added value: +[
      +  {
      +    "anyOf": [
      +      {
      +        "required": [
      +          "contract"
      +        ]
      +      },
      +      {
      +        "required": [
      +          "source"
      +        ]
      +      }
      +    ]
      +  }
      +]
    • addedInput schema / required
      Added value: +[
      +  "source_b64",
      +  "source_gz"
      +]
  2. Changed5 schema fields changed
    • removedInput schema / properties / code / description
      Removed value: -"Code to process"
    • removedInput schema / properties / contract / description
      Removed value: -"Contract to process"
    • removedInput schema / properties / source / description
      Removed value: -"Source to process"
    • removedInput schema / properties / source_b64 / description
      Removed value: -"Source_b64 to process"
    • removedInput schema / properties / source_gz / description
      Removed value: -"Source_gz to process"
  3. First observed

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose meaningful traits: the check is rule-based against 11 named static patterns and is deterministic, which tells an agent results are reproducible and pattern-level, not semantic. It says nothing about cost/payment, rate limits, failure modes, or what the response contains.

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 purpose and pattern list are front-loaded and the enumeration earns its space by defining scan coverage. However, the trailing promotional blog URL adds no invocation value, and the pattern list is a single dense run-on rather than a structured summary.

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 tool with no annotations, no output schema, and a five-parameter schema with internally inconsistent requirements, the description does far too little: no explanation of accepted input encodings, no description of the report structure or severity output, and no indication of runtime or cost. Only the analysis scope is adequately covered.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across five parameters, so the description must compensate and it provides no parameter guidance at all. It never explains the relationship between code, source, contract, source_b64, and source_gz, nor that the schema's anyOf on contract/source conflicts with the required source_b64/source_gz — an agent has no way to know which input form to supply.

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?

States a specific verb and resource ("Smart contract security audit, solidity vulnerability scan") and enumerates the exact 11 static patterns checked, so an agent knows precisely the scope of analysis. It stops short of differentiating itself from near-name siblings such as x402-contract-scan, x402-contract-triage, or x402-ai-audit.

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?

"Fast pre-check, deterministic" implies this is a cheap first-pass screening rather than a deep reasoning-based audit, which is useful implied usage. It never explicitly says when to pick this over the AI-audit or scan/triage siblings, and gives no prerequisites or exclusions.

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.