Skip to main content
Glama

get_market_detail

Retrieve detailed market data for a trading pair, including price, orderbook summary, funding rate, open interest, and 24h stats, to support informed trading decisions.

Instructions

Get detailed info for a specific market including price, orderbook summary, funding rate, open interest, and 24h stats

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": {
      "symbol": "<symbol>"
    },
    "name": "get_market_detail"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYesTrading pair symbol, e.g. BTC-PERP

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose the content of the response (price, orderbook *summary* rather than full depth, funding, OI, 24h stats), which is genuinely useful, but it never states that the call is read-only, whether unknown symbols error or return null, or anything about rate limits.

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?

One front-loaded sentence with no filler; the field list is the most information-dense part and arrives immediately. It is appropriately sized for a simple single-parameter read tool.

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?

No output schema exists, so the description must stand in for return values, and the field enumeration largely does that for a simple read-only lookup. The remaining gaps (response shape, error behavior for invalid symbols, whether orderbook data is a snapshot or truncated) are modest but real.

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 single symbol parameter has 100% schema description coverage including the 'BTC-PERP' format example, so the schema already does the work. The description only says 'a specific market' and adds no format, case-sensitivity, or validity constraints beyond it.

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 (get) and resource (detailed info for a specific market) and enumerates the data fields returned (price, orderbook summary, funding rate, open interest, 24h stats). It does not distinguish itself from close siblings such as get_markets or get_orderbook, so the agent must infer differentiation from names alone.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no statement of when not to use it, and no pointer to alternatives like get_markets for listing or get_orderbook for full depth. The enumerated fields imply a single-market snapshot use case, but the agent has to infer that rather than read it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.