Skip to main content
Glama

Candle Analogue Map

get_candle_analogue_map
Read-onlyIdempotent

Explore historical paths rebased to the query close: terminal-close P10/P50/P90, observed path extremes, turn clusters and which quantile threshold was reached first. forwardSummary counts how often the low printed before the high, with the spread of those bar numbers and the close distribution at each bar. Quote forwardSummary.lines. That is a summary of similar windows, not a forecast of the next path and not a side. Terminal quantiles are not an 80% whole-path corridor. Use evaluate_candle_hypothesis for your own levels.

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

Input Schema

NameRequiredDescriptionDefault
fNoForward horizon in bars. Only the chart presets 5, 10, 30, and 50 are supported
qNoCandles in the matched pattern. Only the chart presets 3, 5, 8, and 12 are supported
limitNoClosest analogues to list (1-20). Bands and direction always use the chart's 20 neighbours
symbolNoSupported chart symbol: BTCUSDT, ETHUSDT, SOLUSDT, or ZECUSDTBTCUSDT
anchorTsNoOptional historical replay anchor in Unix milliseconds. Omit for the latest chart candle
intervalNoSupported chart timeframe: 5m, 15m, 1h, 4h, or 1d5m
token_idNoOptional token. No token or payment is needed during the free access experiment.
chart_tokenNoOptional account key; all tools work anonymously during the free access experiment.
includeAnalogueCandlesNoInclude OHLC arrays for every analogue and its continuation. False keeps the response agent-sized

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / symbol / description
      Previous value: -"Supported chart symbol: BTCUSDT, ETHUSDT, or SOLUSDT"New value: +"Supported chart symbol: BTCUSDT, ETHUSDT, SOLUSDT, or ZECUSDT"
    • changedInput schema / properties / symbol / enum
      Previous value: -[
      -  "BTCUSDT",
      -  "ETHUSDT",
      -  "SOLUSDT"
      -]New value: +[
      +  "BTCUSDT",
      +  "ETHUSDT",
      +  "SOLUSDT",
      +  "ZECUSDT"
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / chart_token / description
      Previous value: -"Optional Chart access token. Prefer the X-Aipp-Chart header in the MCP client config so every tool call is covered."New value: +"Optional account key; all tools work anonymously during the free access experiment."
    • changedInput schema / properties / token_id / description
      Previous value: -"Optional Chart access token (64-hex, same as X-Aipp-Chart / the token on /profile). After the daily free MCP quota, paid tools require the Chart $29/mo Stripe subscription. Legacy Manus token_id still works only when MCP_BILLING=manus."New value: +"Optional token. No token or payment is needed during the free access experiment."
  3. Changed1 schema field changed
    • changedInput schema / properties / limit / description
      Previous value: -"Number of closest candle analogues to return (1-20)"New value: +"Closest analogues to list (1-20). Bands and direction always use the chart's 20 neighbours"
  4. Changed2 schema fields changed
    • addedInput schema / properties / chart_token
      Added value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "anyOf": [
      +    {
      +      "not": {}
      +    },
      +    {
      +      "minLength": 1,
      +      "type": "string"
      +    }
      +  ],
      +  "description": "Optional Chart access token. Prefer the X-Aipp-Chart header in the MCP client config so every tool call is covered."
      +}
    • changedInput schema / properties / token_id / description
      Previous value: -"Optional Manus access token. Paid tools use tokenized service access, not a monthly subscription: when token_id is omitted the server returns payment_required with a Solana Pay invoice, and after payment you retry with the same token while the server uses Manus token/resolve to recover pending access."New value: +"Optional Chart access token (64-hex, same as X-Aipp-Chart / the token on /profile). After the daily free MCP quota, paid tools require the Chart $29/mo Stripe subscription. Legacy Manus token_id still works only when MCP_BILLING=manus."
  5. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description wisely spends its space on interpretation semantics instead: forwardSummary counts low-before-high ordering, the summary is 'not a forecast of the next path and not a side', and terminal quantiles are explicitly 'not an 80% whole-path corridor'. These are genuine misuse-prevention disclosures that annotations cannot convey. It stops short of describing pagination or response size behavior, though the schema's includeAnalogueCandles note covers the size tradeoff.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Output contents are front-loaded, which is good, but the prose is a dense run of fragments and jargon ('terminal-close P10/P50/P90', 'turn clusters') with a slightly disjointed 'Quote forwardSummary.lines. That is a summary...' construction. Every sentence carries content, but the structure impedes quick scanning for an agent deciding whether to call it.

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 and nine parameters, the description must carry the return-value burden, and it does name the main response components and how to read forwardSummary. Remaining gaps are moderate: the analogue list structure, how turn clusters are represented, and what 'rebased' means numerically are left implicit, but enough is given to call the tool correctly.

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 nine parameters carry their own descriptions including enum presets and the note that bands and direction always use the chart's 20 neighbours. The description adds essentially no parameter-level meaning beyond the output field names, so the baseline 3 applies.

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 names the resource concretely (historical analogue paths rebased to the query close) and enumerates the outputs it produces: terminal-close P10/P50/P90, path extremes, turn clusters, and which threshold was hit first. The verb is loosely 'Explore' rather than a crisp operation, so the agent learns what it gets more than what it does, but it is clearly distinguishable from siblings like explain_candle_match or get_candle_track_record.

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?

One explicit alternative is named — 'Use evaluate_candle_hypothesis for your own levels' — which gives a concrete routing rule. However, there is no guidance on when to prefer this tool over inspect_candle_analogue, describe_candle_windows, or the other analogue-related siblings, and no stated prerequisites or exclusions beyond the free-access note carried in the schema.

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