MCP for yafin. Model context protocol server for Yafin, which is used for financial data retrieval.
Yafin MCP is a straightforward financial data retrieval server with 4 read-only tools. All tools have clear action-verb names (get_*) and reasonable descriptions. Input schemas are present with type definitions and parameter descriptions. However, there are notable gaps: parameter descriptions lack detailed constraints (valid enum values are mentioned textually but not formalized), output schemas are not documented, and error handling guidance is absent. The server implements a focused domain (financial statements and charting) with consistent structure across tools, but lacks the depth of validation constraints and error recovery patterns expected at higher maturity levels.
Get balance sheet for the ticker.
Get cash flow statement for the ticker.
Get chart data for the ticker.
Get income statement for the ticker.
Parameter enum values documented as text strings in descriptions, not formal enum constraints. 'Valid values: 1d,5d,1mo,3mo,6mo,1y' and 'Valid values: annual, quarterly or trailing' appear in descriptions but are not registered as JSON Schema enum fields. LLMs cannot reliably parse comma-separated lists from text; formal enums are machine-parseable and prevent hallucinated values.
Output schemas are not documented. Tools return Generator[dict[str, Any], None, None] or Generator[list[dict[str, Any]], None, None], but the structure of the yielded dictionaries is never specified. LLMs cannot plan downstream field extraction or validate responses without knowing what keys/fields to expect.
No error handling or recovery guidance. If a ticker is invalid, the API call fails, or the Symbol context fails, there is no fallback logic or error categorization (retryable vs. user-fixable). The LLM has no guidance on what to do when a call fails.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | C | 63 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 49 | - | v1 |
Parameter descriptions are minimal (10-15 characters on average) and lack actionable format/constraint details. 'Ticker symbol, e.g.: META for Meta Platforms, MSFT for Microsoft, etc.' is helpful but does not specify case sensitivity, format validation, or what happens if an invalid ticker is passed.
Tool descriptions are brief (9-10 words) and do not explain when/why to use each tool or distinguish use cases. For example, 'Get income statement for the ticker' vs 'Get balance sheet for the ticker' are nearly identical; descriptions should explain what each statement reveals (profitability vs. assets/liabilities) and when an agent should select one over the other.
No pagination or result limit enforcement documented. If financial data returns large lists (e.g., historical data or many line items), there is no cap on result size, limit parameter, or offset/cursor guidance. Large unbounded results risk exhausting the LLM context window.