Skip to main content
Glama
Ethereum MCP
by ETHCF

get_token_price

Fetches the current price for a cryptocurrency using its name or symbol, helping you check token market value.

Instructions

Get current price for a cryptocurrency by name or symbol

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": "<token>"
    },
    "name": "get_token_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYesToken name or symbol (e.g., 'bitcoin', 'eth', 'uniswap')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and delivers little: 'current' hints at a live spot price rather than historical, but the quote currency (USD?), data source, freshness, and behavior for unknown or ambiguous symbols are all unstated. An agent cannot tell what it will actually receive or how failures manifest.

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?

One short sentence, front-loaded with the verb and resource, with zero filler. Nothing could be removed without losing meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple single-parameter lookup with no output schema, the definition is minimally adequate, but it omits the quote currency and any note on ambiguous or unsupported tokens, which matter for correct invocation and interpretation of results.

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?

The single parameter is fully documented in the schema, including examples ('bitcoin', 'eth', 'uniswap'), so the schema does the heavy lifting. The description only restates that name or symbol is accepted, adding no disambiguation guidance for ambiguous tickers or casing.

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?

States a specific verb and resource ('Get current price for a cryptocurrency') and adds an input-mode qualifier ('by name or symbol') that implicitly separates it from the contract-address sibling. It does not name or explicitly rule out alternatives such as get_token_price_by_contract or get_eth_price, so it falls short of full sibling differentiation.

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

Usage Guidelines3/5

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

The phrase 'by name or symbol' implies the selection condition versus a contract-address lookup, but the description never states when to use this tool instead of get_token_price_by_contract, smart_get_price, or get_coin_first_price. Usage is inferable but not explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools