Skip to main content
Glama

get_earnings_season_cohort

Read-only

Each covered company's latest earnings result in the current earnings season — beat/miss, EPS and revenue vs estimate, EPS YoY — one row per symbol, newest first. The cross-company view: "who missed", "how are small-cap healthcare names doing".

Every filter is optional; filters given together are ANDed (e.g. sector="Healthcare" +
marketcap_type="Small-cap"). Unset filters are left out of the request.

Returns {"filters", "count", "rows", "note"}. A row is {symbol, sector, sp_index,
country, marketcap_type, date, eps_actual, eps_estimated, revenue_actual,
revenue_estimated, beat_flag, eps_yoy_change, cohort}.
- beat_flag is "beat", "miss" or "in_line".
- eps_yoy_change is a FRACTION, NOT a percent: 0.12 = +12%, -0.3 = -30%. Multiply by 100
  before showing it as a %. Null when there is no prior-year actual.
- cohort is "sp500" (S&P 500 member), "beyond_sp500_us" (US, outside the S&P 500) or
  "other" (non-US).

FLOW: filter here (e.g. beat_flag "miss" rows) -> list_ir_documents_season(symbol=...) for
those names' decks and press releases -> get_ir_document_analysis /
get_ir_document_content(url=document_url).

An empty result is a valid answer (nothing matches the filters), not an error: `note` is
set only then. A 422 means a filter failed validation. A 401 means the sign-in expired
(your MCP client re-runs OAuth). A 429 means the 100 requests/minute per-user limit (or
the plan quota) was hit. Requires auth (your MCP client attaches the OAuth bearer
automatically); counts toward plan quota.

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": "get_earnings_season_cohort"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRows to return (1-1000, default 100).
sectorNoOnly companies in this sector.
symbolNoOnly this ticker, e.g. "AAPL" (1-12 characters: letters, digits, "." or "-").
countryNoOnly companies in this country, as a 2-letter ISO code, e.g. "US", "GB".
sp_indexNotrue = only S&P 500 members; false = only non-members. Omit for both.
marketcap_typeNoOnly companies in this market-cap bucket.

Output Schema

NameRequiredDescriptionDefault
noteNoSet only when no rows came back: an empty result is a valid answer.
rowsYesNewest result first.
countYesRows returned, one per symbol.
filtersYesThe request body sent to the backend (unset filters omitted).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, but the description adds substantial behavioral context beyond that: OAuth bearer auth is required and attached automatically, a 100 requests/minute per-user limit exists, calls count toward plan quota, and 422/401/429 have distinct meanings. The one gap is that it does not describe ordering/pagination behavior when the default 100-row limit truncates results.

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?

Well front-loaded and divided into scannable blocks (purpose, filter semantics, return shape, field caveats, flow, error/auth notes). It loses a little by enumerating the full row field list, which the output schema already provides, though the beat_flag, eps_yoy_change and cohort explanations carry real warning value.

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?

For a six-parameter, filter-first screening tool with an output schema, the definition covers everything an agent needs: when to reach for it, how filters compose, the non-obvious fraction-vs-percent unit on eps_yoy_change, cohort definitions, downstream tool routing, and the full auth/rate-limit/error contract.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline would be 3, but the description adds genuinely non-schema information: all filters are optional, filters combined are ANDed (with a worked example combining sector and marketcap_type), and unset filters are omitted from the request. That combination semantics is not expressed anywhere in the input schema.

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?

The opening sentence names a specific resource (each covered company's latest earnings result in the current earnings season) plus the exact metrics returned (beat/miss, EPS/revenue vs estimate, EPS YoY) and the row granularity (one row per symbol, newest first). It also states the cross-company angle with concrete example questions, so an agent can tell this apart from per-company or document-level siblings.

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

Usage Guidelines5/5

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

The description gives positive use-case examples ("who missed", "how are small-cap healthcare names doing") and an explicit FLOW that routes the agent from filtering here to list_ir_documents_season and then the document analysis/content tools. It also pre-empts the most likely misuse by declaring an empty result a valid answer rather than an error.

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