Skip to main content
Glama

A2A Gateway — Base Token Guard & x402 Settlement

fast_code_audit

Zero-refusal, lightning-fast smart contract and code security audit powered by local Qwen3.5-9B. Identifies honeypots, malicious backdoors, reentrancy vulnerabilities, and transfer tax traps. Zero retention, completely ephemeral. Charges 0.02 USDC via x402 on Base. Supply payer_address. For redemption pass invoice_id and signature in _meta.x402/payment, with tx_hash for on-chain payment or method=points where supported. Settlement errors set isError and _meta.x402/payment-error.status_code; 503 indicates admission unavailable, while a 409 uncertain outcome must not be automatically retried.

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": {
      "prompt": "<prompt>",
      "payer_address": "<payer_address>"
    },
    "name": "fast_code_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptYesSolidity code snippet, contract logic, or security question to audit
payer_addressYesPayer wallet for invoice creation and redemption
system_promptNoOptional customized system role prompt

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/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 substantial work: it discloses the 0.02 USDC x402 charge on Base, zero retention/ephemeral handling, and precise failure semantics (isError, payment-error.status_code, 503 admission unavailable, 409 uncertain outcome not to be retried). The remaining weakness is that 'zero-refusal' and 'lightning-fast' are unverifiable marketing claims rather than behavioral facts.

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?

Front-loads the purpose, which is good, but the opening clause is padded with 'Zero-refusal, lightning-fast' and the payment/error sentence is a dense run-on packing four distinct conditions. The information earns its place; the packaging does not.

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?

For a paid, stateless audit tool with no output schema, the description covers cost, payment mechanics, retention, and error handling well. It stops short of describing what a successful audit response contains, which an agent needs in order to consume the result.

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 coverage is 100%, so prompt, payer_address, and system_prompt are already documented, and the description largely restates payer_address. It does add meaning beyond the schema by describing redemption fields (invoice_id, signature, tx_hash, method=points) that do not appear in the input schema at all, which is genuinely useful but sits outside the declared parameters.

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: audits smart contract and code for honeypots, backdoors, reentrancy, and transfer-tax traps. That is concrete enough to separate it from a token-safety checker, but it never names a sibling or states the boundary explicitly, so differentiation is left to inference.

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?

Gives operational instructions (supply payer_address, pass invoice_id/signature in _meta.x402/payment, use tx_hash or method=points) but never says when to choose this over check_base_token_safety or deep_protocol_reasoning. Usage is implied by the audit framing rather than stated as a selection rule.

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