Skip to main content
Glama

Token price

get_token_price
Read-only

Current USD price of one Solana token. Cheapest price check. Use get_token_overview when you also need market cap, liquidity or 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": {
      "token_address": "<token_address>"
    },
    "name": "get_token_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
token_addressYesSolana token mint address (base58). Get it from search_tokens or a leaderboard row.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / token_address / title
      Removed value: -"Token Address"
    • removedInput schema / title
      Removed value: -"get_token_priceArguments"
  2. Changed2 schema fields changed
    • removedInput schema / properties / network
      Removed value: -{
      -  "const": "solana",
      -  "default": "solana",
      -  "title": "Network",
      -  "type": "string"
      -}
    • addedInput schema / properties / token_address / description
      Added value: +"Solana token mint address (base58). Get it from search_tokens or a leaderboard row."
  3. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint true, destructiveHint false), so the description's job is context. It adds real value by pinning the answer to a *current* (not historical) quote and flagging a cost/budget dimension with "Cheapest price check", which hints at rate-limit or credit tradeoffs. It stops short of saying anything about freshness tolerance, caching, or failure modes for an unknown mint, and the idempotentHint=false annotation on a spot-price read is left unexplained.

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?

Three short sentences, front-loaded with what the tool returns and immediately followed by the disambiguation rule. There is no filler, and the sibling reference is placed last where it aids routing without delaying the core statement.

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 an output schema present and annotations covering safety, plus a fully documented single parameter, the description carries only the burden of purpose and routing. It discharges both cleanly and needs to explain nothing about return values or arguments.

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 single property already documents base58 format and how to obtain the address via search_tokens or a leaderboard row. The description adds no parameter meaning beyond the schema, which is the expected baseline when the schema does all the work.

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 first sentence names a specific verb and resource ("Current USD price of one Solana token") with an explicit unit and scope. It also explicitly separates itself from get_token_overview by naming what that sibling adds, so an agent can pick correctly 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 a positive selection rule ("Cheapest price check") and a negative one ("Use get_token_overview when you also need market cap, liquidity or volume"), naming the alternative and the exact condition that selects it. That is explicit when-to-use/when-not routing rather than implied guidance.

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