# get_historical_stock_prices

A read tool on the Yahoo Finance MCP Server MCP server.

Agent View of the PolicyLayer registry record for `get_historical_stock_prices`. HTML page: https://policylayer.com/tools/a05031113-yahoo-fianace-mcp/get-historical-stock-prices

## Facts

- Tool: `get_historical_stock_prices`
- Server: Yahoo Finance MCP Server (`a05031113/yahoo-fianace-mcp`) — https://policylayer.com/tools/a05031113-yahoo-fianace-mcp.md
- Homepage: https://github.com/a05031113/yahoo-fianace-mcp
- Risk category: Read (Low risk)
- Registry record: grade A, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Allowed

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_historical_stock_prices",
    "arguments": {}
  }
}
```

## Why get_historical_stock_prices is rated Low

This tool retrieves historical stock price data with no side effects. It queries existing financial data without creating, modifying, deleting, or executing any operations. The empty description slightly reduces confidence, but the naming convention and server context strongly indicate a simple data retrieval operation typical of financial data APIs.

From the tool's own definition: "Tool name 'get_historical_stock_prices' and server context indicate data retrieval. Description is empty, but the pattern of sibling tools (all get_* operations) and server purpose (querying Yahoo Finance data) confirm read-only behavior."

## Use case

AI agents call get_historical_stock_prices to retrieve information from Yahoo Finance MCP Server without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Yahoo Finance MCP Server:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "get_historical_stock_prices": {}
  }
}
```

## Other tools on Yahoo Finance MCP Server (19)

- `get_analyst_price_targets` — Read — https://policylayer.com/tools/a05031113-yahoo-fianace-mcp/get-analyst-price-targets.md
- `get_balance_sheet` — Read — https://policylayer.com/tools/a05031113-yahoo-fianace-mcp/get-balance-sheet.md
- `get_cashflow` — Read — https://policylayer.com/tools/a05031113-yahoo-fianace-mcp/get-cashflow.md
- `get_company_info` — Read — https://policylayer.com/tools/a05031113-yahoo-fianace-mcp/get-company-info.md
- `get_current_stock_price` — Read — https://policylayer.com/tools/a05031113-yahoo-fianace-mcp/get-current-stock-price.md
- `get_dividends` — Read — https://policylayer.com/tools/a05031113-yahoo-fianace-mcp/get-dividends.md
- `get_earning_dates` — Read — https://policylayer.com/tools/a05031113-yahoo-fianace-mcp/get-earning-dates.md
- `get_income_statement` — Read — https://policylayer.com/tools/a05031113-yahoo-fianace-mcp/get-income-statement.md
- `get_institutional_holders` — Read — https://policylayer.com/tools/a05031113-yahoo-fianace-mcp/get-institutional-holders.md
- `get_major_holders` — Read — https://policylayer.com/tools/a05031113-yahoo-fianace-mcp/get-major-holders.md
- `get_mutualfund_holders` — Read — https://policylayer.com/tools/a05031113-yahoo-fianace-mcp/get-mutualfund-holders.md
- `get_news` — Read — https://policylayer.com/tools/a05031113-yahoo-fianace-mcp/get-news.md
- `get_option_chain` — Read — https://policylayer.com/tools/a05031113-yahoo-fianace-mcp/get-option-chain.md
- `get_option_expiration_dates` — Read — https://policylayer.com/tools/a05031113-yahoo-fianace-mcp/get-option-expiration-dates.md
- `get_recommendations` — Read — https://policylayer.com/tools/a05031113-yahoo-fianace-mcp/get-recommendations.md
- `get_splits` — Read — https://policylayer.com/tools/a05031113-yahoo-fianace-mcp/get-splits.md
- `get_stock_price_by_date` — Read — https://policylayer.com/tools/a05031113-yahoo-fianace-mcp/get-stock-price-by-date.md
- `get_stock_price_date_range` — Read — https://policylayer.com/tools/a05031113-yahoo-fianace-mcp/get-stock-price-date-range.md
- `get_sustainability` — Read — https://policylayer.com/tools/a05031113-yahoo-fianace-mcp/get-sustainability.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=a05031113-yahoo-fianace-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/a05031113-yahoo-fianace-mcp
