AI agents call compare_peers to retrieve information from Korea Stock Analyzer MCP Server without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
This tool retrieves and presents existing market data about peer companies for comparative analysis. It has no capability to modify, delete, execute code, or trigger external operations. The operation is read-only—it queries and displays information to inform investment decisions without any side effects on data or systems.
From the tool's definition Tool name 'compare_peers' and description '시가총액이 비슷한 동종 종목을 추천합니다' (recommends peer companies with similar market capitalization) indicate a retrieval/query operation that fetches and compares financial data.
Documented attack patterns abuse exactly the kind of access compare_peers gives an agent:
PolicyLayer is an MCP gateway — it sits between your AI agents and Korea Stock Analyzer MCP Server, and nothing reaches the server without passing your rules. This is the rule we recommend for compare_peers:
{
"version": "1",
"default": "deny",
"tools": {
"compare_peers": {}
}
} compare_peers is read-only, so it stays allowed — but everything else on the server is denied unless you say otherwise.
Free to start. No card required.
시가총액이 비슷한 동종 종목을 추천합니다. It is categorised as a Read tool in the Korea Stock Analyzer MCP Server MCP Server, which means it retrieves data without modifying state.
Register the Korea Stock Analyzer MCP Server MCP server in PolicyLayer and add a rule for compare_peers: 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 Korea Stock Analyzer MCP Server. Nothing to install.
compare_peers 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 compare_peers 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 compare_peers. 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.
compare_peers is provided by the Korea Stock Analyzer MCP Server MCP server (mrbaeksang/korea-stock-analyzer-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Start from Korea Stock Analyzer MCP Server, add the rest of your stack, and see everything your agents can call. Then put policy on all of it.
Free to start. No card required.
8 Korea Stock Analyzer MCP Server tools catalogued and risk-classified — across an index of 43,000+ MCP servers.