Skip to main content
Glama

Investigate Event & Session Candle Hypothesis

investigate_candle_event_hypothesis
Read-onlyIdempotent

Test whether a candle window behaves differently under UTC sessions (Asia, London, US overlap / CPI / NY open, New York), a UTC event hour (for example 14:00 UTC FOMC), weekday versus weekend, or a pre-pattern volatility regime. A price order is replayed only when levelPrice, targetPrice and invalidationPrice are all supplied. Omitting the level returns the session profile and does not invent a price from P90 or P10. A level alone reports reach. Always returns NO_TRADE.

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

Input Schema

NameRequiredDescriptionDefault
fNoForward horizon preset: 5, 10, 30 or 50. Default 10.
qNoPattern length preset: 3, 5, 8 or 12. Default 5.
symbolNoBTCUSDT, ETHUSDT, SOLUSDT or ZECUSDT. Default BTCUSDT.BTCUSDT
dayTypeNoFilter analogues by 'weekday' (Mon-Fri), 'weekend' (Sat-Sun), or 'all'.all
sessionNoUTC session filter for historical analogues: 'auto' matches the query window's own UTC session; 'asia' (00-08 UTC), 'london' (08-13 UTC), 'usOverlap' (13-16 UTC, CPI/NY open), 'newYork' (16-22 UTC), 'lateUtc' (22-24 UTC), or 'all'.auto
utcHourNoOptional specific UTC event hour (0..23) to condition on, e.g. 14 for FOMC or 12/13 for CPI releases.
anchorTsNoOptional historical snapshot timestamp in Unix ms.
intervalNoSupported chart timeframe: 5m, 15m, 1h, 4h, or 1d. Default 1h.1h
levelPriceNoPrice level the caller named. If omitted, the tool returns the session profile and does not invent a level from P90 or P10. Alias: level.
targetPriceNoTarget the caller named. Used only when supplied. Alias: target.
utcHourToleranceNoTolerance in hours around utcHour when utcHour is supplied. Default 1.5 hours.
volatilityRegimeNoPre-pattern candle range filter relative to the query window's mean bar range (uses only the q pattern bars, never forward outcomes): 'compressed' (<0.75x), 'similar_range' (0.5x..2.0x), 'expanded' (>1.25x), or 'all'.all
invalidationPriceNoInvalidation the caller named, on the opposite side of levelPrice. Used only when supplied. Aliases: stop, stopPrice, invalidation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / symbol / description
      Previous value: -"BTCUSDT, ETHUSDT or SOLUSDT. Default BTCUSDT."New value: +"BTCUSDT, ETHUSDT, SOLUSDT or ZECUSDT. Default BTCUSDT."
    • changedInput schema / properties / symbol / enum
      Previous value: -[
      -  "BTCUSDT",
      -  "ETHUSDT",
      -  "SOLUSDT"
      -]New value: +[
      +  "BTCUSDT",
      +  "ETHUSDT",
      +  "SOLUSDT",
      +  "ZECUSDT"
      +]
  2. Changed3 schema fields changed
    • changedInput schema / properties / invalidationPrice / description
      Previous value: -"Optional invalidation price on the opposite side of levelPrice."New value: +"Invalidation the caller named, on the opposite side of levelPrice. Used only when supplied. Aliases: stop, stopPrice, invalidation."
    • changedInput schema / properties / levelPrice / description
      Previous value: -"Price level to test. Defaults to neighbour terminal-close P90 above close (or P10 below)."New value: +"Price level the caller named. If omitted, the tool returns the session profile and does not invent a level from P90 or P10. Alias: level."
    • changedInput schema / properties / targetPrice / description
      Previous value: -"Optional target price after reaching levelPrice."New value: +"Target the caller named. Used only when supplied. Alias: target."
  3. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, closed-world, non-destructive, so the safety profile needs no repetition here. The description adds genuinely non-obvious contracts: it never invents a price from P90/P10, it reports reach when only a level is given, and it always returns NO_TRADE. These are the kind of guarantees an agent could not derive from structured fields. It does not describe what the response body contains beyond those labels.

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?

The first sentence front-loads the conditioning axes, then the remaining sentences cover the price gating and the NO_TRADE guarantee in order of decision relevance. It is dense but not padded, and examples like 14:00 UTC FOMC are useful even though they echo the schema. Minor redundancy with the schema's own wording keeps it off a 5.

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

Completeness3/5

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

This is a complex tool: 13 parameters, 7 enums, and no output schema, so the description carries real burden. It covers the price-gating contract and the no-trade guarantee, but 'returns the session profile' and 'reports reach' are left undefined, and nothing distinguishes it from the evaluate/replay siblings. Adequate as a minimum, but material gaps remain for a tool of this complexity.

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 coverage is 100%, so every parameter's meaning, enum values, and defaults are already documented in structured form, which sets the baseline at 3. The description restates the gating relationship among levelPrice, targetPrice, and invalidationPrice but adds no syntax or format detail the schema lacks. Credit for it is limited to the conditional interaction, not new per-parameter semantics.

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 gives a specific verb and object: it tests whether a candle window behaves differently under UTC sessions, a UTC event hour, weekday/weekend, or a volatility regime. That is far more concrete than the bare name, and the enumerated conditioning axes make the tool identifiable. It stops short of naming how it differs from near-siblings like evaluate_candle_hypothesis or replay_candle_hypothesis.

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?

It clearly states the internal usage modes: a full price order (levelPrice + targetPrice + invalidationPrice) triggers a replay, a level alone reports reach, and omitting the level returns only the session profile. What it never does is say when to pick this tool over the sibling evaluation/replay tools, so the agent must infer the boundary from names alone.

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