Skip to main content
Glama

Genesis tools

Token Price API — USD price for tokens by symbol or contract

token_price
Read-only

Get the current USD price of a cryptocurrency token by symbol or contract address. Returns price in clean JSON format. Example input: {"symbol": "BTC"}. Uses one call of your free daily calls or prepaid key; x402 clients pay $0.002 per call in USDC. Only successful calls count.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "token_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful economics — one free daily call or prepaid key, $0.002 per USDC call via x402, and 'only successful calls count' — which is behavior an agent cannot infer from annotations. Deduction because 'Returns price in clean JSON format' is vague and does not say whether errors or unknown symbols are billed.

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 purpose, then example, then cost model — a sensible order that lets an agent stop reading early. Most sentences earn their place, though 'Returns price in clean JSON format' is filler given no output schema exists to describe.

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 single-optional-parameter read tool this covers purpose, an example call, and the billing model, which is enough to invoke it. Remaining gaps are the mismatch between the promised contract-address lookup and the symbol-only schema, plus no statement of what happens on an unknown token.

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 0%, so the description must carry the burden. It partially does: it gives a concrete example value ({"symbol": "BTC"}) and mentions contract addresses as an alternative input, though that alternative is not actually in the schema. It still says nothing about symbol case sensitivity, supported token coverage, or how ambiguous tickers are resolved.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

A specific verb and resource — 'Get the current USD price of a cryptocurrency token' — with the lookup key named. It is clearly distinguishable from siblings like bitcoin_balance_lookup (balance vs price). Minor deduction: it advertises lookup 'by symbol or contract address' while the schema only exposes a `symbol` property, so the stated scope is slightly wider than what the tool accepts.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance, and no mention of acceptable symbol formats (ticker vs name vs case). The only usage aid is a single example input, which tells an agent how to call it but not when this tool is the right choice over an alternative.

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