Skip to main content
Glama

ChainGuard Web3 Security & DeFi MCP

check_solana_token2022

Read-onlyIdempotent

Inspect a Solana SPL or Token-2022 mint account via live Solana mainnet RPC and RugCheck to detect PermanentDelegate drain authorities, arbitrary TransferHook programs, active FreezeAuthority/MintAuthority, and hidden transfer fee basis points. Read-only, non-destructive analysis (5 free calls/hour per IP or unlimited with X-API-Key). Returns JSON with mint, program, permanent_delegate, transfer_hook, freeze_authority, risk_score (0-100), and verdict (PASS, WARN, BLOCK). Use this tool for deep Solana mint extension inspection; use analyze_token_alpha when you also need DexScreener price, liquidity, and 24h volume.

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

Input Schema

NameRequiredDescriptionDefault
mintYesBase58-encoded Solana SPL or Token-2022 mint address (32-44 characters, e.g. `EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v`).

Output Schema

NameRequiredDescriptionDefault
mintYes
verdictYes
risk_scoreNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / mint / description
      Added value: +"Base58-encoded Solana SPL or Token-2022 mint address (32-44 characters, e.g. `EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v`)."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "mint": {
      +      "type": "string"
      +    },
      +    "risk_score": {
      +      "type": "integer"
      +    },
      +    "verdict": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "mint",
      +    "verdict"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered; the description still adds real value by disclosing the data sources (live mainnet RPC plus RugCheck) and the throttling/auth model (5 free calls/hour per IP, unlimited with X-API-Key). It stops short of explaining pagination or failure behavior, but for a read-only inspection call the remaining gap is minor.

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-loaded with verb and resource, and every sentence carries information (checks, sources, rate limits, return shape, alternative). The first sentence is a long run-on enumerating extensions, and the rate-limit parenthetical is buried mid-sentence; a lightly bulleted structure would scan faster.

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 a one-parameter, read-only tool with an output schema, the description supplies everything an agent needs: what is inspected, which sources are queried, auth/quota constraints, the risk_score range and verdict enum semantics, and the competing tool. Nothing material is missing.

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% and the single required parameter already documents the Base58 format, length, and an example, so the description adds no further meaning about `mint`. It does spend text describing return fields, but that is output semantics rather than parameter semantics; baseline 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?

Opens with a specific verb and resource ('Inspect a Solana SPL or Token-2022 mint account') and enumerates the exact risks it detects (PermanentDelegate, TransferHook, FreezeAuthority/MintAuthority, hidden fee basis points). It also names the sibling it is not ('use analyze_token_alpha when you also need DexScreener price...'), so an agent can choose between the two without opening either 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?

States the use case explicitly ('deep Solana mint extension inspection') and gives a concrete alternative with the condition that selects it (when DexScreener price, liquidity, and 24h volume are also needed). No inference is required to route between the two tools.

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.