Skip to main content
Glama

Crypto & Web Data API for Agents

Rug / scam check for a Solana token

token_risk
Read-only

Rug / scam check for a Solana token. On-chain checks: mint authority (can print more), freeze authority (can freeze holders), Token-2022 extensions such as permanent delegate or transfer fees, top-10 holder share, plus DEX liquidity and pool age. Returns flags and an overall risk level. Cached 60 s. Price $0.030 per call (x402: USDC on Base or Solana).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "mint": "<mint>"
    },
    "name": "token_risk"
  }
}

Input Schema

NameRequiredDescriptionDefault
txNoAlternative to the X-Payment-Tx header
mintYesToken mint address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well past the readOnlyHint/openWorldHint annotations by disclosing the payment model and cost ('$0.030 per call, x402: USDC on Base or Solana'), the 60-second cache window that affects result freshness, and what the response looks like ('flags and an overall risk level'). These are exactly the operational facts an agent needs before deciding to spend a paid call.

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?

Front-loaded with the one-line purpose, then the evidence list, then return shape, then cost/caching. Every sentence carries distinct information — no filler and no duplication of the schema.

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 two-parameter, read-only check with no output schema, the definition covers what is measured, what comes back at a high level, cost and caching. It stops short of naming the possible risk-level values, flag names, or behavior on an invalid or very new mint, which would help an agent interpret results.

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 coverage is 100%, so both the 'mint' address pattern and the 'tx' payment-alternative parameter are already documented in the schema. The description does add context that the 'tx' parameter relates to x402 payment, but it adds nothing about the mint address format beyond what the schema states, so the baseline of 3 applies.

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?

Names a specific verb+resource pair ('Rug / scam check for a Solana token') and enumerates exactly what is inspected — mint authority, freeze authority, Token-2022 extensions, top-10 holder share, DEX liquidity and pool age. The explicit 'Solana' scoping cleanly separates it from the sibling evm_token_risk without needing to name it.

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 check-style framing makes the use case obvious: vet a Solana token before interacting with it. It does not spell out exclusions or point at an alternative for other chains, but the chain qualifier in the first sentence does that routing implicitly.

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.

Resources