MCP server providing financial research tools including stock market data retrieval, technical analysis, SEC filing extraction, stock chart generation with technical indicators, fundamental ratio analysis, and trade blotter database queries
This server exhibits severe quality gaps across naming, descriptions, schemas, and error handling. Of 25 tools, only 7 have any parameter descriptions at all. Most tool names lack action verbs and are ambiguous. Input schemas are present but descriptions are minimal or absent. Error handling is primitive (returning {'error': 'message'} strings with no recovery guidance). The server mixes two distinct concerns: a 'swallow_server' Easter egg tool, financial research tools (get_stock_data, get_fundamentals, get_sec_10k, etc.), and file-reading agents (read_technical_analysis, read_income_statement, etc.), with no clear purpose hierarchy. Tool descriptions are under 50 chars for most tools, violating baseline minimums (avg 194 chars). Parameters lack descriptions entirely for tools 8-25. No output schemas are documented. No parameter validation rules or enums are defined. Security is not addressed, tools accept arbitrary file paths (work_dir parameter) without path traversal protection.
Generate a stock chart with technical indicators and save as PNG image
Get path to stock chart image.
Fetch fundamental company data including financial metrics and ratios
Get fundamental metrics and comparison data for a company and its peers
Extract and return relevant sections from SEC 10-K filing for a company
Fetch historical stock data with technical indicators
Query the trade blotter database for trade records, positions, or performance analysis
18 of 25 tools (tools 8 - 25) have only a single parameter 'work_dir' with ZERO parameter description. The work_dir is ambiguous: does it require an absolute path? A relative path from CWD? Does it validate that the directory exists? LLMs cannot infer this.
Path traversal vulnerability: All 18 file-reading tools accept a 'work_dir' parameter with no validation. An LLM could pass '../../../etc/passwd' or '/etc/passwd' to read arbitrary files. No sanitization or path whitelist is visible in the source code shown. This violates security pattern tool-gateway.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 41 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 0 | - | v1 |
Load analyst recommendations.
Load balance sheet data.
Load business model analysis from deep analysis phase.
Load business profile from Perplexity research.
Load cash flow statement data.
Load competitive landscape analysis.
Load executive profiles from Perplexity research.
Load fundamental company data from overview file.
Load income statement data.
Load investment thesis with SWOT and bull/bear cases.
Load financial ratios data.
Load news stories from Perplexity research.
Load list of peer companies.
Load risk and news analysis.
Load SEC 10-K Item 1 (Business Description).
Load technical analysis data including indicators and trend signals.
Load Wikipedia company summary.
Provides the airspeed velocity of an unladen swallow.
No output schemas documented for ANY tool. Rubric baseline: 100% of A+ tools have documented return types. The code shows functions return dicts or lists, but LLMs cannot infer the structure of those dicts. E.g., read_technical_analysis returns a dict but what fields? What are their types? What if the file is missing? Responses return {'error': 'message'} but documentation is absent.
Error responses are non-actionable. Tools return {'error': 'Failed to load technical analysis: [exception]'} or a bare error string. Check that work_dir is set to the research output directory.' or 'Ensure the directory structure matches 01_technical/technical_analysis.json.' Current errors give no recovery path.
Tool descriptions for read_* tools are below 50 characters: 'Load technical analysis data including indicators and trend signals.' (67 chars) is acceptable, but many are shorter. Rubric minimum: 10 - 1024 chars recommended, baseline average 194 chars. Short descriptions lack selection context for LLMs. Descriptions should include WHEN to call the tool, not just WHAT it does.
Missing tool annotations. The MCP spec 2026-07-28 supports tool annotations (readOnlyHint, destructiveHint, idempotentHint) to help agents reason about side effects and idempotence. All tools are READ_ONLY except generate_stock_chart (WRITE), but these annotations are not declared in the tool definitions. This is a spec alignment gap.
Naming inconsistency: 'read_*' prefix is used for 18 file-reading tools but is not an action verb per pattern:tool baseline. Baseline verbs: get_, list_, create_, search_, update_, delete_, send_. 'read_' is acceptable but 'get_' would be more conventional. More critically, there is no semantic distinction between read_technical_analysis and get_stock_data, both fetch data, yet naming differs. Consistent verb choice (e.g., all 'get_' or all 'fetch_') improves discoverability.
unladen_swallow_airspeed tool appears to be an Easter egg or unrelated test tool. It does not fit the financial research domain. Naming is vague ('unladen_swallow_airspeed' vs. canonical action_noun pattern). Description is generic ('Provides the airspeed velocity of an unladen swallow'). Parameter 'swallow_type' lacks a description. This tool dilutes the server's focus and suggests incomplete cleanup.
No pagination support visible for get_stock_data, get_fundamentals, query_blotter. Large datasets can exhaust context windows. Current tools have no indication of result limits or pagination.
Parameter validation constraints not documented. E.g., get_stock_data accepts 'lookback_days' (integer) but no min/max documented. Can an LLM pass 0? 1000000?
No dependencies between tools documented. E.g., generate_stock_chart requires a 'symbol' but there is no discovery tool to list valid symbols. Can LLMs discover valid stock symbols? The descriptions do not say.