Skip to main content
Glama

get_token_price

Retrieve live USD prices for PHRS, USDC, USDT, or WETH tokens using CoinGecko data.

Instructions

Get the live USD price of PHRS, USDC, USDT, or WETH from CoinGecko

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenYesToken symbol to price
currencyNoQuote currency (only USD supported)USD
networkNoNetwork to use: testnet (default) or mainnet
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It lacks details about potential issues like API rate limits, caching behavior, or what happens if the token price is unavailable. For a tool that fetches external data, these are important considerations.

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?

The description is a single, well-structured sentence that conveys all essential information. There is no wasted text, and every word contributes to the tool's purpose.

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 tool with only three parameters and no output schema, the description is adequate but not complete. It fails to explain what the return value looks like (e.g., a number, a JSON object) or any error handling behavior. A more complete description would mention the expected response format.

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 input schema provides full descriptions for all three parameters, including enum values and defaults. The description does not add any additional meaning beyond the schema, so a baseline score of 3 is appropriate.

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 clearly states the tool's purpose: getting live USD prices for specific tokens from CoinGecko. The verb 'Get' is specific, and the resource 'live USD price' with a defined list of tokens makes the purpose unambiguous. It naturally distinguishes from sibling tools which handle transactions or balances.

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?

The description implicitly tells when to use this tool: whenever a live price of PHRS, USDC, USDT, or WETH is needed. Since no sibling tool provides similar functionality, there is no need to specify exclusions or alternatives. The context of 'from CoinGecko' is clearly stated.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Irohitjain/agentpay-pharos'

If you have feedback or need assistance with the MCP directory API, please join our Discord server