Skip to main content
Glama
deerajd

CryptoPriceTracker-MCP

by deerajd

get_crypto_price

Fetch the current price of a cryptocurrency in a chosen fiat or crypto currency using CoinGecko, so agents can convert values and answer price queries.

Instructions

Get the current price of a cryptocurrency in a specified currency using the CoinGecko API.

Args: cryptocurrency: The id of the cryptocurrency (e.g., 'bitcoin', 'ethereum'). currency: The fiat or crypto currency to convert to (e.g., 'usd', 'inr'). Returns: The current price as a float. Returns 0.0 if the price cannot be fetched.

Example: get_crypto_price(cryptocurrency="bitcoin", currency="usd") get_crypto_price(cryptocurrency="ethereum", currency="inr")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
currencyNoinr
cryptocurrencyYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose a meaningful behavioral trait: the failure mode ('Returns 0.0 if the price cannot be fetched'), which alerts the agent to silent failure. It omits other relevant behavior such as CoinGecko rate limits, auth/key requirements, and whether the value is cached or live.

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?

The core purpose is front-loaded in one sentence, and the Args/Returns/Example structure is standard and easy to scan. The two example calls are mildly redundant with the Args block but still earn their place by showing argument formation.

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 two-parameter read tool with an output schema present, the description covers purpose, both parameters, and the failure return value, which is sufficient to call it correctly. It could be more complete by noting rate limits or how to discover valid cryptocurrency ids.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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 compensate, and it does: 'cryptocurrency' is defined as the CoinGecko id with concrete examples ('bitcoin', 'ethereum'), and 'currency' as the fiat or crypto target ('usd', 'inr'). The schema-declared default of 'inr' is not restated, but both parameters are otherwise well explained.

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 ('Get the current price of a cryptocurrency in a specified currency') and names the data source (CoinGecko API). No siblings exist to disambiguate against, and the scope of the operation is unambiguous from the first sentence.

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?

Usage is implied by the examples (bitcoin/usd, ethereum/inr) and the required/optional split, but there is no explicit statement of when to use this tool, when not to, or what alternatives exist (e.g., historical prices). Adequate but with an obvious gap.

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