Skip to main content
Glama

Trader Decision v2

get_trader_decision_v2
Read-onlyIdempotent

Return a conservative chart-parity trader decision. V2 combines the candle snapshot contract with freshness and execution-component gates; it returns NO_TRADE while candle direction is unvalidated or canonical server-side order flow is unavailable.

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

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 declare read-only, idempotent, closed-world, non-destructive behavior, so the bar is lower; the description still adds real value by disclosing the gating logic that forces NO_TRADE when candle direction is unvalidated or canonical order flow is unavailable. This tells an agent how to interpret an empty/negative result, which annotations cannot. It stops short of describing the shape of a successful decision payload.

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 with the core purpose and the failure-mode behavior front-loaded, and no filler. The phrasing is dense with internal jargon ('chart-parity', 'candle snapshot contract', 'canonical server-side order flow') that costs some immediate comprehensibility.

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?

For a read-only tool with nine optional parameters fully documented in schema and no output schema, the description covers purpose and the NO_TRADE gate but leaves the positive return shape undefined—an agent cannot tell what a non-NO_TRADE decision actually contains. Given the absent output schema, more return-value context would be warranted.

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 enums and defaults documented for symbol, interval, forward horizon, pattern length, limit, anchorTs, tokens, and includeAnalogueCandles, so the baseline is 3. The description adds no parameter-level meaning beyond the schema—notably it never explains the anchorTs replay mode or the deliberate decoupling of 'limit' from the fixed 20-neighbour bands.

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 opens with a specific verb and resource ('Return a conservative chart-parity trader decision') and names V2's composition of the candle snapshot contract with freshness and execution gates. It does not explicitly distinguish itself from siblings like get_candle_evidence_board or check_candle_order, so an agent must infer the boundary, but the core purpose is unambiguous.

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: an agent gathers that this tool yields a go/no-go trading decision, and the NO_TRADE conditions hint at when the result will be non-actionable. There is no explicit guidance on when to prefer this over the numerous sibling analysis tools, nor any stated prerequisites beyond the implicit server-side data requirement.

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