Skip to main content
Glama

Solana token info: SPL / Token-2022 mint supply, decimals, authorities and extensions

sol_token_info
Read-onlyIdempotent

Use when an agent needs a Solana token's basics before quoting, transferring or accepting it. Input: mint. Output: JSON slot, program (spl-token or token-2022), decimals, supply raw and decimal, mint and freeze authority, Token-2022 extensions (transfer fee, permanent delegate, transfer hook, default frozen, metadata), known issuer if curated. Not a mint: 422, unknown: 404, not charged. Use instead: base_token_info for ERC-20 tokens; sol_token_risk for safety signals. Example: ?mint=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v Price: $0.002 per call, paid in USDC (Base, Monad, Polygon, Arbitrum or Solana) via x402.

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

Input Schema

NameRequiredDescriptionDefault
mintYesToken mint address on Solana mainnet (base58, 32 bytes). Bad input → 400, not a mint → 422 (not charged)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  3. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  4. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnly/idempotent/openWorld; the description adds genuinely new behavior: 422 for non-mint and 404 for unknown mints, that failures are not charged, and a concrete price of $0.002 per call billed in USDC via x402. Cost and failure-billing semantics are exactly the kind of detail annotations cannot express.

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?

It is front-loaded with the trigger, then input, output, error codes, alternatives, example, and price — a scannable order with no filler. The closing pricing sentence is dense and slightly overpacked, but every element carries information.

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 enumerates the returned fields (slot, program, decimals, raw/decimal supply, mint and freeze authority, Token-2022 extensions, curated issuer), which is sufficient for an agent to decide whether the result answers its question. Error semantics and pricing round out the operational picture for a single-parameter read tool.

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 description coverage is 100% and the schema already documents base58 32-byte mint format plus the 400/422 mapping, so the description's 'Input: mint' is largely redundant. The concrete example mint address adds minor value for format confirmation, but nothing about meaning is contributed beyond 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?

The description states a specific verb and resource ('Solana token's basics' — mint supply, decimals, authorities, extensions) and explicitly names the siblings it is not (base_token_info for ERC-20, sol_token_risk for safety signals). An agent can distinguish it from those 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?

It gives an explicit trigger ('before quoting, transferring or accepting it') and explicit alternatives with the condition that selects each ('base_token_info for ERC-20 tokens; sol_token_risk for safety signals'). Usage is fully routable from the description alone.

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