Skip to main content
Glama
longbridge

longbridge

Official

Financial Calendar

finance_calendar
Read-onlyIdempotent

Get financial events by category—earnings, dividends, splits, IPOs, macro data, and holidays—for a date range and market to plan trades and stay informed.

Instructions

Finance calendar by category: report (earnings) / dividend / split / ipo / macrodata (CPI, NFP, rates) / closed (holidays). start and end (YYYY-MM-DD) are optional, default today plus 7 days; keep ranges under 2 weeks or results truncate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
_jqNoOptional jq filter (jaq syntax) applied to this tool's JSON response before it is returned; it never changes the upstream request. One output is returned as-is, several as a JSON array, none as []. Module imports and the `env`/`debug`/`stderr` builtins are unavailable. Example: .data | map({symbol}). Omit for the full response.
endNoEnd date in YYYY-MM-DD format (inclusive). Defaults to 7 days after `start`.
startNoStart date in YYYY-MM-DD format (inclusive). Defaults to today (UTC).
marketNoOptional market filter. One of: HK, US, CN, SG, JP, UK, DE, AU. Omit to include all markets.
categoryYesEvent category. One of: - "report": earnings reports (includes financial statements) - "dividend": dividend announcements - "split": stock splits and reverse splits (share consolidations) - "ipo": upcoming IPO listings - "macrodata": macro economic data releases (CPI, NFP, rate decisions, etc.) - "closed": market closure days

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.12.0
    • addedInput schema / properties / _jq / description
      Added value: +"Optional jq filter (jaq syntax) applied to this tool's JSON response before it is returned; it never changes the upstream request. One output is returned as-is, several as a JSON array, none as []. Module imports and the `env`/`debug`/`stderr` builtins are unavailable. Example: .data | map({symbol}). Omit for the full response."
  2. Changed2 schema fields changedv0.10.6
    • addedInput schema / properties / _jq
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / (root)
      Previous value: -{
      -  "$defs": {
      -    "FinanceCalendarBucket": {
      -      "properties": {
      -        "date": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "infos": {
      -          "items": {
      -            "$ref": "#/$defs/FinanceCalendarEvent"
      -          },
      -          "type": [
      -            "array",
      -            "null"
      -          ]
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "FinanceCalendarEvent": {
      -      "properties": {
      -        "datetime": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "id": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "market": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "symbol": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        }
      -      },
      -      "type": "object"
      -    }
      -  },
      -  "properties": {
      -    "list": {
      -      "items": {
      -        "$ref": "#/$defs/FinanceCalendarBucket"
      -      },
      -      "type": [
      -        "array",
      -        "null"
      -      ]
      -    },
      -    "partial": {
      -      "type": [
      -        "boolean",
      -        "null"
      -      ]
      -    },
      -    "partial_reason": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  3. Changed5 schema fields changedv0.10.2
    • changedInput schema / properties / end / description
      Previous value: -"End date in YYYY-MM-DD format (inclusive)"New value: +"End date in YYYY-MM-DD format (inclusive). Defaults to 7 days after `start`."
    • changedInput schema / properties / start / description
      Previous value: -"Start date in YYYY-MM-DD format (inclusive)"New value: +"Start date in YYYY-MM-DD format (inclusive). Defaults to today (UTC)."
    • changedInput schema / required
      Previous value: -[
      -  "category",
      -  "start",
      -  "end"
      -]New value: +[
      +  "category"
      +]
    • addedOutput schema / properties / partial
      Added value: +{
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / partial_reason
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  4. Changed1 schema field changedv0.7.1
    • removedInput schema / title
      Removed value: -"FinanceCalendarParam"
  5. Changed10 schema fields changedv0.6.0
    • removedOutput schema / $defs / FinanceCalendarBucket / properties / date / description
      Removed value: -"Bucket date (yyyy-mm-dd)."
    • removedOutput schema / $defs / FinanceCalendarBucket / properties / infos / description
      Removed value: -"Events occurring on this date."
    • removedOutput schema / $defs / FinanceCalendarEvent / properties / datetime / description
      Removed value: -"Event time (RFC3339)."
    • removedOutput schema / $defs / FinanceCalendarEvent / properties / id / description
      Removed value: -"Event ID (may be empty for events without one, e.g. market closures)."
    • removedOutput schema / $defs / FinanceCalendarEvent / properties / market / description
      Removed value: -"Market code, e.g. \"US\" / \"HK\"."
    • removedOutput schema / $defs / FinanceCalendarEvent / properties / symbol / description
      Removed value: -"Security symbol when the event is stock-specific, e.g. \"AAPL.US\"."
    • removedOutput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedOutput schema / description
      Removed value: -"Returned by `finance_calendar`. Wraps a `list` array of date buckets, each\nholding an `infos` array of events. Subset of the wire response — the\nevent field set varies by `category` (report / dividend / split / ipo /\nmacrodata / closed) and is only partially documented, so only the keys the\nmerge/dedup pipeline relies on are modeled here."
    • removedOutput schema / properties / list / description
      Removed value: -"Date buckets, sorted ascending by date."
    • removedOutput schema / title
      Removed value: -"FinanceCalendarResponse"
  6. Changed1 schema field changedv0.5.6
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "FinanceCalendarBucket": {
      +      "properties": {
      +        "date": {
      +          "description": "Bucket date (yyyy-mm-dd).",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "infos": {
      +          "description": "Events occurring on this date.",
      +          "items": {
      +            "$ref": "#/$defs/FinanceCalendarEvent"
      +          },
      +          "type": [
      +            "array",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "FinanceCalendarEvent": {
      +      "properties": {
      +        "datetime": {
      +          "description": "Event time (RFC3339).",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "id": {
      +          "description": "Event ID (may be empty for events without one, e.g. market closures).",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "market": {
      +          "description": "Market code, e.g. \"US\" / \"HK\".",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "symbol": {
      +          "description": "Security symbol when the event is stock-specific, e.g. \"AAPL.US\".",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "description": "Returned by `finance_calendar`. Wraps a `list` array of date buckets, each\nholding an `infos` array of events. Subset of the wire response — the\nevent field set varies by `category` (report / dividend / split / ipo /\nmacrodata / closed) and is only partially documented, so only the keys the\nmerge/dedup pipeline relies on are modeled here.",
      +  "properties": {
      +    "list": {
      +      "description": "Date buckets, sorted ascending by date.",
      +      "items": {
      +        "$ref": "#/$defs/FinanceCalendarBucket"
      +      },
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    }
      +  },
      +  "title": "FinanceCalendarResponse",
      +  "type": "object"
      +}
  7. Addedv0.4.5
  8. Removedv0.4.0
  9. Addedv0.3.2
  10. Removedv0.3.1
  11. First observedv0.1.12

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already mark the tool readOnly, openWorld, idempotent, and non-destructive; the description adds useful behavioral detail beyond that by disclosing the default date range and the truncation behavior for ranges over two weeks. This goes beyond what annotations or the schema provide.

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 sentences with no filler. The category list is front-loaded, the date defaults are stated compactly, and the truncation warning earns its place as an essential constraint.

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 filtered read-only calendar with a rich schema and annotations, the description covers required category selection, optional date behavior, and the truncation constraint. It does not describe the return shape, but no output schema exists and an agent can still invoke the tool correctly with the provided information.

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 description coverage is 100%, so parameters are already well-documented, including category values, date formats, and the market filter. The description adds one extra semantic constraint not in the schema: ranges longer than two weeks truncate results, which clarifies start/end interplay.

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 identifies a specific resource (finance calendar) and enumerates its categories (report, dividend, split, ipo, macrodata, closed), which makes the tool's scope clear. It lacks an explicit verb like 'list' or 'get' and does not distinguish from sibling tools such as macrodata, dividend, or ipo_calendar, so it falls short of a 5.

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 context for when to use this tool: it covers a defined set of financial event categories and states the default date window. It also adds an operational constraint (keep ranges under two weeks or results truncate), though it does not explicitly name alternatives or say 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.

Deploy Server

Other Tools