fetch_market_data

fetch_market_data

Server Ai Trader whchien/ai-trader
Category Read
Risk class Low
Parameters 00 required

What fetch_market_data does on Ai Trader

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

Why fetch_market_data needs a policy

This tool retrieves or queries market data without creating, modifying, or deleting anything. It has no side effects and represents a standard read operation. The empty description slightly reduces confidence, but the tool name and server context make the classification clear.

From the tool's definition Tool name 'fetch_market_data' indicates retrieval of market data with no modification. Server description confirms it 'fetch[es] market data' as a read operation.

Questions about fetch_market_data

What does the fetch_market_data tool do? +

fetch_market_data. It is categorised as a Read tool in the Ai Trader MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on fetch_market_data? +

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

What risk level is fetch_market_data? +

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

Can I rate-limit fetch_market_data? +

Yes. Add a rate_limit block to the fetch_market_data 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 fetch_market_data completely? +

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

fetch_market_data is provided by the Ai Trader MCP server (whchien/ai-trader). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// GET IN TOUCH

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

Message sent.

We'll get back to you soon.