Skip to main content
Glama

Solana SPL / Token-2022 rug check

check_solana_token_risk
Read-onlyIdempotent

Audit a Solana SPL token mint for rug-pull and honeypot risks: get a 0-100 risk score, risk band, safe-to-trade flag, mint/freeze authority status, top-10 holder concentration, and DEX liquidity.

Instructions

Audit a Solana SPL token mint for rug-pull and honeypot risks. Pass base58 mint address (required) and optional force_refresh boolean. Returns risk_score (0-100), risk_band (low, medium, high, critical), safe_to_trade, mint/freeze authority flags, top-10 holder concentration, and Raydium/PumpSwap liquidity and 24h buy/sell counts. Do not use for EVM tokens (use check_evm_token_risk) or wallet portfolios (use get_solana_wallet_holdings). 1 free try per IP, then HTTP 402 ($0.002 USDC).

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": "check_solana_token_risk"
  }
}

Input Schema

NameRequiredDescriptionDefault
mintNoSolana SPL token mint addressJUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN
include_aiNoOptional dual-GPU (3060+3080) 1-sentence risk verdict
session_tokenNoOptional prepaid x402s_... session token from open_agent_session or https://apix402data.com/pay used after the 1 free try rolls over to HTTP 402.

Output Schema

NameRequiredDescriptionDefault
mintNo
marketNo
symbolNo
risk_bandNo
risk_scoreNo
safe_to_tradeNo
top10_holder_pctNo
mint_authority_revokedNo
freeze_authority_revokedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv5.6.0

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already declare readOnly/idempotent/non-destructive/openWorld, and the description goes further by disclosing rate-limit and billing behavior (free try, then HTTP 402 and price) plus the concrete output fields an agent will act on. It loses a point because it advertises an optional `force_refresh` boolean that the schema does not contain, which misdescribes how a caller can influence behavior.

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?

Three sentences, front-loaded with purpose, then parameters/returns, then exclusions and pricing — dense and mostly waste-free. The single flaw is that the parameter sentence spends its budget on a nonexistent field rather than the schema's actual arguments.

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 read-only, open-world audit tool with a full output schema and 100% schema coverage, this covers purpose, exclusions, return shape, and billing. The only real gap is the stale parameter reference, which is an accuracy defect rather than missing coverage.

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

Parameters2/5

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

Schema coverage is 100%, which normally makes 3 the baseline, but the description actively diverges from the schema: it documents `force_refresh`, which is absent, and never mentions the real `include_ai` (dual-GPU verdict) or `session_token` (x402 prepaid token) parameters. An agent relying on the description would pass a nonexistent argument and miss the session-token path needed after the free try.

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?

Opens with a specific verb+resource: 'Audit a Solana SPL token mint for rug-pull and honeypot risks.' It names the exact chain and token standards (SPL / Token-2022) and explicitly distinguishes itself from check_evm_token_risk and get_solana_wallet_holdings, so an agent can select it without opening a schema.

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?

Gives explicit negative guidance naming two sibling alternatives and the conditions that select them ('Do not use for EVM tokens... or wallet portfolios...'). It also states the commercial precondition: one free try per IP, then HTTP 402 at $0.002 USDC, which tells the agent when a paid retry path is needed.

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