Skip to main content
Glama
sapph1re

FinData MCP

company_fundamentals

Retrieve comprehensive company financial data including revenue, earnings, P/E ratio, market cap, sector, beta, dividend yield, and company description for any stock ticker.

Instructions

Full fundamental data: revenue, earnings, P/E ratio, market cap, sector, beta, dividend yield, and company description.

Args: ticker: Stock ticker symbol (e.g. AAPL, TSLA, MSFT) symbol: Alias for ticker — use either ticker or symbol

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tickerNo
symbolNo

Implementation Reference

  • The handler function that implements the company_fundamentals tool logic by calling the client.
    def company_fundamentals(ticker: str = "", symbol: str = "") -> dict[str, Any]:
        """Full fundamental data: revenue, earnings, P/E ratio, market cap, sector, beta, dividend yield, and company description.
    
        Args:
            ticker: Stock ticker symbol (e.g. AAPL, TSLA, MSFT)
            symbol: Alias for ticker — use either ticker or symbol
        """
        resolved = ticker or symbol
        if not resolved:
            return {"error": "Missing required parameter: provide 'ticker' or 'symbol' (e.g. ticker='AAPL')"}
        return _get_client().call("company_fundamentals", ticker=resolved)
  • The registration of the company_fundamentals tool using the @mcp.tool() decorator.
    @mcp.tool()

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sapph1re/findata-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server