Skip to main content
Glama

audit_smart_contract_security

Scan Base or Solana token contracts for honeypot and rug-pull risk; omit the address to retrieve trending token audits.

Instructions

Scan a Base or Solana token for honeypot and rug-pull risk; with no address, return the trending audits.

Cost: $0.02 USDC per call.
Freshness: results from the latest scan cycle; check the timestamp in the response.
Inputs: contract_address (optional) - EVM (0x + 40 hex characters) or Solana token address; leave empty for the trending audits.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "audit_smart_contract_security"
  }
}

Input Schema

NameRequiredDescriptionDefault
contract_addressNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

No annotations are present, so the description carries the burden and does well: it discloses the per-call cost ($0.02 USDC) and the data freshness (latest scan cycle, instructing the agent to check the response timestamp). These are meaningful behavioral traits beyond the schema, though it doesn't detail failure modes or rate limits.

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?

Front-loads the core purpose, then uses labeled lines (Cost, Freshness, Inputs) that make it scannable. Slightly repetitive with the trailing 'leave empty for the trending audits' restating the opening clause, but otherwise tight.

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?

Given an output schema exists, return-value detail is not required, and the description covers cost, freshness, parameter format, and the dual mode. Nothing essential is missing for correct invocation, though a note on what the risk scan covers would add depth.

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 0%, so the description must compensate and largely does: it specifies that contract_address is optional, gives the EVM format (0x + 40 hex characters) and Solana address form, and defines the empty-value behavior. Minor gap on Solana address length specifics.

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?

States a specific verb (scan) and resource (Base or Solana token) plus the risk types checked (honeypot and rug-pull), and explicitly describes the dual mode (address vs trending audits). An agent can distinguish it from the other audit_* siblings which target domains and packages.

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?

Clearly explains when to supply an address versus when to leave it empty to get trending audits, which is the key decision for this tool. It does not, however, name specific alternative siblings, so it falls short of a full when/when-not/alternatives treatment.

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