Skip to main content
Glama
dataline-xyz

Dataline MCP Server

Official
by dataline-xyz

get_price

Retrieve current spot prices for any cryptocurrency from multiple exchanges, including an average price. Specify a base currency like BTC and an optional quote currency.

Instructions

Get current spot price for a crypto asset. Provide base_currency (e.g. BTC) and optional quote_currency (default USDT). Returns per-source prices from multiple exchanges and an average. For perpetual futures data (funding rates), use get_funding_rate instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
base_currencyYesBase currency ticker, e.g. BTC, ETH, SOL
quote_currencyNoQuote currency, e.g. USDT. Defaults to exchange default.
Behavior4/5

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

No annotations are provided, so the description must disclose behavior. It states that the tool 'Returns per-source prices from multiple exchanges and an average', which gives insight into the output structure. It does not mention rate limits or authentication, but for a simple price tool, this is sufficient.

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 three sentences long, front-loading the purpose, and every sentence adds value (purpose, parameter hint, sibling distinction). No wasted words.

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?

Given the tool's simplicity (2 params, no output schema), the description covers all necessary aspects: what it does, how to use parameters, what the output contains, and when not to use it (via sibling reference). It is complete for this use case.

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 has 100% description coverage, so the schema already explains the parameters. The description adds minor context (e.g., default quote_currency is USDT, examples like BTC, ETH, SOL) but does not significantly enhance understanding beyond the schema.

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 'Get current spot price for a crypto asset', specifying the verb (get) and resource (spot price). It distinguishes from the sibling tool get_funding_rate by explicitly noting that for perpetual futures data, that tool should be used.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly states when to use this tool (for spot price) and provides an alternative for a different use case (get_funding_rate for perpetual futures). It also explains the required and optional parameters.

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/dataline-xyz/dataline-mcps'

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