Skip to main content
Glama

FarmDash Agent OS

get_token_prices

Read-onlyIdempotent

Read available USD spot prices and check data_mode for partial or unavailable coverage. Provide symbols or tokens. If both are supplied, symbols take precedence. These prices are for research and do not establish an executable quote.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_token_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokensNoToken contracts as network:0x-address pairs, using the full 40-digit hex address. The service reads the first 25 non-empty pairs. Use when symbol lookup would be ambiguous.
symbolsNoComma-separated token symbols, such as ETH,SOL,BTC. The price service uses the first 25 non-empty symbols.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / symbols / description
      Added value: +"Comma-separated token symbols, such as ETH,SOL,BTC. The price service uses the first 25 non-empty symbols."
    • addedInput schema / properties / tokens / description
      Added value: +"Token contracts as network:0x-address pairs, using the full 40-digit hex address. The service reads the first 25 non-empty pairs. Use when symbol lookup would be ambiguous."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, and open-world behavior. The description adds useful context beyond that: data_mode may indicate partial or unavailable coverage, and the prices are not executable quotes.

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 four short sentences and front-loads the core purpose. Each sentence carries useful information: purpose, data coverage caveat, input selection, precedence, and quote limitation.

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 simple read-only price lookup with no output schema, the description covers the main operational caveats: partial or unavailable data and precedence between inputs. It could say more about what data_mode values mean, but the definition is otherwise complete enough to call the tool correctly.

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?

The schema already documents both parameters with full coverage, including token format and the 25-item processing limit. The description adds conflict-resolution semantics by stating that symbols take precedence when both symbols and tokens are supplied.

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: read available USD spot prices. It also distinguishes the result from executable quotes, which helps separate it from sibling quote-oriented tools without relying on their names.

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?

It gives clear input guidance: provide symbols or tokens, and symbols take precedence when both are supplied. It also frames the tool as research-only and not an executable quote, though it does not explicitly name when to use a quote tool instead.

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.

Resources