Skip to main content
Glama

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

TableJSON Schema
NameRequiredDescriptionDefault
codeNoCode to process
sourceNoSource to process
contractNoContract to process
source_gzNoSource_gz to process
source_b64NoSource_b64 to process

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

B3.3/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 of behavioral disclosure. It usefully reveals that the tool is static, deterministic, and confined to 11 fixed patterns, which calibrates an agent's expectations of coverage. It does not disclose the output format, false-positive tendencies, or what the trailing 'Case: minia2a.uk/...' URL is meant to convey.

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

Conciseness4/5

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

The purpose is front-loaded and the 11-pattern list is compact and informative. The 'Case: minia2a.uk/blog/blog-ai-contract-audit-august-2026.html' clause is unhelpful noise that costs a point.

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 security audit tool with five optional but unexplained input parameters, no output schema, and no annotations, the description is incomplete. An agent cannot determine which parameter to use, what encoding source_gz/source_b64 expect, or what the returned report contains.

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 the baseline is 3. The five parameter descriptions are tautological placeholders ('Code to process', 'Source to process') that add no meaning, and the description only hints that the input is Solidity. It does nothing to clarify how code/source/contract/source_gz/source_b64 relate or which one an agent should populate.

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+resource: 'smart contract security audit, solidity vulnerability scan,' and enumerating the 11 static patterns makes the tool's scope concrete and recognizable. It stops short of a 5 because it never explicitly contrasts itself with audit-adjacent siblings such as x402-ai-audit or x402-contract-scan.

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 tool is for quick, reproducible screening rather than deep audit work, which gives some selection context. However, no alternatives are named and there is no explicit when-to-use/when-not-to-use guidance, despite many overlapping audit tools in the sibling catalog.

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.

TDQS

D1.6/5.0
Disambiguation1/5

The tool set is saturated with near-duplicates and synonyms: character-count vs char-count, clamp vs clamp-value, is-abundant vs is-abundant-num vs is-abundant-number, and fetch vs browser-scrape vs web-scrape vs text-scrape. Generic names like 'difference', 'normalize', 'range', and 'partition' make the boundaries even harder for an agent to determine.

Naming Consistency2/5

Most tools share a x402- kebab-case prefix, but the set mixes noun-only names (math, hash, prime, time), verb-first names (get_stats, find, validate), auto-generated names (x402-publish-1787853294312-base-account), and inconsistent variants like temp vs temperature vs temperature-convert. This is not a coherent verb_noun convention despite the common prefix.

Tool Count1/5

1677 tools is an extreme count that creates selection paralysis and makes coherent agent use impractical. A utility or marketplace server at this scale needs sub-services or namespacing rather than a flat tool list.

Completeness2/5

The surface has broad token coverage across many utility categories, but the marketplace aspect is incomplete: service_discovery and get_stats exist, yet there are no generic publish, update, delete, or account-management operations. Utility families also contain redundant variants without clear completion or lifecycle structure.

Resources