get_kbars

Get historical K-bar data

Server Shioaji MCP Server offbeat-studio/shioaji-mcp
Category Read
Risk class Low
Parameters 00 required

What get_kbars does on Shioaji MCP Server

AI agents call get_kbars to retrieve information from Shioaji MCP Server without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

Why get_kbars needs a policy

This tool retrieves historical price/volume data (K-bars are OHLCV candlestick bars) for analysis purposes. It has no side effects, does not execute trades, move funds, or modify any state. It is a pure read operation on market data. Even in the context of a trading platform, querying historical data poses minimal risk compared to order execution or account modification tools on the same server.

From the tool's definition Tool name 'get_kbars' and description 'Get historical K-bar data' indicate data retrieval without modification. K-bars (candlestick data) are historical market data used for analysis.

Questions about get_kbars

What does the get_kbars tool do? +

Get historical K-bar data. It is categorised as a Read tool in the Shioaji MCP Server MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on get_kbars? +

Register the Shioaji MCP Server MCP server in PolicyLayer and add a rule for get_kbars: 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 Shioaji MCP Server. Nothing to install.

What risk level is get_kbars? +

get_kbars is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit get_kbars? +

Yes. Add a rate_limit block to the get_kbars 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.

How do I block get_kbars completely? +

Set action: deny in the PolicyLayer policy for get_kbars. 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.

What MCP server provides get_kbars? +

get_kbars is provided by the Shioaji MCP Server MCP server (offbeat-studio/shioaji-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.