Skip to main content
Glama

Get Market Snapshot

get_market_snapshot
Read-only

LIVE stream, up to 10 pairs (default the majors) over 5 s: last price, change_pct, volume_usd, net_flow_usd, mid, spread_bps, bid_ratio.

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_market_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
pairsNoPairs, e.g. ['BTCUSDT','ETHUSDT']. Default: the majors.
marketNo'futures' (perpetual, default) or 'spot'.futures

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, openWorld, non-destructive), and the description adds genuinely new behavioral facts: a 5-second refresh cadence, a hard 10-pair ceiling, and the default pair set. It does not say what happens if more than 10 pairs are supplied, but the live-cadence and limits disclosure is real added value.

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?

A single dense sentence with the most decision-relevant token ('LIVE') front-loaded, followed by the cardinality limit, the cadence, and the returned fields. No filler, no repetition of the title.

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 no output schema, the field enumeration does necessary work in telling the agent what comes back, and for a two-parameter read tool this is close to complete. The gap is that opaque fields such as net_flow_usd, bid_ratio and spread_bps are named but never interpreted, and the tension between the 'snapshot' name and the 'LIVE stream' phrasing leaves the call semantics slightly unclear.

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?

Schema coverage is 100%, so the 3 baseline applies, and the description goes further by stating the 10-pair cap, which is a constraint not present in either parameter's schema text. It also reinforces the 'default the majors' behavior for the optional pairs argument, though it adds nothing about the futures-vs-spot market choice beyond what the enum documents.

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?

States a concrete action and scope: a live market snapshot across up to 10 pairs, with an explicit enumerated field set. The verb-plus-resource combination ('LIVE stream ... last price, change_pct, volume_usd ...') is unambiguous, though it does not name or distinguish itself from likely neighbors such as get_market_overview or get_live_data.

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?

Usage is only implied through constraints: 'up to 10 pairs' and 'over 5 s' tell an agent that this is for a small, near-real-time watchlist rather than bulk history. There is no explicit when-to-use/when-not clause and no named alternative for broader coverage or historical data.

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