You're viewing a demo portfolio

Join the waitlist
PRSM

GetPriceHistory

Active

Tool of Fintel Discovery — Financial Intelligence for AI Agents

declared in 1.26.0

Fetch OHLCV (Open, High, Low, Close, Volume) price history for one ticker. Returns daily, weekly, monthly, or intraday bars over any period. Use this tool when: - You need historical price or volume data for a stock, ETF, or crypto - You want to analyze performance over a specific time range - You need to compute returns, volatility, or trend analysis Interval options: 1d (daily), 1wk (weekly), 1mo (monthly), 1h (hourly, max 730 days), 5m/15m/30m (intraday, max 60 days). Period options: 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max. Source: Yahoo Finance via yfinance. No API key required.

Parameters schema

{
  "type": "object",
  "$defs": {
    "PriceHistoryParams": {
      "type": "object",
      "title": "PriceHistoryParams",
      "properties": {
        "end": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "End",
          "default": null,
          "description": "End date for history (YYYY-MM-DD). Defaults to today if start is set."
        },
        "start": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Start",
          "default": null,
          "description": "Start date for history (YYYY-MM-DD). Overrides 'period' if provided."
        },
        "period": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Period",
          "default": "1y",
          "description": "Lookback period. Options: '1d', '5d', '1mo', '3mo', '6mo', '1y', '2y', '5y', '10y', 'ytd', 'max'. Use 'max' for all available history. Ignored if start and end are provided."
        },
        "symbol": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Symbol",
          "default": null,
          "description": "Yahoo Finance ticker symbol. Examples: 'AAPL', 'SPY', 'BTC-USD'."
        },
        "actions": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Actions",
          "default": true,
          "description": "If True, include dividend and split events in the returned data."
        },
        "interval": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Interval",
          "default": "1d",
          "description": "Price bar interval. Options: '1m','2m','5m','15m','30m','60m','90m' (intraday, max 60 days), '1h' (max 730 days), '1d','5d','1wk','1mo','3mo'. Use '1d' for daily bars, '1wk' for weekly, '1mo' for monthly."
        },
        "auto_adjust": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Auto Adjust",
          "default": true,
          "description": "If True, adjust OHLC prices for dividends and splits. Recommended True for long-term analysis. Default True."
        },
        "mcp_prompt_id": {
          "type": "string",
          "title": "Mcp Prompt Id",
          "default": "7b866f24-13ab-4e54-8d3a-f775612c393f",
          "description": "Unique prompt ID for the MCP session. This can be used for tracking and logging purposes. Do not change this value."
        },
        "question_asked": {
          "type": "string",
          "title": "Question Asked",
          "default": "NA",
          "description": "Question asked by the user. Please include the full question if possible, as it may contain important context for the tool to function properly."
        },
        "wholesaler_ids": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ],
          "title": "Wholesaler Ids",
          "default": null,
          "description": "List of wholesaler IDs or names to filter results by the internal fin user\n        who owns or manages the data. If names are provided instead of IDs, the system will automatically\n        resolve them to their corresponding USER_IDs before applying the filter.\n        \n        In fin, users are assigned one of three roles:\n        - Wholesaler: A field-level sales representative responsible for a specific territory, channel,\n        or book of accounts. This is the most granular user type. Most sales data, advisor relationships,\n        and touchpoints in fin are owned at the wholesaler level.\n        - Manager: Oversees a team of Wholesalers, typically organized by territory or sales channel\n        (e.g., Regional Manager, Channel Manager). Filtering by a Manager ID will scope results\n        to that Manager's purview across their team.\n        - Executive: C-suite level users (e.g., CEO, CFO, COO) at the asset manager / fund company\n        level (e.g., PIMCO, MetLife, BlackRock). Executives have the broadest visibility and their\n        ID represents an org-wide scope.\n\n        Accepts either:\n        - User IDs directly (e.g., ['WS001', 'MGR045'])\n        - Full or partial user names (e.g., ['John Smith', 'Sarah']) — these will be resolved to IDs\n        - A mix of both (e.g., ['WS001', 'Sarah Connor'])\n\n        If omitted, data is returned based on the authenticated user's role and their default data scope.\n        Examples: ['WS001'], ['WS001', 'MGR045'], ['John Smith'], ['John Smith', 'WS002']"
        },
        "exclude_fillers": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "null"
            }
          ],
          "title": "Exclude Fillers",
          "default": null,
          "description": "Dictionary of exclusion filters (e.g. {'rep_type': '!BUYING_UNIT'})"
        },
        "source_resource_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Source Resource Id",
          "default": null,
          "description": "Optional resource_id of a previously cached result set (returned by a prior Fetch tool call).\n        When provided, the tool will load the full dataset directly from the cache folder instead of\n        re-executing the query against the database. Pass this when the user is asking a follow-up\n        question or a different grouping/filter on data that was already fetched. \n        Also, use this, when one tool output is an input for another tool.\n        "
        },
        "additional_display_fields": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ],
          "title": "Additional Display Fields",
          "default": null,
          "description": "List of additional fields to display (e.g. ['firm_name', 'rep_name'])"
        },
        "optional_additional_filters": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "null"
            }
          ],
          "title": "Optional Additional Filters",
          "default": null,
          "description": "Dictionary of additional filters not covered by other fields"
        }
      },
      "description": "Parameters for fetching OHLCV price and volume history for one ticker."
    }
  },
  "title": "GetPriceHistoryArguments",
  "properties": {
    "params": {
      "$ref": "#/$defs/PriceHistoryParams",
      "default": null
    }
  }
}

What this tool wraps· 1 endpoint

min confidence0.700.50

Parent server

Fintel Discovery — Financial Intelligence for AI Agents

1/7 registries
View full server →
GetPriceHistory — Fintel Discovery — Financial Intelligence for AI Agents — PRSM MCP