- Product version
- 0.3.2
- Docs revision
- r4
- State
- Current · released
- Deployment
- not-deployed
- Source
- v0.3.2 · 177935651505
Released, not yet live — live runtime v0.3.1
Darth Feedor
Darth Feedor MCP API reference
v0.3.2docs r41779356
This page is the reading reference for the Darth Feedor MCP surface. MCP tools/list is the exact executable schema authority for the tools your own connection exposes, and the running server identifies itself through serverInfo.version and tool_health_check().version. Where your connection's tools/list and this page's text need to agree exactly, tools/list wins.
The entry point and the mental model are on Darth Feedor; the goal-first sequences are on Darth Feedor workflows.
Tools
tools/list is the exact executable schema authority. This section reproduces that contract in full: every tool, every public parameter with its type, default and accepted values, and the tool description exactly as clients receive it. Parameters hidden from the published schema are not listed here either.
tool_health_check
tool_health_check() -> dict[str, str]Takes no parameters.
Exact tool description as published to clients
Check availability of the Feedor MCP server and its database connection.Diagnostic probe only — returns no market intelligence. Use when callsfail or to verify server availability before a long workflow. A healthyresult is a point-in-time availability status, not a freshness signal forany data surface. If healthy, proceed to the smallest relevant retrievaltool or get_capability_guide for workflow guidance; if unhealthy, nointelligence tool will succeed.get_capability_guide
get_capability_guide( section: str | None = None) -> dict[str, Any]Exact tool description as published to clients
Return the Feedor capability guide - an operational usage guide.The guide teaches goal-first usage of this server: choose workflows bygoal, distinguish processed context from raw evidence, apply freshnessrules, use progressive retrieval to bound context cost, and fall backsafely when a surface is stale, empty, or unavailable.Args: section: Optional section name to scope the response to one topic (for example "quick_start" or "fallbacks"). When None, the full guide is returned. Legacy v1 section names remain accepted as aliases.Returns: The full guide, requested section, or a structured rejection for an unknown section. For exact callable parameter schemas use tools/list.get_articles — deprecated compatibility surface
get_articles( source: str | None = None, has_summary: bool | None = None, date_from: str | None = None, date_to: str | None = None, limit: int = 20, fields: list[str] | None = None, format: str = 'toon', timezone: str | None = None) -> str | list[dict[str, Any]] | dict[str, Any]Exact tool description as published to clients
DEPRECATED — legacy compatibility surface returning bounded articleMETADATA for a source and date window. Retained for one compatibilityperiod only; use list_articles (view='compact' for discovery,view='analytical' for a bounded thesis/bullets) for new integrations.Retained for backward compatibility — legacy status, but not thepreferred first tool for article research. Prefer the progressive ladder:list_articles for lightweight discovery, get_article_bullets for selectedenrichment, get_article_detail for a single deep read. Full summariesare NOT returned: summary content is excluded from every response andrequesting it via fields is rejected with a structured error. URLs aredeterministically redacted of sensitive/tracking query parameters. Therow/byte bounds — including the total-payload ceiling — form a hardsafety ceiling; requests above them are rejected structurally.A concrete narrow example: get_articles(source="financial-media",date_from="2026-08-20", date_to="2026-08-22", limit=25).Args: source: Filter by source tag. Values: 'gmail-substack', 'financial-media', 'official-documents'. If omitted, returns all sources. has_summary: True=only articles with LLM summary, False=unsummarized only. date_from: ISO date lower bound (YYYY-MM-DD) on published_at. date_to: ISO date upper bound (YYYY-MM-DD) on published_at. limit: Max rows to return (default 20, max 50). Higher values are rejected with a structured error naming the cap. fields: Subset of fields to include. Valid: id, title, source, url, published_at, created_at, relevance_score, sender_name, is_content_blocked. 'summary' is not available on this surface. format: 'toon' (default, compact) or 'json'. timezone: IANA timezone for timestamp conversion (e.g. 'Europe/Warsaw'). Defaults to UTC if omitted or invalid.list_articles
list_articles( since_days: int = 2, date_from: str | None = None, date_to: str | None = None, category: str | None = None, source: str | None = None, limit: int = 10, format: str = 'toon', timezone: str | None = None, query: str | None = None, tags: list[str] | None = None, tag_match: str = 'any', view: str = 'compact') -> str | list[dict[str, Any]] | dict[str, Any]Exact tool description as published to clients
Discover articles via lightweight stubs (phase 1 of two-phase retrieval).This is the default, preferred first tool for article discovery.view='compact' (default): id, title, source, url, published_at, category,tags, has_summary — never thesis, bullets, or the full summary text. Max50 rows.view='analytical': title, thesis, and string bullets truncate with a visiblesuffix at 1,024 JSON-serialized bytes (UTF-8). Oversized source, sanitized url,published_at, and category values are omitted whole at 1,024 bytes;oversized individual tags are omitted at 128 bytes. Non-string collectionmembers are dropped. The view keeps at most 3 bullets and 24 tags. Everyrow reports content_completeness and paired marker arrays:truncated_fields with truncated_omitted_serialized_bytes, omitted_fieldswith original omitted_serialized_bytes, and count_truncated_fields withomitted_item_counts. Omission markers are capped at 24 aligned pairs;marker_overflow and omitted_marker_pairs report any marker loss. Max 20rows — use get_article_bullets orget_article_detail on selected IDs for deeper reads instead of raisingthis limit.When N >= 20 a warning is prepended suggesting aggregate_articles instead.A concrete narrow example: list_articles(since_days=3, category="Macro", limit=5).⚠ When query= is used, results are ordered by SIMILARITY not recency.Old articles may surface. A staleness warning is prepended automaticallyif any result is older than 7 days — do not ignore it.Args: since_days: Days back from now (default 2). Ignored if date_from is set. date_from: ISO date lower bound (YYYY-MM-DD) on published_at. date_to: ISO date upper bound (YYYY-MM-DD) on published_at. category: Filter by LLM category. Values: Macro, Policy, Equities, Geopolitics, Noise. source: Filter by source tag. Values: 'gmail-substack', 'financial-media', 'official-documents'. limit: Max rows to return (default 10; max 50 for view='compact', 20 for view='analytical'). The maxima are safety ceilings, not recommended values — start with the default and widen only if the discovery pass is not enough. format: 'toon' (default, compact) or 'json'. timezone: IANA timezone for timestamp conversion (e.g. 'Europe/Warsaw'). Defaults to UTC if omitted or invalid. query: Optional free-text search — fuzzy title match or full-text search over bullet points. Results are ranked by relevance when set. tags: Optional list of tags to filter by (e.g. ["fed", "macro"]). tag_match: How to match tags — 'any' (default, OR) or 'all' (AND). view: 'compact' (default, discovery) or 'analytical' (adds bounded scalar fields, bullets, tags, and omission markers). Unsupported values are rejected structurally.search_article_bullets
search_article_bullets( query: str, limit: int = 10, format: str = 'toon', timezone: str | None = None) -> str | list[dict[str, Any]] | dict[str, Any]Exact tool description as published to clients
Full-text search inside generated article bullet-points (phase 1 alternative).⚠ NOT FOR CURRENT CONTEXT — results are ranked by text-match relevance,not recency. Old articles will surface if they match the query. Alwayscheck published_at. Use list_articles (no query=) for recent-first results.Matching is English-stemmed full-text search over LLM-generated bullets,not verbatim source text — non-English or heavily paraphrased queries mayunder-match. Use for concept research across the archive, not live marketmonitoring.Returns the declared article_stubs shape. Every row includescontent_completeness and the paired marker arrays truncated_fields withtruncated_omitted_serialized_bytes, omitted_fields with omitted_serialized_bytes,and count_truncated_fields with omitted_item_counts. marker_overflow andomitted_marker_pairs report marker loss; this non-field-bounding search pathemits full/empty/false/zero markers. Use get_article_bullets for cross-article fetchingby ID. A concrete narrow example: search_article_bullets(query="rate cut",limit=10).Args: query: Plain words, no special syntax needed. limit: Max rows to return (default 10, max 20). Higher values are rejected with a structured error naming the cap. format: 'toon' (default) or 'json'. timezone: IANA timezone for timestamp conversion.get_article_bullets
get_article_bullets( ids: list[int], format: str = 'toon') -> str | list[dict[str, Any]] | dict[str, Any]Exact tool description as published to clients
Get enriched phase-2 snapshots for selected article IDs.Unlike list_articles stubs, this returns additional analytical fields(`sentiment`, `mechanisms`, `relevance_score`) while still avoiding thefull summary blob. Use this after selecting candidate IDs from list_articles.Args: ids: List of article IDs (from list_articles results), at most 20 deduplicated IDs. Duplicates are collapsed before the bound check; an empty or over-limit list is rejected structurally. format: 'toon' (default, compact) or 'json'.get_article_detail
get_article_detail( article_id: int, format: str = 'toon', timezone: str | None = None) -> str | dict[str, Any]Exact tool description as published to clients
Get the full analytical summary for one article (deep-dive, phase 3).Returns the complete analytical summary: thesis, bullets, category,sentiment, mechanisms, tags, relevance_score. Use only for one selectedarticle whose bullet points are insufficient and a full analytical readis needed — for several candidates prefer get_article_bullets. Thesummary is generated analysis, not verbatim source text, and a retrievedarticle is not automatically current: check its publication date.Outcomes: a summarized article returns the analytical record with its ownfield bounds applied before the total ceiling. Title truncates with a visiblesuffix at 1,024 JSON-serialized bytes. An oversized sanitized url is omittedwhole, with its original serialized byte size. The result reportscontent_completeness and paired markers: truncated_fields withtruncated_omitted_serialized_bytes, omitted_fields withomitted_serialized_bytes, and count_truncated_fields withomitted_item_counts. marker_overflow and omitted_marker_pairs are alwaysfalse and zero because detail omission markers are structurally bounded. Asummary that remains oversized after these field bounds is rejected withits largest remaining leaf path and serialized byte size. An allowedarticle whose summary has notbeen produced yet returns {status: no_summary}; an unknown or withheld(content-blocked) article returns {status: not_found} with no furtherinformation either way.Args: article_id: ID of the article to retrieve. format: 'toon' (default) or 'json'. timezone: IANA timezone for timestamp conversion (e.g. 'Europe/Warsaw'). Defaults to UTC if omitted or invalid.aggregate_articles
aggregate_articles( since_days: int = 2, date_from: str | None = None, date_to: str | None = None, category: str | None = None, source: str | None = None, tags: list[str] | None = None, tag_match: str = 'any', limit: int = 50) -> dict[str, Any]Exact tool description as published to clients
Aggregate many articles into a deterministic bounded briefing.Use when the candidate set is too large to read article by article —returns per-article stubs (id, title, source, published_at, thesis,top bullets, tags), cross-article tag themes, and an as-of timestamp.Fully deterministic: no LLM synthesis in this tool, so nothing here isnewly generated analysis. Note: article fields are read from storedLLM-generated summaries (see derives_from_generated_summaries). limit=100is a safety ceiling, not a recommended value. A concrete narrow example:aggregate_articles(since_days=3, category="Macro", limit=30).Args: since_days: Days back from now (default 2). Ignored if date_from is set. date_from: ISO date lower bound (YYYY-MM-DD) on published_at. date_to: ISO date upper bound (YYYY-MM-DD) on published_at. category: Filter by LLM category (Macro, Policy, Equities, Geopolitics, Noise). source: Filter by source tag. tags: Optional list of tags to filter by (e.g. ["fed", "fomc"]). tag_match: How to match tags — 'any' (default, OR) or 'all' (AND). limit: Max articles to aggregate (default 50, max 100; higher values are rejected).article_graph
article_graph( article_id: int, limit: int = 10, min_shared_tags: int = 1, mmr_lambda: float = 0.7, format: str = 'toon', timezone: str | None = None) -> str | list[dict[str, Any]] | dict[str, Any]Exact tool description as published to clients
Find articles related to a given article by shared tags.Use after list_articles to expand context: pick a relevant seed articleID, then call article_graph to discover thematically connected articleswithout an additional search query. Relatedness is tag-based, notsemantic similarity, so this is targeted expansion from a known goodseed rather than broad discovery — a seed without tags yields little.Results balance relevance against diversity (MMR) to reducenear-duplicates from the same newsletter edition. Lower mmr_lambda =more diversity, higher = more relevance. A concrete narrow example:article_graph(article_id=12345, limit=10, min_shared_tags=2).Args: article_id: Seed article ID (from list_articles results). limit: Max related articles to return (default 10, max 20). min_shared_tags: Minimum tag overlap to include a result (default 1, max 20). mmr_lambda: MMR balance (0-1 inclusive, default 0.7). 0=max diversity, 1=max relevance. Out-of-range values are rejected. format: 'toon' (default, compact) or 'json'. timezone: IANA timezone for timestamp conversion.progressive_article_search
progressive_article_search( seed_query: str, max_depth: int = 2, max_articles: int = 10, token_budget: int = 8000, since_days: int = 7, format: str = 'toon', timezone: str | None = None) -> str | list[dict[str, Any]] | dict[str, Any]Exact tool description as published to clients
Progressive multi-hop article retrieval.Starts with a seed query, then expands through tag-related articlespublished within the same recency window as the seed. Simulates expertresearch: start with obvious matches, then follow the threads. Expansionis deliberately bounded by depth, article count, token budget, andrecency window (hard ceilings: depth 3, 25 articles, 20000 tokens, 90days); results are ranked deterministically and deduplicated. The stopreason and effective controls are returned as response metadata.Use this when you need comprehensive context on a topic, not just recentarticles. Results can include older material within the window — inspectpublication dates and heed the prepended staleness warning. Deep-read thebest candidates with get_article_detail, or run the ladder manually(list_articles -> article_graph -> get_article_bullets) for finer control.A concrete narrow example: progressive_article_search(seed_query="oilsupply", max_depth=2, max_articles=10, since_days=7).Args: seed_query: Initial search query (fuzzy title match). max_depth: Maximum expansion iterations (default 2, max 3). max_articles: Maximum articles to return (default 10, max 25). token_budget: Maximum total tokens for results (default 8000, max 20000). since_days: How many days back to search (default 7, max 90). format: 'toon' (default) or 'json'. timezone: IANA timezone for timestamps.get_squawks
get_squawks( hours_back: int | None = None, received_from: str | None = None, received_to: str | None = None, before_received_at: str | None = None, before_id: int | None = None, limit: int = 25, fields: list[str] | None = None, format: str = 'toon', timezone: str | None = None, query: str | None = None) -> str | dict[str, Any]Exact tool description as published to clients
Raw, source-facing market evidence from Telegram/Discord within a boundedwindow, optionally filtered by a keyword query.Matching is lexical, not semantic: no stemming, no fuzzy, no vectormatching. Quoted phrases, OR, and exclusion (-) are accepted; a blankquery applies no filter. An empty lexical result is NOT proof that atopic is absent — try synonyms or a wider window.Returns one page as an envelope: items, returned, has_more, next_cursor,and the exact applied_window. To fetch the next page, send backnext_cursor's two fields AND repeat the applied_window exactly asreceived_from/received_to AND repeat the previous page's query verbatimvia query (pass "" when the first page had none) — a cursor-only,relative-hours_back, or query-dropping continuation is rejected with astructured error because it re-anchors the window to now, silently dropsrows near the original lower bound, or silently changes the result setmid-stream. Omitting all window arguments means the last 2 hours.Unqueried spans are capped at 6h and queried spans at 168h; the 100-rowand window maxima are safety ceilings, not recommended values — startnarrow. Pages are ordered received_at DESC then id DESC, so pagination isstable even when timestamps tie. A concrete narrow example:get_squawks(hours_back=2, query="fomc", limit=25).Use this tool when exact recent source-facing evidence matters (catalystchecks, raw quotes). For orientation or the processed market picture useget_squawk_context instead. Every row carries a received timestamp —check recency before quoting anything.Args: hours_back: Lookback window ending at now; mutually exclusive with received_from/received_to. Unqueried lookbacks above 6h are rejected; with a query up to 168h (= 7 days) is allowed. received_from: Exact inclusive window start (ISO-8601 with UTC offset, e.g. '2026-08-25T09:00:00Z'). Requires received_to. received_to: Exact inclusive window end (ISO-8601 with UTC offset). Requires received_from. before_received_at: Keyset cursor timestamp from the previous page's next_cursor. Requires before_id AND the previous page's exact applied_window as received_from/ received_to AND the previous page's query repeated via query ('' if none). before_id: Keyset cursor id from the previous page's next_cursor. Requires before_received_at AND the previous page's exact applied_window as received_from/received_to AND the previous page's query repeated via query ('' if none). limit: Max rows per page (default 25, max 100). fields: Subset of fields to include. Valid: id, content, received_at, link. format: 'toon' (default, compact) or 'json'. timezone: IANA timezone for item timestamp conversion (e.g. 'Europe/Warsaw'). Defaults to UTC if omitted or invalid; never changes the canonical cursor/window. query: Optional lexical keyword search over content (no stemming, multilingual-safe). Accepts quoted phrases, OR, and exclusion (-). Blank or whitespace-only strings are treated as no query.get_squawk_context
get_squawk_context( mode: str = 'latest', view: str = 'dashboard', limit: int = 5, session_date: str | None = None, date_from: str | None = None, fields: list[str] | None = None, format: str = 'toon', timezone: str | None = None) -> str | list[dict[str, Any]] | dict[str, Any]Exact tool description as published to clients
Processed, synthesized rolling market intelligence over recent squawks:overview, session themes, key data, and theme briefs.Best for orientation and the current market picture — this is NOT rawevidence. Inspect the freshness markers (synthesis time, age, staleflag) before calling any view current; a missing marker is not the sameas fresh. Prefer a bounded view (dashboard, key_data, themes, one themebrief) before requesting the full payload. Validate important claimswith get_squawks; if the view is stale or uncertain, fall back to rawsquawks for the same window. A concrete narrow example:get_squawk_context(mode="latest", view="key_data").Args: mode: 'latest' (default) returns the single most-recent context row. 'history' returns one row per session_date (distinct days). 'date' returns context for a specific session_date (single row). view: Scope of processed_data fields returned — applies to every mode. 'dashboard' (default) — overview prose + key_data items. 'overview' — full analytical brief text only (self-contained). 'key_data' — key market data points with symbol/value/dt. 'themes' — session_themes causal bullet list. 'topics' — list available topic/domain names for this context. 'topic:<name>' — events_today filtered by domain name (e.g. 'topic:Geopolitics', 'topic:Central Banks'). 'theme_briefs' — full theme_briefs map + last_synthesis + input_completeness. 'theme_briefs:<section>' — single-section brief. Sections: energies, economy_macro, rates_bonds, fx, geopolitics, equities. Unknown section returns {section, brief: None, available_sections: [...]}. 'full' — entire processed payload, single-row deep inspection only (mode='latest' or 'date'); never available for mode='history' — rejected there to keep history a bounded scoped list, not an unbounded per-row JSON dump. limit: Max rows for mode='history' (default 5, max 31). session_date: Specific date to retrieve (mode='date' only). Format: YYYY-MM-DD. Returns the final synthesis for that day. date_from: ISO date lower bound (YYYY-MM-DD) on session_date for mode='history'. fields: Subset of top-level row fields. Valid: id, session_date, last_updated, processed_data, total_squawks_processed, llm_model. Only applies to mode='history'; ignored when view is set. format: 'toon' (default) or 'json'. timezone: IANA timezone for timestamp conversion (e.g. 'Europe/Warsaw'). Defaults to UTC if omitted or invalid.get_research
get_research( view: str = 'metadata', publisher: str | None = None, tag: str | None = None, series: str | None = None, language: str | None = None, query: str | None = None, has_summary: bool | None = None, date_from: str | None = None, date_to: str | None = None, limit: int | None = None, fields: list[str] | None = None, format: str = 'toon', timezone: str | None = None) -> str | list[dict[str, Any]] | dict[str, Any]Exact tool description as published to clients
Discover formal research documents from institutional publishers(PDF-sourced). Bounded discovery surface — never a full deep read; useget_research_detail for a single selected document.view='metadata' (default, max 50) returns document metadata plushas_summary/has_key_insights presence flags — never summary orkey_insights content. view='analytical' (max 10) additionally adds abounded summary preview and the leading key_insights entries. Extractedcontent is DERIVED, not verbatim source text, and extraction qualityvaries with source layout. Check the document date and publisher beforetreating material as current. Licensing and source boundaries apply: thePDF text itself is not exposed, so preserve document identifiers forattribution. A concrete narrow example: get_research(publisher="GoldmanSachs", tag="rates", limit=10).Args: view: 'metadata' (default) or 'analytical'. publisher: Filter by publisher name (exact match). tag: Filter by tag — matches if tag is in the document's tags array. series: Filter by series name (exact match). language: Filter by document language code (exact match). query: Lexical substring match on title (case-insensitive). Ordering stays date-deterministic even when set. has_summary: True=only documents with LLM summary, False=unsummarized. date_from: ISO date lower bound (YYYY-MM-DD) on doc_date. date_to: ISO date upper bound (YYYY-MM-DD) on doc_date. limit: Max rows to return. Defaults/max: metadata 20/50, analytical 10/10. fields: Subset of fields to include (view-specific allow-list). format: 'toon' (default, compact) or 'json'. timezone: IANA timezone for timestamp conversion (e.g. 'Europe/Warsaw'). Defaults to UTC if omitted or invalid.get_research_detail
get_research_detail( document_id: str, fields: list[str] | None = None, format: str = 'toon', timezone: str | None = None) -> str | dict[str, Any]Exact tool description as published to clients
Get the full analytical record for one research document (deep-dive).Returns the complete document: summary and key_insights plus metadata.Use only for one selected document identified via get_research(view='metadata'/'analytical') — for browsing candidates prefer the discoverysurface. The summary and key_insights are extracted/derived content, notverbatim source text; check the document date and publisher beforetreating material as current. The response is bounded to 384 KiB total(per-field and per-key_insight caps also apply); an over-cap requestfails structurally rather than being silently truncated below the caps.Outcomes: a known document returns the full analytical record; anunknown document_id returns {status: not_found}.Args: document_id: ID of the research document to retrieve. fields: Subset of fields. Valid: document_id, publisher, series, title, doc_date, tags, keywords, summary, key_insights, page_count, language, storage_provider. format: 'toon' (default) or 'json'. timezone: IANA timezone for timestamp conversion (e.g. 'Europe/Warsaw'). Defaults to UTC if omitted or invalid.Errors, limits and recovery
Invalid scope, unsupported combinations, hard-limit violations and non-adaptive payload overflows return structured errors rather than silently changing the request.
These are logical tool-body ceilings before MCP transport framing. They are safety boundaries, not normal-use targets.
The MCP/FastMCP envelope is larger than the logical body, so a logical ceiling is not a literal wire-byte maximum.
TOON escapes physical row/column separators and controls. It is optimized for compact inspection, not general typed round-trip of composite cells; request JSON when typed processing matters.
Access and compatibility
The final release reports the bare version string 0.3.2. get_articles remains deprecated for one compatibility period; it is not the preferred article workflow.
The documentation layers have separate jobs:
tools/list— exact callable schema and descriptions.get_capability_guide()— compact runtime skill for an agent.- This page — human-facing workflows, complete reference, limitations and release notes.
Known limitations
- Squawk search is lexical rather than semantic.
- Research search matches document titles, not document text. The analytical view previews summaries only for documents that carry one; full reading, corpus-wide analysis and full-text search across research documents are coming (*).
- Search-ranked article results are not necessarily recent-first.
- Generated analysis is derived intelligence, not verbatim source text.
- TOON is compact inspection format, not typed composite serialization.
- Some pathological single-record deep reads can still reject after field bounding.
- Exact continuation is not claimed where the public parameter surface cannot preserve relevance/tie ordering safely; narrow the request instead.
- Service health is not equivalent to intelligence freshness.
Quick reference
CURRENT MARKETget_squawk_context(view="dashboard")→ get_squawks(query=..., limit=10–25) when evidence is neededARTICLE RESEARCHlist_articles(query=..., limit=10)→ get_article_bullets(ids=[...])→ get_article_detail(article_id=...)→ article_graph / progressive_article_search when expansion is usefulINSTITUTIONAL RESEARCHget_research(query=..., limit=10, view="metadata")→ get_research_detail(document_id=...)OPERATING POLICYget_capability_guide()AVAILABILITY / VERSIONtool_health_check()Notes
(*) This feature is coming and is not available yet.