Skip to main content
Glama

Kaleidoscope MCP (SEC & financial data)

Upcoming Earnings (PIT-honest projected report dates with calibrated ranges)

upcoming_earnings
Read-onlyIdempotent

Which companies are projected to report earnings in a forward window. CRITICAL: dates are PROJECTIONS, NOT facts. EDGAR has no forward calendar; companies pre-announce dates on IR pages as unstructured text. Dates are projected from each filer's historical cadence (period-end clock + announcement-lag fit + seasonal refinement), each with a confidence-scored calibrated range. Always present BOTH projected_report_date AND report_date_range — never the point date alone as if it were known.

Validated: PIT backtest on 97k held-out predictions 2018-2026 returned medAE 1 day, 92.6% interval coverage out-of-sample (tightens with confidence: ±4d metronomic / ±6d tight / ±8d loose / ±12d irregular / ±13d unproven). The naive '≥90% within ±3d' bar is NOT met by cadence-only methods — companies re-pick their date each quarter (~several days irreducible). v2 will collapse ranges to ±0-1d when an 8-K Item 7.01 or a press release confirms a specific date.

Pairs with earnings_surprise_history — 'who reports → what to expect.' Optional triage enrichment per row (size_tier / dollar_volume / market_cap / last_rev_yoy / last_eps_yoy) so the LLM can prioritize without N follow-up calls.

av_calendar (present per row only when an AlphaVantage vendor calendar corroborates the projection within 45d; absent on historical as_of reads): av_report_date (vendor's date — a SECOND opinion, not ground truth; unvalidated + can be stale for low-coverage names), av_days_diff (vendor date − our projection; ≈0 ~75% of the time — a large value flags genuine disagreement worth a second look, NOT a tool error), av_estimate_eps (vendor consensus EPS — independent of our own last_eps_yoy), av_time_of_day (pre/post-market session timing — new info, not elsewhere), av_collected_at.

Filters: window (days_ahead), min_confidence_tier, min_dollar_volume, min_market_cap, size_tier_in, tickers, include_overdue, sort_by, limit.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "upcoming_earnings"
  }
}

Input Schema

NameRequiredDescriptionDefault
as_ofNoPoint-in-time date (YYYY-MM-DD). When set + historical, the tool routes to earnings.calendar_history (132K rows, one row per (cik, fiscal quarter) holding the PIT projection computed using ONLY data known at that quarter's earnings 2.02, with [valid_from, valid_to) validity ranges). The 'what did the calendar look like on date X' replay path — PIT-correct by construction (every field uses only ≤-snapshot info; PIT-validated against 97k held-out predictions). days_until and is_overdue recompute against as_of at query time. When omitted or ≈today, reads the live earnings_calendar snapshot as before (covers the current edge: names that just reported and aren't in calendar_history yet because their fundamentals haven't ingested). Response echoes as_of_effective.
limitNoMax rows returned (default 50, max 500).
sort_byNoSort order. Default date_asc (next reporters first).date_asc
tickersNoRestrict to this ticker list. Mutually exclusive with broad screen filters in practice.
days_backNoLook back N days for OVERDUE filers (default 0; only consulted when include_overdue=true). A positive value lets you catch 'projected last week but no 2.02 yet' situations.
days_aheadNoWindow size in days from today (default 14). Combined with days_back for the full window. Max 90.
size_tier_inNoSize-tier filter (multi-select).
min_market_capNoMinimum market cap (USD).
include_overdueNoInclude filers whose projected_report_date has passed without a 2.02 (is_overdue=true). Distressed-debt / delisting signal in itself.
min_dollar_volumeNoMinimum trailing dollar volume (USD/day). 10e6 ($10M ADV) is the threshold the projector's PIT backtest validated on.
min_confidence_tierNoMinimum confidence tier (inclusive). 'tight' = ≤3 days trailing projection MAE per the name's own history; 'metronomic' = ≤1.5 days. Default returns all tiers.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only cover safety (readOnly/idempotent/non-destructive), and the description goes far beyond them: it discloses that dates are projections with an irreducible per-quarter error, quotes PIT backtest results (medAE 1 day, 92.6% interval coverage), explains that av_calendar is an unvalidated second opinion rather than ground truth, and warns that large av_days_diff is disagreement, not error. This is exactly the behavioral context annotations cannot carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded correctly: the CRITICAL projection-vs-fact warning comes first, followed by validation evidence, then vendor-calendar caveats. It is dense and longer than typical, and the closing 'Filters: window (days_ahead), min_confidence_tier, ...' enumeration is pure schema duplication that could be dropped.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 11 parameters and no output schema, the description carries the return-value burden itself, and it does: it names projected_report_date, report_date_range, the av_calendar sub-fields with their meanings, and the optional triage enrichment fields (size_tier, dollar_volume, market_cap, last_rev_yoy, last_eps_yoy). Nothing an agent needs to interpret a row is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already defines every parameter in detail, and the trailing 'Filters: ...' list largely restates parameter names. The description does add interpretive value around confidence tiers (±4d metronomic through ±13d unproven) and the overdue-filer signal, but that is output-side meaning rather than new parameter semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb+resource+scope: 'Which companies are projected to report earnings in a forward window.' It also explicitly positions itself against the nearest sibling ('Pairs with earnings_surprise_history — who reports → what to expect'), so an agent can route without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The sibling pairing sentence gives clear usage context, and the 'Always present BOTH projected_report_date AND report_date_range' instruction tells the agent how to consume results. It stops short of explicit when-not-to-use guidance (e.g., when to prefer the as_of replay path vs the live snapshot), leaving that to the schema.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources