Skip to main content
Glama

Get events

get_events
Read-onlyIdempotent

Answers 'when is this earnings report, or the next CPI / payrolls / FOMC release?' Give kind earnings or macro, plus start and end dates. Returns events clipped to as_of, up to 5,000 rows per page. kind=macro returns market-moving releases by default (CPI, payrolls, GDP, PCE, retail sales, claims, ISM and more); pass all_releases=true for every data release. Earnings cover US company report dates; macro covers the full release calendar.

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>",
      "start": "<start>"
    },
    "name": "get_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNo
kindYes
as_ofNoPoint-in-time cutoff (YYYY-MM-DD). Nothing dated after this is returned, preventing look-ahead bias. Defaults to today (UTC).
startYes
all_releasesNokind=macro only: true returns every data release (hundreds a week); default returns market-moving releases (CPI, payrolls, GDP, PCE, retail sales, claims, ISM ...).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / all_releases
      Added value: +{
      +  "description": "kind=macro only: true returns every data release (hundreds a week); default returns market-moving releases (CPI, payrolls, GDP, PCE, retail sales, claims, ISM ...).",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / kind / enum
      Added value: +[
      +  "earnings",
      +  "macro"
      +]
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), so the description focuses on useful extras: results are point-in-time clipped to as_of to prevent look-ahead bias, and output is capped at 5,000 rows per page. The page cap is mentioned without any cursor/page parameter in the schema, leaving the pagination mechanism unexplained.

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 with the user-facing question, then the required inputs, then return behavior — a sensible order. There is mild redundancy: the market-moving default list and the all_releases escape hatch are restated twice within the same paragraph.

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

Completeness3/5

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

With no output schema, the description must convey what an event record contains, but it only says results are 'clipped to as_of' at up to 5,000 rows per page — nothing about the fields in each event (date, name, ticker, consensus/actual values). For a two-source calendar tool this leaves an agent guessing about the payload, though the invocation guidance itself is solid.

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 only 40%, so the description must carry weight, and it does: it explains the two kind values, the purpose of start/end as a date window, and the default-vs-all_releases behavior for macro. The date format for start and end is still undocumented in both schema and description (only as_of shows YYYY-MM-DD), which is the main residual gap.

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 concrete question the tool answers ('when is this earnings report, or the next CPI / payrolls / FOMC release?') and names the two resources it serves: earnings report dates and the macro release calendar. That is enough to separate it from siblings like get_macro_vintage or get_fundamentals_pit without opening the 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 description gives clear selection rules: pass kind=earnings for US company report dates, kind=macro for the release calendar, and all_releases=true only when the full calendar is wanted instead of the market-moving default. It stops short of naming the sibling tools it should be preferred over (e.g. get_macro_vintage) or stating when not to use it.

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.