Financial analysis tools with FastMCP server for stock market analysis and visualization using AI-powered agents
This server has significant definition quality gaps. Only 1 of 3 tools has a well-formed input schema; the other two lack proper parameter definitions. Descriptions exist but are verbose and example-laden, violating LLM best practices. All tools lack error handling guidance, and the schema for run_code_and_show_plot is empty. Tool naming is reasonably clear, but compositions create problematic multi-step workflows. Given the tool count is small (3 tools) and 1 tool has zero input schema, the average tool score is pulled down substantially.
Analyzes stock market data based on the query and generates executable Python code for analysis and visualization. Returns a formatted Python script ready for execution. The query is a string that must contain the stock symbol (e.g., TSLA, AAPL, NVDA, etc.), timeframe (e.g., 1d, 1mo, 1y), and action to perform (e.g., plot, analyze, compare). Example queries: - "Show me Tesla's stock performance over the last 3 months" - "Compare Apple and Microsoft stocks for the past year" - "Analyze the trading volume of Amazon stock for the last month"
Run the code in stock_analysis.py and generate the plot
Expects a nicely formatted, working and executable python code as input in form of a string. Save the given code to a file stock_analysis.py, make sure the code is a valid python file, nicely formatted and ready to execute.
run_code_and_show_plot has zero input schema, clients cannot determine what (if any) parameters to pass
Descriptions embed literal example values (TSLA, AAPL, NVDA, Tesla, Apple, Microsoft, Amazon), violating pattern:tool-description
No tools document error conditions or recovery guidance
save_code tool description does not state that it modifies the filesystem (command-tool requirement)
run_code_and_show_plot description is only 44 characters, too brief per baseline (p10=34, p90=392)
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 41 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 28 | - | v1 |
No input validation or constraint documentation for stock symbols and timeframes
analyze_stock and save_code have no documented output schema