Skip to main content
Glama

TradingCalc MCP — Crypto Futures Math

workflow.run_session_structure

Market Profile day-type classifier — trend / balance / neutral_trend / normal / normal_var, from TPO, initial balance, range extension and value migration. Use for "is this a trend day or a balance day?".

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. Added

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description carries full burden. It details the algorithm sources (TPO, initial balance, etc.) and the output categories, but does not explicitly state safety (e.g., read-only, no side effects) or any limitations. Adequate but not thorough.

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?

The description is two concise sentences: the first explains what the tool does and its output, the second provides a usage question. No redundant information, perfectly front-loaded.

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 7 parameters all documented in schema and no output schema, the description lists the possible day-types, which is helpful. It lacks details on return structure or error conditions, but the given information is sufficient for most use cases.

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%, with each parameter well-documented (e.g., venue enum, candles optional, timeframe defaults). The tool description adds minimal parameter insight beyond the schema, so baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it is a 'Market Profile day-type classifier' and lists the specific categories (trend, balance, neutral_trend, normal, normal_var). It distinguishes from siblings by focusing on day-type classification using TPO, initial balance, etc., which is unique among the workflow tools.

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 description explicitly provides a usage question: 'Use for "is this a trend day or a balance day?"', giving clear context. While it does not mention when not to use or alternatives, the explicit usage case suffices for a 4.

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.