Skip to main content
Glama

Corporate calendar

get_corporate_calendar
Read-onlyIdempotent

Corporate and market dates. kind "dividends": ex-dividend dates with payment date and amount per share (for tickers, for the signed-in user's holdings with the amount for their quantity, or the whole market); "splits": stock splits ahead; "ipos": upcoming IPOs; "holidays": an exchange's closed and shortened days; "hours": trading hours and whether the exchange is open now. Windows up to 90 days. Free. Example: "which of my stocks go ex-dividend this month?" → kind dividends, holdings true.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "kind": "<kind>"
    },
    "name": "get_corporate_calendar"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoWindow end, YYYY-MM-DD.
daysNoWindow length when no `to` (dividends 14, splits 60, IPOs 30, holidays 365 by default; 90 at most except for holidays).
fromNoWindow start, YYYY-MM-DD (default today).
kindYes
tickersNoSymbols to narrow dividends or splits to.
exchangeNoFor holidays and hours: NYSE (default), NASDAQ, EURONEXT, LSE, XETRA…
holdingsNotrue = the signed-in user's portfolio positions (dividends, splits).
portfolioNoWith holdings: portfolio name; default the primary portfolio.

Output Schema

NameRequiredDescriptionDefault
okYesfalse on an error; then `error` says what happened and what to do.
cardNoThe in-chat InvestIQ card, in English and French.
dataNoThe tool's own result fields.
toolYes
as_ofYesISO time the data was computed (a stored analysis: when it was computed).
errorNo
linksNoInvestIQ pages for this result.
degradedNotrue when part of the data was missing.
viz_specNoThe recommended chart's series (data only).
disclaimerYes
data_qualityNoWhat was requested, what was used, and why anything was left out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, non-open-world behavior, so the description is not obligated to repeat safety. It adds real context beyond them: the operation is free, the window is capped at 90 days, and `hours` reports whether an exchange is open right now. It does not disclose response shape or timezone/refresh semantics for the live `hours` answer, which is the one place latency or staleness could matter.

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?

The lead sentence names the resource, the kind breakdown follows immediately, and the limits and example close it out — front-loaded and free of filler. The semicolon-chained enumeration is dense and reads as one long run-on, which costs some scanability against a bulleted layout.

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

Completeness4/5

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

With an output schema present, return values need no explanation, and the description covers the five modes, the window cap, defaults, cost, and an end-to-end example. The gaps are minor: the exchange list for `hours`/`holidays` is only in the schema, and nothing states what the `hours` snapshot represents in time.

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 88%, so the schema already documents most parameters, but the `kind` enum carries no per-value description in the schema and the description supplies all five meanings. It also explains the `holdings` intent (signed-in user's quantities) and that `tickers` narrows dividends or splits, adding interpretation the schema only gestures at.

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

Purpose4/5

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

The description opens with a specific resource (corporate and market dates) and enumerates all five `kind` values with a definition for each — ex-dividend dates, splits, IPOs, holidays, trading hours. An agent knows exactly what the tool returns. It loses a point because it never distinguishes itself from the overlapping sibling `get_dividends`, which covers similar ground.

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 closing example maps a natural-language question ("which of my stocks go ex-dividend this month?") directly to `kind: dividends, holdings: true`, which gives the agent a concrete selection cue. The "Free" and "Windows up to 90 days" notes further frame when it is appropriate. It stops short of an explicit when-not or a named alternative for dividend queries that `get_dividends` might serve better.

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