Skip to main content
Glama

defillama_coin_prices

Read-only

Fetch current prices for 1 to 100 coins written as {chain}:{address}, such as coingecko:ethereum or ethereum:0xdF57.... Unknown coin keys are omitted from the coins object rather than erroring. Use defillama_coin_chart for a price series.

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": {
      "coins": "<coins>"
    },
    "name": "defillama_coin_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
coinsYesComma-separated {chain}:{address} coin list, e.g. coingecko:bitcoin,ethereum:0x....

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered; the description adds genuinely non-obvious behavior — unknown coin keys are silently omitted from the returned coins object instead of raising an error. That partial-success semantics is the key thing an agent needs to interpret results, though nothing is said about pricing freshness or partial-failure ratios.

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?

Three short sentences, front-loaded with purpose and format, then the failure behavior, then the sibling pointer. No filler and no repetition of structured fields beyond what is needed to anchor the format examples.

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

Completeness5/5

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

An output schema exists, so return-value structure need not be explained. With one fully described parameter, a stated batch ceiling, and explicit handling of invalid keys, an agent has everything required to call it correctly and interpret the result.

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 the single 'coins' parameter is already documented as a comma-separated {chain}:{address} list. The description restates the format but does add one thing the schema omits: the 1-to-100 count ceiling. Marginal value over the schema, so baseline 3.

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?

Opens with a specific verb and resource ('Fetch current prices'), quantifies scope (1 to 100 coins), and shows the exact key format with two concrete examples. It also explicitly names the sibling it is not (defillama_coin_chart), so an agent can route between them without opening a schema.

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?

Gives clear when-to-use context: single point-in-time prices in batch, with an explicit alternative ('Use defillama_coin_chart for a price series'). It does not spell out when-not-to-use beyond the series case, but the count bound of 1 to 100 implicitly defines the batch limit.

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.