explain_decision
Purpose: Multi-layer explanation for a single symbol's recent research signal.
Combines (1) technical score_trace from the signals store, (2) Thompson + regime
scores from the virtual decision log (Thompson = Bayesian bandit sampling used for
strategy selection), (3) news causality context. Use this when an AI must present
a structured "why" rather than a raw verdict.
Triggers (casual questions too): "why is BTC bullish?", "왜 이 종목이 매수야?",
"explain that signal", "판단 근거 설명해줘", "walk me through the reasoning".
When to call: when the user asks "why is this signal bullish/bearish?".
Prerequisites: identify the symbol via get_signals or get_latest_decisions first.
Next steps: none (this completes the explanation chain).
Caveats: symbol must match the per-symbol signal store filename (lowercase).
Output is research evidence, NOT a buy or sell recommendation.
Args: market_id: Market identifier (crypto, kr_stock, us_stock; aliases coin/kr/us) symbol: Symbol to explain (e.g., btc, eth, 005930)
Disclaimer: Information only, not investment advice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| market_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Set true on error responses | |
| action | No | Recommended client action (error path) | |
| reason | No | Human-readable cause (error path) | |
| full_data | No | ||
| retryable | No | Whether the client should retry (error path) | |
| timestamp | Yes | RFC3339 UTC, server build time | |
| ai_summary | No | One-line AI-oriented summary (success path) | |
| disclaimer | Yes | Canonical compliance disclaimer (always present) | |
| error_code | No | Stable error identifier; see mcp_error_policy.md | |
| request_id | Yes | 32-hex per-response correlation id | |
| _llm_summary | No | ||
| action_value | No | ||
| _next_actions | No | ||
| fallback_note | No | ||
| fallback_tool | No | Suggested fallback (error path) | |
| is_real_money | No | ||
| _value_signals | No | ||
| summary_for_user | No | One-line jargon-free Korean summary (success path) | |
| data_classification | No | ||
| is_investment_advice | No | ||
| ai_summary_ttl_seconds | No | ||
| _market_state_narrative | No | ||
| ai_summary_generated_at | No | RFC3339 UTC | |
| _followup_questions_for_user | No |