finsage
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FINSAGE_LLM_API_KEY | No | API key for the LLM provider. Required when FINSAGE_LLM_PROVIDER is set to openai. | |
| FINSAGE_LLM_BASE_URL | No | Base URL for an OpenAI-compatible endpoint (e.g., DeepSeek). Optional. | |
| FINSAGE_LLM_PROVIDER | No | LLM provider: mock or openai (or any OpenAI-compatible). Defaults to mock. | mock |
| FINSAGE_DATA_PROVIDER | No | Data provider: mock or akshare. Defaults to mock. | mock |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| analyze_stockA | 用自然语言分析 A 股标的,返回价格、关键财务与 LLM 生成的简明投资要点。 Args: query: 自然语言请求,例如「分析贵州茅台的 ROE 和毛利率」。 symbol: 可选,直接指定标的代码或名称,如 600519 / 贵州茅台。 |
| screen_stocksA | 按自然语言条件筛选 A 股标的,返回按得分排序的候选清单。 Args: query: 自然语言筛选条件,例如「低估值且高 ROE 的白酒股」。 top_n: 返回前 N 只,默认 10,范围 1-50。 |
| stock_reportB | 生成单只 A 股标的的公司概览与风险点简报。 Args: symbol: 标的代码或名称,例如 600519 / 贵州茅台。 include_risk: 是否包含风险点,默认 True。 |
| compare_stocksA | 横向对比多只 A 股标的的关键指标,并返回 LLM 生成的对比结论。 Args: symbols: 标的代码或名称列表,如 ["600519","000858"]。 metrics: 可选对比维度(英文key),默认核心财务指标。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
analyze_stock and stock_report both target single stocks and return financial information, but analyze_stock is query-driven with LLM investment points while stock_report is a structured risk-focused briefing. screen_stocks and compare_stocks are clearly distinct for multi-stock scenarios.
Three tools follow verb_noun pattern (analyze_stock, screen_stocks, compare_stocks), but stock_report breaks the pattern as noun_noun. Singular/plural inconsistency also appears (stock vs stocks).
Four tools provide a focused set for A-share analysis: single-stock analysis, screening, detailed report, and comparison. This is well-scoped and each tool has a clear purpose.
Core analysis workflows are covered (analyze, screen, report, compare), but there is no direct tool for historical price data or sector-level scans. Minor gap that agents can work around via analyze_stock.