Skip to main content
Glama

TradingCalc MCP: Options, Forex, Risk Stats, Prediction Markets, On-Chain & Crypto Futures

Market Profile: Open Analysis

workflow.run_open_analysis
Read-only

Market Profile open analysis: where and how price opened vs the prior session value area. Use for "how did BTC open today?" / "what does the open imply for the session?". Returns: open_location, open_type (OD/OTD/ORR/OAIR) with description/implication, confidence, key_levels (VAH/VAL/VPOC/IB), tails (session-high/low rejection tails and single prints), scenario_framing (bullish/bearish/neutral), invalidation level.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
venueYesExchange to fetch candles from when candles[] not supplied
candlesNoOptional OHLCV for the session; omit to fetch from venue (reproducible + 0 COGS when supplied)
timeframeNoCandle timeframe (default 15m)
instrumentYesSymbol, e.g. BTCUSDT
prev_candlesNoOptional OHLCV for the previous session
session_dateYesSession date YYYY-MM-DD (UTC)
value_area_ruleNoValue-area fraction 0.5–0.9 (default 0.70)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / value_area_rule / description
      Previous value: -"Value-area fraction 0.5–0.9 (default 0.71)"New value: +"Value-area fraction 0.5–0.9 (default 0.70)"
  2. Changed1 schema field changed
    • changedInput schema / properties / value_area_rule / description
      Previous value: -"Value-area fraction 0.5–0.9 (default 0.70)"New value: +"Value-area fraction 0.5–0.9 (default 0.71)"
  3. Changed1 schema field changed
    • changedInput schema / properties / candles / description
      Previous value: -"Optional OHLCV for the session — omit to fetch from venue (reproducible + 0 COGS when supplied)"New value: +"Optional OHLCV for the session; omit to fetch from venue (reproducible + 0 COGS when supplied)"
  4. 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 (readOnlyHint=true, destructiveHint=false, openWorldHint=true), so the bar is lower. The description adds genuinely useful context by enumerating the analytical outputs (open_location, open_type classification set, tails, scenario_framing, invalidation level), which the agent could not infer from schema or annotations. It does not mention cost/reproducibility of supplying candles, which the schema already states.

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?

Front-loaded with the purpose, then usage triggers, then a compact semicolon-delimited return inventory. The return list is dense but every field named is meaningful and there is no filler prose.

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 description carries the burden of explaining return values and does so thoroughly (open classification, key levels, tails, scenario framing, invalidation). For a read-only analytical workflow with full schema coverage, the definition supplies everything an agent needs to call and interpret it.

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% and all seven parameters are documented in the schema (venue enum, timeframe enum, value_area_rule range, candles reproducibility note). The description adds almost no parameter-level meaning beyond that; baseline 3 is appropriate when the schema does the heavy lifting.

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: 'Market Profile open analysis: where and how price opened vs the prior session value area.' The example queries ('how did BTC open today?') make the analysis target unambiguous. It does not, however, explicitly distinguish itself from adjacent siblings like workflow.run_session_structure, so a 4 rather than a 5.

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

Usage Guidelines4/5

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

The quoted user questions ('how did BTC open today?', 'what does the open imply for the session?') give concrete triggers for selecting this tool. There is no statement of when NOT to use it or which sibling to prefer for related session-structure questions, so it stops short of a 5.

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.