Stock Analysis
analyze_stockAggregate all quant tools into one JSON stock analysis.
The tool reuses the existing MCP tools as its data sources, then derives a
direction signal, direction score, bullish factors, bearish factors and
plain-English summary. `tool_responses` carries each source's full text
(AI prediction, IV radar, option pressure, equity curve, Monte Carlo with
its distribution), including their data dates; `confidence_score_meaning`
explains the 0-100 score. If one underlying tool is gated, unavailable or
raises an error, the remaining tools still contribute to the final result
(status "partial"); if every underlying tool fails, the whole call fails
(status "error", isError=True) instead of a misleadingly "successful"
empty analysis.
Args:
symbol: Stock symbol, e.g. "NVDA".
refresh: Request fresh IV Radar data instead of using the backend's
fresh IV cache. Defaults to False.
lang: Language for `summary`, `bullish_factors` and `bearish_factors`
- "en" (default), "zh" or "ja"; regional forms like "zh-CN" are
accepted. Everything else in the response, `signal` included, is
language-independent, so an existing caller that omits this gets
byte-identical output to before.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "<symbol>"
},
"name": "analyze_stock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | en | |
| symbol | Yes | Stock ticker symbol, e.g. AAPL. | |
| refresh | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||