Skip to main content
Glama

EVM & Move Smart Contract Honeypot, Tax & Reentrancy Auditor

audit_smart_contract_code
Read-onlyIdempotent

Statically audits Solidity, Vyper, or Move smart contract source code and bytecode for honeypot taxes, hidden mint backdoors, proxy upgrade traps, and reentrancy before deployment or interaction.

Instructions

Statically audits Solidity, Vyper, or Move smart contract source code for honeypot transfer taxes, hidden mint backdoors, proxy upgrade traps, and reentrancy. Use when auditing smart contract source code or bytecode before deploying or interacting with a protocol; for scanning Solana Anchor/Rust programs specifically for Cross-Program Invocation (CPI) signer/account vulnerabilities, use scan_solana_cpi_reentrancy instead. Read-only edge call (32 KB, 60 RPM): accepts 'code_or_address' ('chain' defaults to 'evm_solidity'), uses '?demo=true' or L402 (45 sats); HTTP 400 if invalid.

Input Schema

NameRequiredDescriptionDefault
chainNoTarget blockchain VM architecture; defaults to 'evm_solidity' when omitted.
code_or_addressYesSmart contract source code snippet, ABI, or contract address to audit.

Output Schema

NameRequiredDescriptionDefault
risk_levelYesSeverity classification ('LOW', 'MEDIUM', 'HIGH', or 'CRITICAL').
is_honeypotYesTrue if transfer restrictions or excessive sell taxes (>10%) are present.
security_scoreYesComposite contract safety score from 0 (critical exploit) to 100 (verified safe).
vulnerabilitiesYesSpecific vulnerability findings and line-level remediation advice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.3

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds operational traits an agent could not infer: 32 KB input ceiling, 60 RPM limit, demo-mode flag versus L402 payment of 45 sats, and HTTP 400 on invalid input. That is exactly the kind of context annotations cannot express.

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?

One dense paragraph, front-loaded with purpose and the sibling routing rule. The pricing/rate-limit clause is crammed into the same sentence and slightly blurs the scan, but no sentence is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter read tool with an output schema, rich annotations, and 100% schema coverage, nothing needed for correct invocation is missing: scope, exclusions, cost model, rate limit, and failure mode are all present.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3; the description modestly adds value by restating the 'chain' default and the accepted forms of 'code_or_address' (source, ABI, or address), which clarifies that an address is valid input. It does not enumerate the enum values beyond the schema, so it stays a step short of full marks.

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?

Specific verb ('Statically audits') plus concrete resource ('Solidity, Vyper, or Move smart contract source code') and an enumerated threat list (honeypot transfer taxes, hidden mint backdoors, proxy upgrade traps, reentrancy). It also explicitly carves itself out from the sibling scan_solana_cpi_reentrancy, so an agent can disambiguate without opening schemas.

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

Usage Guidelines5/5

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

States the trigger ('before deploying or interacting with a protocol') and names the exact alternative with the condition that selects it ('for scanning Solana Anchor/Rust programs... use scan_solana_cpi_reentrancy instead'). Both when-to-use and when-to-use-something-else are explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools