stock_history
Get historical stock price data - open, high, low, close, and volume (OHLCV). Supports intraday (1-minute) through multi-year (5-year, max) ranges. Use this for "how has AAPL performed this year?", "show me the price chart for Tesla", "what was the stock price last month?", "historical performanc...
This record as markdown: /tools/io-github-blackboxfoundry-livedatalink/stock-history.md
What stock_history does on Livedatalink
AI agents call stock_history to retrieve information from Livedatalink without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
period | string | — | Time range (default: "1mo") |
symbol | string | Yes | Stock ticker symbol (e.g., "AAPL") |
interval | string | — | Data interval (default: "1d") |
Parameters from the server's own tool schema.
Why stock_history is rated Low
This tool purely reads and returns historical financial data without side effects. It does not execute trades, place orders, modify data, or perform financial transactions. The data is immutable historical information already recorded. Low severity because passive data access poses minimal risk even if misused by an AI agent.
From the tool's definition Tool retrieves 'historical stock price data - open, high, low, close, and volume' with no modification capability. Described as 'Get historical stock price data' indicating data retrieval only, not creation, modification, deletion, or execution of trades.
Attacks that exploit this kind of access
The rule that runs stock_history safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Livedatalink, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For stock_history, this is the rule to start with:
stock_history is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Livedatalink, apply this rule, and every stock_history call is checked against it from then on.
Questions about stock_history
Get historical stock price data - open, high, low, close, and volume (OHLCV). Supports intraday (1-minute) through multi-year (5-year, max) ranges. Use this for "how has AAPL performed this year?", "show me the price chart for Tesla", "what was the stock price last month?", "historical performance", or any stock price history question. It is categorised as a Read tool in the Livedatalink MCP Server, which means it retrieves data without modifying state.
stock_history accepts 3 parameters: period, symbol, interval. Required: symbol. The full parameter table on this page comes from the server's own tool schema.
Register the Livedatalink MCP server in PolicyLayer and add a rule for stock_history: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Livedatalink. Nothing to install.
stock_history is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the stock_history rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for stock_history. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
stock_history is provided by the Livedatalink MCP server (https://livedatalink.ai/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Livedatalink, and thousands of servers like it.
This server
Across the catalogue