Skip to main content
Glama

Solana token info: supply, decimals, mint and freeze authority

solana_token
Read-only

Look up a Solana SPL token by its mint address, live from mainnet: decimals, total supply, whether a mint authority can still create more and whether a freeze authority can freeze holders (two common rug-pull risks), the token program, and, on request, the largest holder accounts with their share of supply. Use before buying or accepting an unknown Solana token. A mint that does not exist is 422, uncharged. Example: mint=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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

Input Schema

NameRequiredDescriptionDefault
mintYesSPL token mint address (base58)
holdersNoLargest holder accounts to list, 0-20 (default 0; best effort, the public node rate-limits this lookup)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / holders / maximum
      Previous value: -9007199254740991New value: +20
    • changedInput schema / properties / holders / minimum
      Previous value: --9007199254740991New value: +0
  2. Added
  3. Removed
  4. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/openWorld/non-destructive, but the description adds real substance beyond them: explicit pricing ($0.01/call, first 10 free, failed calls free), the 422-uncharged failure mode, and the clarification that repeats are charged – which is exactly the operational meaning behind idempotentHint=false. It also flags that the holders lookup is best-effort because the public node rate-limits it, a caveat absent from the annotations.

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 the verb, resource, and returned fields, then usage, then failure semantics, then pricing – a sensible order. The opening sentence is heavily overstuffed with clauses, and the pricing/trial block, while relevant, adds bulk; nothing is strictly wasted, but it could be tightened.

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?

With no output schema, the description carries the return-value burden and does so thoroughly, listing every returned attribute plus the conditional holder payload. Failure behavior, cost, and the read-only guarantee are all covered, leaving nothing an agent needs before invoking it.

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 100%, so the baseline is 3, but the description adds value by explaining what the holders option actually yields ('largest holder accounts with their share of supply') and by giving a real base58 example mint, which helps an agent construct a valid call. It still doesn't restate the 0-20 bound or default, leaving that to the schema.

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 and resource ('Look up a Solana SPL token by its mint address, live from mainnet') and enumerates the exact fields returned: decimals, total supply, mint/freeze authority, token program, optional holder list. The chain qualifier ('Solana SPL', 'mainnet') cleanly separates it from the sibling eth_token_info/base_token_info/polygon_token_info family.

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?

'Use before buying or accepting an unknown Solana token' gives a concrete decision trigger, and the 422-uncharged note tells the agent what happens on a bad input. It stops short of naming alternatives (e.g. token_verdict, price_token, solana_balance) or stating when not to call it, so guidance is strong but not exhaustive.

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