Skip to main content
Glama
This connector has been deprecated in the official MCP Registry

加密货币实时行情

crypto_price
Read-onlyIdempotent

查询加密货币实时价格、24h/7d 涨跌幅、市值、24h 成交额、历史最高价。支持 BTC/ETH 等符号或 CoinGecko ID,逗号分隔多币查询。适用于行情监控、比价、量化决策前的数据获取。Example: {"coins":"btc,eth,sol","vs_currency":"usd"}

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "coins": "btc,eth,sol",
      "vs_currency": "usd"
    },
    "name": "crypto_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
coinsYes币符号或 CoinGecko ID,逗号分隔,如 "btc,eth,sol" 或 "bitcoin,ethereum"
vs_currencyNo计价货币(usd/cny/eur),默认 usdusd

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so the safety profile is fully covered elsewhere. The description adds genuinely useful behavior detail by listing the data fields returned, since there is no output schema. It says nothing about rate limits (a real constraint for a CoinGecko-backed price feed) or what happens with an unrecognized symbol, so the added behavior context is partial.

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 definition is a tight paragraph that front-loads the resource and enumerates returned fields before giving usage contexts. One small weakness: the inline example duplicates the schema's own examples field, consuming space without adding information. Otherwise there is no padding.

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?

With no output schema, the description correctly compensates by listing the values an agent will receive, and it explains accepted identifier formats, which is the main failure risk for this tool. What remains missing is error behavior for unknown symbols and any note on request limits. These are minor for a simple two-parameter read tool.

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%, so both parameters, their defaults, and the supported currencies are already documented in the schema. The description restates the comma-separated multi-coin convention and repeats an example that also appears in the schema's examples array, adding little new meaning. A baseline 3 is appropriate when the schema carries the semantics.

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?

The description names a specific verb and resource (查询加密货币实时价格) and enumerates the concrete fields returned: 24h/7d change, market cap, 24h volume, all-time high. That is far more specific than the title alone. It stops short of distinguishing itself from closely related siblings such as exchange_rate or currency_convert, so an agent must infer which tool is correct for plain FX conversion.

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 description gives usage contexts (行情监控、比价、量化决策前的数据获取), which implies when the tool fits. However, it names no alternative and states no exclusion, so nothing tells the agent when to prefer exchange_rate or currency_convert instead. This is implied usage only, which matches a 3.

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.