Skip to main content
Glama

market_data_snapshot

Get a point-in-time snapshot of bid, ask, last, volume, and OHLC market data for a single contract, returning when data arrives or timing out.

Instructions

Get a point-in-time snapshot of market data for one contract: bid/ask/last/volume/OHLC etc. Resolves when data arrives or times out.

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": "market_data_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
conIdNoContract ID
fieldsNoSpecific fields to return
symbolNo
secTypeNo
currencyNo
exchangeNo
genericTickListNoComma-separated generic tick types (e.g., "100,101,106")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.1/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 burden; it does disclose the important blocking behavior ('Resolves when data arrives or times out'), which is real value. It omits market-data subscription/permission prerequisites, expected latency, and any failure mode when the contract cannot be resolved, which matter for an unannotated tool.

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?

Two tight sentences, front-loaded with the purpose and followed by the resolution behavior; no filler. It could be slightly more structured by separating the contract-identification guidance, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Seven parameters, zero required, no output schema, and no annotations leave significant gaps: an agent cannot tell from the description whether conId alone suffices or whether symbol/secType/exchange/currency must be combined. For a tool of this complexity the description should at least cover contract identification and the shape of the returned snapshot.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 43% (symbol, secType, currency, exchange are undocumented) and the description adds nothing about parameters beyond 'one contract'. It does not explain the critical ambiguity that conId may substitute for the symbol/secType/exchange/currency combination, nor the semantics of fields versus genericTickList.

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 specific verb and resource ('Get a point-in-time snapshot of market data') plus the returned field set (bid/ask/last/volume/OHLC). The phrase 'for one contract' implicitly distinguishes it from market_data_bulk_snapshot, but no sibling is named explicitly.

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: 'one contract' signals a single-instrument use case versus bulk, and 'resolves when data arrives or times out' hints at a blocking/async pattern. There is no explicit when-to-use, when-not-to-use, or pointer to alternatives such as historical_data or the streaming subscribe tools.

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

Deploy Server

Other Tools