Skip to main content
Glama

onyx_contract_audit

Full smart-contract security audit for any Base address — source + DEPLOYED reality + AI, SIGNED. Fetches verified source, runs curated static vuln detectors (tx.origin auth, delegatecall, selfdestruct, unchecked calls, unprotected init, owner mint/pause/blacklist, mutable fees), AND flags the live on-chain risks a static audit misses — upgradeable proxies (owner can swap logic post-audit) and self-destructed contracts. Optional Claude deep-pass for novel bugs. Returns ALLOW/REVIEW/BLOCK + 0-100 risk score, every finding Ed25519-signed. Cheaper than a manual audit, and unlike one it audits the contract as actually deployed. (price: $0.50 USDC, tier: metered)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deepNoRun the optional AI deep-pass for novel/business-logic bugs (only fires if the server has an AI key configured; degrades gracefully otherwise).
addressYesContract address on Base mainnet (0x... 20-byte hex).

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations provided, the description carries full burden and delivers extensively. It discloses the pipeline (fetches verified source, runs static detectors), the specific vulnerability categories, the live-on-chain risks (upgradeable proxies, self-destructed contracts), the optional deep pass with graceful degradation, the output format (ALLOW/REVIEW/BLOCK + risk score), Ed25519 signing, and pricing. This far exceeds typical transparency and gives the agent a strong behavioral model.

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 description is a single dense paragraph that is efficiently packed with useful information. It front-loads the core purpose and then expands into details, output, and pricing. Though it is long, every sentence carries substantive info; the only minor issue is a stream-of-consciousness structure with em-dashes and parentheticals, which slightly hurts skimmability.

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 complex tool with no output schema, the description does a thorough job covering inputs, processing, outputs, and pricing. It explains the audit steps, the risk flags, and the result format. It could be more explicit about error conditions (e.g., unverified contracts) or exact response JSON shape, but given the constraints, it is nearly complete.

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 description does not add additional meaning to the parameters beyond what the schema already states; the `deep` parameter and `address` are fully documented in the schema. While the description mentions 'Optional Claude deep-pass', it restates the schema's `deep` description without adding new semantics, so no bonus is warranted.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool performs a 'Full smart-contract security audit for any Base address' with a specific verb (audit) and resource (smart contract on Base). It distinguishes itself from sibling tools by emphasizing it audits 'source + DEPLOYED reality + AI, SIGNED' and contrasts with manual audits, making its unique value proposition explicit.

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

Usage Guidelines4/5

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

The description provides clear context for when to use this tool: for comprehensive audits that check both source code and deployed reality, with a comparison to manual audits ('Cheaper than a manual audit, and unlike one it audits the contract as actually deployed'). However, it does not explicitly state exclusions or name alternative sibling tools for simpler checks, so it misses the 'when-not-to' guidance.

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

A4.2/5.0
Disambiguation5/5

Each tool targets a specific aspect of security or verification, from agent liveness to token risk to transaction preflight, with clear descriptions that prevent confusion. Even similar-sounding tools like tx_guard and tx_preflight cover distinct scenarios.

Naming Consistency5/5

All tools follow a consistent 'onyx_<descriptive_name>' pattern using snake_case, making it easy to infer purpose from the name. No mixing of styles or conventions.

Tool Count4/5

23 tools is on the higher end but justified by the broad scope of security services offered, covering many distinct verification needs without being excessive.

Completeness5/5

The tool set provides a comprehensive surface for agent security, including pre-payment checks, smart contract audits, token risk, merchant verification, and identity attestation. No obvious missing operations for the stated purpose.