# get_historical_k_data

A read tool on the A-Share MCP Server MCP server.

Agent View of the PolicyLayer registry record for `get_historical_k_data`. HTML page: https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-historical-k-data

## Facts

- Tool: `get_historical_k_data`
- Server: A-Share MCP Server (`24mlight/a-share-mcp-is-just-i-need`) — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need.md
- Homepage: https://github.com/24mlight/a-share-mcp-is-just-i-need
- 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_k_data",
    "arguments": {}
  }
}
```

## Why get_historical_k_data is rated Low

This tool retrieves historical stock price data (K-line/candlestick data commonly used in financial markets). It has no side effects, does not modify data, and cannot be used to execute trades or trigger destructive actions. The empty description slightly reduces confidence, but the 'get_' prefix and sibling context strongly indicate read-only data retrieval.

From the tool's own definition: "Tool name 'get_historical_k_data' uses the 'get' verb indicating retrieval. Context shows this is one of multiple data retrieval tools on an A-share market data server (alongside get_adjust_factor_data, get_all_stock, get_balance_data, etc.), all following a…"

## Use case

AI agents call get_historical_k_data to retrieve information from A-Share 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 A-Share MCP Server:

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

## Other tools on A-Share MCP Server (40)

- `get_adjust_factor_data` — Read — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-adjust-factor-data.md
- `get_all_stock` — Read — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-all-stock.md
- `get_balance_data` — Read — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-balance-data.md
- `get_cash_flow_data` — Read — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-cash-flow-data.md
- `get_deposit_rate_data` — Read — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-deposit-rate-data.md
- `get_dividend_data` — Read — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-dividend-data.md
- `get_dupont_data` — Read — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-dupont-data.md
- `get_fina_indicator` — Read — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-fina-indicator.md
- `get_forecast_report` — Read — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-forecast-report.md
- `get_growth_data` — Read — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-growth-data.md
- `get_hs300_stocks` — Read — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-hs300-stocks.md
- `get_index_constituents` — Read — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-index-constituents.md
- `get_industry_members` — Read — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-industry-members.md
- `get_last_n_trading_days` — Read — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-last-n-trading-days.md
- `get_latest_trading_date` — Read — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-latest-trading-date.md
- `get_loan_rate_data` — Read — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-loan-rate-data.md
- `get_market_analysis_timeframe` — Read — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-market-analysis-timeframe.md
- `get_money_supply_data_month` — Read — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-money-supply-data-month.md
- `get_money_supply_data_year` — Read — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-money-supply-data-year.md
- `get_month_end_trading_dates` — Read — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-month-end-trading-dates.md
- `get_operation_data` — Read — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-operation-data.md
- `get_performance_express_report` — Read — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-performance-express-report.md
- `get_profit_data` — Read — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-profit-data.md
- `get_recent_trading_range` — Read — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-recent-trading-range.md
- `get_required_reserve_ratio_data` — Read — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-required-reserve-ratio-data.md
- `get_stock_analysis` — Read — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-stock-analysis.md
- `get_stock_basic_info` — Read — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-stock-basic-info.md
- `get_stock_industry` — Read — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-stock-industry.md
- `get_suspensions` — Read — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-suspensions.md
- `get_sz50_stocks` — Read — https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need/get-sz50-stocks.md
- …and 10 more: https://policylayer.com/tools/24mlight-a-share-mcp-is-just-i-need.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=24mlight-a-share-mcp-is-just-i-need · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/24mlight-a-share-mcp-is-just-i-need
