Skip to main content
Glama

Check token safety

check_token
Idempotent

Identify risky tokens before trading by screening for honeypots, rug-pulls, and authority risks. Get a clear verdict, risk score, and itemized findings.

Instructions

Token safety screen before trading: honeypot, rug-pull, freeze/mint authority, transfer hooks, sell tax, blacklists. Returns verdict (ok/warn/critical/unknown), a 0-100 risk score, and itemized findings. Costs an x402 toll.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainYesChain to swap on
tokenYesToken to screen: mint address (solana) or ERC-20 address (EVM chains)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nextNoSuggested follow-up calls
chainNo
errorNoPresent when the request failed or payment is required
tokenNo
sourceNoData source used for the screen
acceptsNox402 payment options when unpaid
verdictNook, warn, critical, or unknown
findingsNoIndividual risk findings
riskScoreNo0 (safe) to 100 (critical)
Behavior4/5

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

Description adds the key behavioral fact that the tool 'costs an x402 toll' and specifies return values (verdict, risk score, findings). This goes beyond annotations, which already mark it as idempotent and non-destructive. No contradiction with readOnlyHint=false is present.

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

Conciseness5/5

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

Two focused sentences: first states purpose and checks, second states outputs and cost. Every sentence earns its place with no redundant phrasing.

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?

Given the output schema exists and annotations are present, the description sufficiently covers purpose, key behaviors, returns, and cost. The tool is moderately complex but the description is complete enough for selection and invocation.

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?

Input schema provides 100% coverage with descriptions for both chain and token, including enum values and address format. The description does not add new parameter semantics, so baseline 3 is appropriate.

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?

Description states a specific verb-resource pair: 'Token safety screen before trading,' and enumerates concrete checks (honeypot, rug-pull, freeze/mint authority, transfer hooks, sell tax, blacklists). This clearly distinguishes it from sibling tools like build_swap or get_quote.

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 phrase 'before trading' gives clear context and implies it should be used as a pre-trade safety step. It does not explicitly name alternatives or state when not to use it, but the intended usage is evident.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/soundsparkaudiolab/tollboothswap-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server