Skip to main content
Glama

Cash dividends with their dates

dividends
Read-onlyIdempotent

Return a company's cash dividends per share as its SEC filings state them, newest first: amount (on the basis of the day declared, not split-adjusted), declaration, record, ex-dividend and payment dates, each null when the filing does not state it, with how each was captured (xbrl date tags, a dividend table or a sentence) and the citation text. ex_date_method says whether the ex-date is stated or derived from the record date by the settlement rule. When EDGAR states no record date (JPMorgan after 2018) or only the month paid (Realty Income), there is no ex-date: say so and do not make one up. Dividends announced only on a company's website are absent. For split-adjusted and total-return prices call stock_prices with adjust. Use it for dividend history, ex-dividend dates and payment dates.

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": {
      "company": "<company>"
    },
    "name": "dividends"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLast date, inclusive (YYYY-MM-DD).
fromNoFirst date, inclusive (YYYY-MM-DD).
as_ofNoKnowledge date (YYYY-MM-DD or RFC 3339): the answer is what was known at that instant. Omit for the current view.
limitNoMaximum number of periods or items to return (default 12, at most 500).
companyYesCompany: "ticker:AAPL" (or bare "AAPL", or "ticker:AAPL.XNAS"), "cik:320193", "fmd_01H...", or for a non-SEC EU/UK issuer "lei:<LEI>".

Output Schema

NameRequiredDescriptionDefault
dataNo
metaNo
errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • removedInput schema / examples
      Removed value: -[
      -  {
      -    "company": "MSFT",
      -    "limit": 8
      -  }
      -]
    • changedInput schema / properties / as_of / description
      Previous value: -"Knowledge date or timestamp (YYYY-MM-DD or RFC 3339). The answer is what FinancialMD knew at that instant: only facts whose known interval contains as_of. Omit for the current view."New value: +"Knowledge date (YYYY-MM-DD or RFC 3339): the answer is what was known at that instant. Omit for the current view."
    • removedInput schema / properties / as_of / examples
      Removed value: -[
      -  "2024-11-15",
      -  "2025-02-01T00:00:00Z"
      -]
    • changedInput schema / properties / company / description
      Previous value: -"Company identifier: a FinancialMD id (\"fmd_01H...\"), an SEC CIK (\"cik:320193\"), or a ticker (\"ticker:AAPL\", optionally with the MIC \"ticker:AAPL.XNAS\"). A bare ticker like \"AAPL\" is accepted and sent as ticker:AAPL. An issuer on an EU or UK regulated market that does not file with the SEC has no CIK: pass its LEI (\"lei:IOG4E947OATN0KJYSD45\") or its fmd_ id."New value: +"Company: \"ticker:AAPL\" (or bare \"AAPL\", or \"ticker:AAPL.XNAS\"), \"cik:320193\", \"fmd_01H...\", or for a non-SEC EU/UK issuer \"lei:<LEI>\"."
    • removedInput schema / properties / company / examples
      Removed value: -[
      -  "ticker:AAPL",
      -  "cik:320193",
      -  "fmd_01HZX8Q3K9W2M4N6P8R0T2V4X6"
      -]
    • removedOutput schema / description
      Removed value: -"The FinancialMD envelope (docs/API.md section 2): data plus meta (request_id, as_of knowledge time, matched company, coverage, pipeline_version, licence, terms, proof_base). Every numeric value inside data is an object with value, unit, currency, period, known interval, restated flag, method and a proof pointing at the filing. On failure the result is isError with an error object instead."
    • removedOutput schema / properties / data / description
      Removed value: -"{ items: [{ kind, share_class, amount, declared_date, record_date, ex_date, ex_date_method, ex_date_note, pay_date, pay_month, pay_note, method, citation, document, source_url }], note }"
    • removedOutput schema / properties / error / description
      Removed value: -"Present only on isError results: the API error code and message plus remedy hints."
    • removedOutput schema / properties / error / properties
      Removed value: -{
      -  "available_datasets": {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "code": {
      -    "type": "string"
      -  },
      -  "docs": {
      -    "type": "string"
      -  },
      -  "message": {
      -    "type": "string"
      -  },
      -  "request_id": {
      -    "type": "string"
      -  },
      -  "retry_after": {
      -    "type": [
      -      "integer",
      -      "string"
      -    ]
      -  },
      -  "status": {
      -    "type": "integer"
      -  }
      -}
    • removedOutput schema / properties / meta / description
      Removed value: -"Request metadata: request_id, as_of, company resolution, coverage, pipeline_version, licence, terms, proof_base."
    • removedOutput schema / properties / meta / properties
      Removed value: -{
      -  "as_of": {
      -    "type": "string"
      -  },
      -  "attribution": {
      -    "description": "Citations a source requires on anything shown from the answer.",
      -    "items": {
      -      "properties": {
      -        "source": {
      -          "type": "string"
      -        },
      -        "text": {
      -          "type": "string"
      -        },
      -        "url": {
      -          "type": "string"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "company": {
      -    "properties": {
      -      "cik": {
      -        "type": [
      -          "integer",
      -          "null"
      -        ]
      -      },
      -      "fmd_id": {
      -        "type": "string"
      -      },
      -      "matched_by": {
      -        "type": "string"
      -      },
      -      "name": {
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "coverage": {
      -    "properties": {
      -      "from": {
      -        "type": "string"
      -      },
      -      "periods": {
      -        "type": "integer"
      -      },
      -      "to": {
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "licence": {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "pipeline_version": {
      -    "type": "string"
      -  },
      -  "proof_base": {
      -    "type": "string"
      -  },
      -  "request_id": {
      -    "type": "string"
      -  },
      -  "terms": {
      -    "type": "string"
      -  }
      -}
  2. Changed1 schema field changed
    • changedInput schema / properties / company / description
      Previous value: -"Company identifier: a FinancialMD id (\"fmd_01H...\"), an SEC CIK (\"cik:320193\"), or a ticker (\"ticker:AAPL\", optionally with the MIC \"ticker:AAPL.XNAS\"). A bare ticker like \"AAPL\" is accepted and sent as ticker:AAPL."New value: +"Company identifier: a FinancialMD id (\"fmd_01H...\"), an SEC CIK (\"cik:320193\"), or a ticker (\"ticker:AAPL\", optionally with the MIC \"ticker:AAPL.XNAS\"). A bare ticker like \"AAPL\" is accepted and sent as ticker:AAPL. An issuer on an EU or UK regulated market that does not file with the SEC has no CIK: pass its LEI (\"lei:IOG4E947OATN0KJYSD45\") or its fmd_ id."
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already establish this as a safe, read-only, idempotent, non-open-world operation. Beyond that, the description discloses null handling, capture-method provenance, ex_date_method derivation, and edge cases such as JPMorgan having no record date after 2018 and Realty Income reporting only a month paid. That is strong behavioral context, though it does not cover pagination or rate-limit behavior.

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 definition is front-loaded and information-dense, with the core return shape stated first. Some domain-specific examples, such as JPMorgan and Realty Income, make it longer than strictly necessary, but they earn their place by preventing agents from fabricating dates.

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?

The tool has an output schema, so return values need not be exhaustively explained, yet the description still clarifies dividend fields and null behavior. Edge cases, scope exclusions, and the stock_prices alternative cover the decision points an agent needs before calling it.

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

Parameters3/5

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

Schema description coverage is 100%, so all five parameters are already documented in the schema. The description adds ordering context ('newest first') but does not otherwise clarify from, to, as_of, limit, or company beyond what the schema states.

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?

States a specific verb and resource: 'Return a company's cash dividends per share as its SEC filings state them, newest first.' It also distinguishes itself from stock_prices by directing split-adjusted and total-return price questions there, so an agent can identify the right tool without opening schemas.

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?

Explicitly says 'Use it for dividend history, ex-dividend dates and payment dates,' and names the alternative for split-adjusted/total-return prices: 'call stock_prices with adjust.' It also gives a negative scope condition: 'Dividends announced only on a company's website are absent.'

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