Skip to main content
Glama

Read a crypto market's context

get_crypto_market_context
Read-onlyIdempotent

One instrument or Darvas aggregated pair in a single call: the last price, the change, high and low of the trailing hour, four hours and day from five-minute candles, the day as hourly bars, the funding rate, next funding time and open interest with its 1-hour, 4-hour and 24-hour change on every exchange that lists the perpetual (each one a Darvas pair combines), and the high-impact macro releases from a day before to two days after now. A part a venue cannot answer is null.

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": {
      "ticker": "<ticker>"
    },
    "name": "get_crypto_market_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
tickerYesThe instrument id: BTC-USDT or BTC-USDT-SWAP on OKX, ETH-USDC-SWAP on Hyperliquid, BTC-USD on Coinbase, spot:BTCUSDT or perpetual:BTCUSDT on Binance and Bybit. A Binance or Bybit symbol such as BTCUSDT also works with market_type, spot without it. A Darvas aggregated pair is BASE-QUOTE or BASE-QUOTE-SWAP, such as BTC-USDT-SWAP, or BTC-ALLUSD for one combining its USD, USDT and USDC markets.
venuesNoWith exchange darvas: combine only these of the pair's exchanges, comma-separated. Any other exchange refuses it.
exchangeNoThe exchange whose pairs or instrument to read, or darvas for Darvas's aggregated pairs; darvas without it.darvas
market_typeNospot, swap, futures or option; without it, the type the id implies.
include_macroNofalse leaves out the macro releases; true without it.true
include_hourly_barsNofalse leaves out the day's hourly bars; true without it.true

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description still adds real behavioral context beyond them: how partial coverage is handled ("A part a venue cannot answer is null") and the exact macro time window (a day before to two days after now). It does not discuss latency, caching, or whether values are real-time versus delayed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Every clause is substantive and the scope is front-loaded, so there is little filler. However, the whole payload is packed into a single sprawling sentence with an appended fragment, making it harder to scan than a short bulleted field list would be.

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 six parameters, 100% schema coverage and no output schema, the description does the heavy lifting by enumerating the returned fields and defining null behavior for unavailable venues. An agent can predict the response shape well enough to call it. The main omission is any note on data freshness or per-venue failure reporting.

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 parameter docs already carry the load and baseline 3 applies. The description does add meaning beyond the schema by explaining that per-exchange funding and open interest span every venue listing the perpetual and that a Darvas pair aggregates them, which clarifies the exchange/venues semantics. It says nothing extra about the two boolean include_* toggles.

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 the resource precisely (one instrument or Darvas aggregated pair) and enumerates the exact payload: trailing 1h/4h/1d price stats from five-minute candles, hourly bars, funding rate, next funding time, open interest with 1h/4h/24h deltas, and macro releases. That specificity separates it from a bare price snapshot tool. It stops short of a crisp verb phrase and never names a sibling to contrast with, so an agent must infer the boundary from the field list alone.

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 phrase "in a single call" implies this is the one-stop read that avoids multiple round trips, and the perpetual/multi-exchange scope hints at when the aggregation matters. But there is no explicit when-to-use or when-not-to-use statement, no prerequisite, and no named alternative for a plain single-venue price check.

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