Skip to main content
Glama
Financial Modeling Prep MCP Server

Financial Modeling Prep MCP Server

calculateCustomDCF

Read-onlyIdempotent

Calculate a tailored discounted cash flow valuation for a stock by customizing assumptions such as growth, margins, tax, beta, and discount rates.

Instructions

Run a tailored Discounted Cash Flow (DCF) analysis using the FMP Custom DCF Advanced API. With detailed inputs, this API allows users to fine-tune their assumptions and variables, offering a more personalized and precise valuation for a company.

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": {
      "input": "<input>"
    },
    "name": "calculateCustomDCF"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 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
    • removedInput schema / properties / input / additionalProperties
      Removed value: -false
  2. First observed

TDQS

C2.4/5.0
Behavior2/5

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

Annotations declare readOnlyHint=true, idempotentHint=true, and openWorldHint=true, covering the safety profile. The description adds only that it uses an external API and accepts detailed inputs; it does not disclose return format, computation behavior, error conditions, or any other trait beyond what the annotations and schema already imply.

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

Conciseness3/5

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

The description is two sentences and front-loads the core action. However, the second sentence is marketing-oriented filler ('offering a more personalized and precise valuation') that does not help an agent invoke the tool correctly, making it less efficient than it could be.

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

Completeness2/5

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

For a complex financial model with 19 nested inputs and no output schema, the description is far too thin. It omits critical details such as the required symbol, how assumptions map to the model, and what the analysis returns, leaving the agent with insufficient context to use the tool confidently.

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

Parameters1/5

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

The tool has 19 nested parameters with 0% schema description coverage per the context, yet the description provides no meaningful explanation of any parameter. It generically mentions 'detailed inputs' and 'fine-tune their assumptions' without clarifying units, defaults, required fields, or how the many financial percentages and rates should be supplied.

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 states a specific action and resource: 'Run a tailored Discounted Cash Flow (DCF) analysis' using the FMP Custom DCF Advanced API. It clearly indicates a custom valuation calculation, but does not distinguish it from sibling tools like getDCFValuation or calculateCustomLeveredDCF, leaving the agent to infer which DCF variant to use.

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

Usage Guidelines2/5

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

No guidance is given on when to use this tool versus alternatives. The description only says it offers a 'more personalized and precise valuation' but does not specify prerequisites, appropriate scenarios, or exclusions compared to the standard or levered DCF siblings.

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