Skip to main content
Glama
Financial Modeling Prep MCP Server

Financial Modeling Prep MCP Server

calculateCustomLeveredDCF

Read-onlyIdempotent

Calculate a customized levered discounted cash flow valuation by adjusting company-specific assumptions such as growth, margins, tax, 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": "calculateCustomLeveredDCF"
  }
}

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.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is covered. The description adds no behavioral context beyond marketing phrasing: it says nothing about default values for omitted assumptions, unit conventions, credit/rate cost, or what the returned valuation looks like. No contradiction with annotations, but very little added value.

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?

It is short and front-loads the action, but the second sentence is pure marketing ('more personalized and precise valuation') and occupies half the text without informing tool selection or invocation.

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 tool with a nested object of 18 optional valuation assumptions, no output schema, and zero parameter documentation, the description is far too thin. An agent cannot determine defaults, units, or expected output, which are exactly the gaps the description should fill here.

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

Parameters2/5

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

Schema description coverage is 0% and the schema's own descriptions merely restate field names ('Beta', 'Tax rate'). The description only says inputs are 'detailed' assumptions and variables to fine-tune, giving no units (decimal vs percent), no defaults, no required-vs-optional guidance, and no explanation of how beta, risk-free rate, and market risk premium interact. It does not compensate for the coverage gap across 18 nested numeric fields.

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 verb and resource: run a tailored DCF analysis with fine-tuned assumptions, which separates it from the pre-computed getDCFValuation and getLeveredDCFValuation. However, it never uses the word 'levered' and offers nothing to distinguish it from the sibling calculateCustomDCF, so the agent cannot reliably choose between the two custom calculators from the text alone.

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?

There is no when-to-use guidance, no statement of prerequisites (e.g. that 'symbol' is required), and no routing advice versus getDCFValuation, getLeveredDCFValuation, or calculateCustomDCF. Only a vague implied usage ('fine-tune their assumptions') is present.

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