Skip to main content
Glama
Financial Modeling Prep MCP Server

Financial Modeling Prep MCP Server

getHistoricalMarketCap

Read-onlyIdempotent

Retrieve a company's historical market capitalization data by symbol and date range to track market value changes over time for growth or decline assessments.

Instructions

Access historical market capitalization data for a company using the FMP Historical Market Capitalization API. This API helps track the changes in market value over time, enabling long-term assessments of a company's growth or decline.

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": {
      "symbol": "<symbol>"
    },
    "name": "getHistoricalMarketCap"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoEnd date (YYYY-MM-DD)
limitNoLimit on number of results (default: 100, max: 5000)
symbolYesStock symbol
from_dateNoStart date (YYYY-MM-DD)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.9.0
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed2 schema fields changedv2.6.10
    • removedInput schema / properties / from
      Removed value: -{
      -  "description": "Start date (YYYY-MM-DD)",
      -  "type": "string"
      -}
    • addedInput schema / properties / from_date
      Added value: +{
      +  "description": "Start date (YYYY-MM-DD)",
      +  "type": "string"
      +}
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already establish a read-only, idempotent, open-world operation, and the description adds that the data comes from the external FMP Historical Market Capitalization API. It provides no further behavioral context about series granularity, default history, result ordering, authentication, or rate limits.

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 description is compact and front-loads the data resource and provider, while the second sentence supplies a relevant trend-analysis use case. Its wording is slightly generic and repeats the API framing, but there is no substantial excess.

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?

Together with the fully documented schema and safety annotations, this is adequate for a simple one-company historical lookup. Selection and interpretation would be stronger with explicit current-versus-historical sibling guidance and details about the returned series, particularly because no output schema is supplied.

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%, including the symbol, date formats, and result-limit defaults, so the baseline is 3. The description adds no parameter-specific guidance beyond the schema, such as how the date range behaves when optional boundaries are omitted.

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 clearly pairs the action "Access" with the resource "historical market capitalization data for a company" and explains that it shows market-value changes over time. It does not explicitly distinguish the tool from siblings such as getMarketCap or getBatchMarketCap.

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?

Tracking market-value changes and making "long-term assessments of a company's growth or decline" provide a clear use case. There are no exclusions or directions to use getMarketCap for current values or getBatchMarketCap for multiple companies.

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