Skip to main content
Glama

Read company calendars

company_calendars
Read-onlyIdempotent

Read company calendars; action picks which: dividends (ex-dates and amounts) or splits (ratios, new shares for old). Each takes start and end (inclusive, at most 7 days; from 30 days back to 90 days ahead; left out means today) and country (USA for now). Open to every account. Each call is the same as the matching REST route and counts one call.

Input Schema

NameRequiredDescriptionDefault
endNoLast day, inclusive. Left out means `start`. At most 7 days from `start` (400 range_too_large).
startNoFirst day (YYYY-MM-DD), inclusive. Left out means today (UTC). Between 30 days back and 90 days ahead.
actionYesWhich calendar to read: `earnings`, `dividends` or `splits`. Each takes `start`, `end` (at most 7 days) and `country`.
countryNoThree-letter country code of the listing. Left out means USA, the only country for now (another one is 404 not_covered).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / oneOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "action": {
      -        "const": "dividends"
      -      }
      -    },
      -    "required": [
      -      "action"
      -    ]
      -  },
      -  {
      -    "properties": {
      -      "action": {
      -        "const": "splits"
      -      }
      -    },
      -    "required": [
      -      "action"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "action": {
      +        "const": "earnings"
      +      }
      +    },
      +    "required": [
      +      "action"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "action": {
      +        "const": "dividends"
      +      }
      +    },
      +    "required": [
      +      "action"
      +    ]
      +  },
      +  {
      +    "properties": {
      +      "action": {
      +        "const": "splits"
      +      }
      +    },
      +    "required": [
      +      "action"
      +    ]
      +  }
      +]
    • changedInput schema / properties / action / description
      Previous value: -"Which calendar to read: `dividends` or `splits`. Each takes `start`, `end` (at most 7 days) and `country`."New value: +"Which calendar to read: `earnings`, `dividends` or `splits`. Each takes `start`, `end` (at most 7 days) and `country`."
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "dividends",
      -  "splits"
      -]New value: +[
      +  "earnings",
      +  "dividends",
      +  "splits"
      +]
    • addedOutput schema / $defs / EarningsCalendar
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "days_not_loaded": {
      +      "description": "Days of the window we could not load right now. `entries` holds every other day; a day listed here is unknown, not empty. Left out when every day was loaded. A REST answer then carries a `Retry-After` header: ask again after that many seconds for the listed days.",
      +      "items": {
      +        "format": "date",
      +        "type": "string"
      +      },
      +      "title": "Days Not Loaded",
      +      "type": "array"
      +    },
      +    "entries": {
      +      "description": "By date, then id.",
      +      "items": {
      +        "$ref": "#/$defs/EarningsCalendarEntry"
      +      },
      +      "title": "Entries",
      +      "type": "array"
      +    },
      +    "next_cursor": {
      +      "anyOf": [
      +        {
      +          "maxLength": 2048,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "Always null: a request of at most 7 days is one page.",
      +      "title": "Next Cursor"
      +    }
      +  },
      +  "required": [
      +    "entries",
      +    "next_cursor"
      +  ],
      +  "title": "EarningsCalendar",
      +  "type": "object"
      +}
    • addedOutput schema / $defs / EarningsCalendarEntry
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "date": {
      +      "description": "Report day. It can be an estimate until the company announces it. When more than one date is listed for a company within 60 days, the one updated last is shown.",
      +      "format": "date",
      +      "title": "Date",
      +      "type": "string"
      +    },
      +    "eps_estimate": {
      +      "anyOf": [
      +        {
      +          "maxLength": 64,
      +          "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Analysts' earnings per share estimate. Left out when there is none.",
      +      "title": "Eps Estimate"
      +    },
      +    "id": {
      +      "description": "Our listing id, for example XNAS:MSFT.",
      +      "pattern": "^(?:[A-Z]{4}|FUND):[A-Z0-9.]{1,16}$",
      +      "title": "Id",
      +      "type": "string"
      +    },
      +    "name": {
      +      "description": "The company's name.",
      +      "maxLength": 200,
      +      "minLength": 1,
      +      "title": "Name",
      +      "type": "string"
      +    },
      +    "revenue_actual": {
      +      "anyOf": [
      +        {
      +          "maxLength": 64,
      +          "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Revenue the company reported, in the listing's currency. Left out until it has reported.",
      +      "title": "Revenue Actual"
      +    },
      +    "revenue_estimate": {
      +      "anyOf": [
      +        {
      +          "maxLength": 64,
      +          "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Analysts' revenue estimate, in the listing's currency. Left out when there is none.",
      +      "title": "Revenue Estimate"
      +    },
      +    "symbol": {
      +      "description": "The listing's ticker.",
      +      "maxLength": 16,
      +      "minLength": 1,
      +      "title": "Symbol",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "date",
      +    "id",
      +    "symbol",
      +    "name"
      +  ],
      +  "title": "EarningsCalendarEntry",
      +  "type": "object"
      +}
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "$ref": "#/$defs/DividendsCalendar"
      -  },
      -  {
      -    "$ref": "#/$defs/SplitsCalendar"
      -  }
      -]New value: +[
      +  {
      +    "$ref": "#/$defs/EarningsCalendar"
      +  },
      +  {
      +    "$ref": "#/$defs/DividendsCalendar"
      +  },
      +  {
      +    "$ref": "#/$defs/SplitsCalendar"
      +  }
      +]
  2. Changed2 schema fields changed
    • addedOutput schema / $defs / DividendsCalendar / properties / days_not_loaded
      Added value: +{
      +  "description": "Days of the window we could not load right now. `entries` holds every other day; a day listed here is unknown, not empty. Left out when every day was loaded. A REST answer then carries a `Retry-After` header: ask again after that many seconds for the listed days.",
      +  "items": {
      +    "format": "date",
      +    "type": "string"
      +  },
      +  "title": "Days Not Loaded",
      +  "type": "array"
      +}
    • addedOutput schema / $defs / SplitsCalendar / properties / days_not_loaded
      Added value: +{
      +  "description": "Days of the window we could not load right now. `entries` holds every other day; a day listed here is unknown, not empty. Left out when every day was loaded. A REST answer then carries a `Retry-After` header: ask again after that many seconds for the listed days.",
      +  "items": {
      +    "format": "date",
      +    "type": "string"
      +  },
      +  "title": "Days Not Loaded",
      +  "type": "array"
      +}
  3. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, closed-world semantics, and the description still adds real behavioral context: a 7-day maximum span, a window from 30 days back to 90 days ahead, inclusive date semantics, USA as the only supported country, and the specific error codes (range_too_large, not_covered) an agent should expect. The note that each call "counts one call" discloses quota cost, which is not in the annotations. Return format is left to the output schema.

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

Conciseness5/5

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

Two dense sentences that front-load the action switch, then the shared constraints, then the quota note. Every clause carries information an agent needs; nothing is padding.

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?

For a four-parameter read tool with a full output schema and strong annotations, the description covers ranges, defaults, country support, error modes, and call cost. The one real hole is the unexplained `earnings` action present in the schema enum, which makes the action set incomplete in prose.

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 this is already above baseline, and the description still adds the default-when-omitted behavior for `start`/`end`/`country` and the inclusive-window limits in one readable sentence rather than per-parameter schema text. It loses a point for describing only two of the three `action` enum values, leaving `earnings` unexplained outside the schema.

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?

States the verb and resource plainly ("Read company calendars") and explains that `action` selects between dividends ex-dates/amounts and splits ratios. However, the description enumerates only two of the three actions the schema permits, silently dropping `earnings`, so an agent reading prose alone would not know that calendar exists.

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

Usage Guidelines3/5

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

Guidance is implied through the per-action meanings and the note that each call maps to a REST route, which helps an agent familiar with the API. There is no explicit when-to-use or when-not-to-use framing, and no routing versus any sibling calendar tool; "Open to every account" is the only eligibility statement.

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