调用本机本地知识库路由检索,读取和当前小程序/业务相关的上下文。
AI agents call yunyu_query_context to retrieve information from Wechat Miniapp Engineering without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
This tool retrieves and reads context information from a local knowledge base. It performs a query/lookup operation that returns information about the current WeChat mini-app or business context. No creation, modification, deletion, code execution, or financial operations are described. This is a straightforward read operation with minimal risk if misused by an AI agent.
From the tool's definition Tool name and description indicate 'query' and 'retrieval' (调用本机本地知识库路由检索、读取) of context related to the current mini-app/business.
Attacks that exploit this kind of access
调用本机本地知识库路由检索,读取和当前小程序/业务相关的上下文。. It is categorised as a Read tool in the Wechat Miniapp Engineering MCP Server, which means it retrieves data without modifying state.
Register the Wechat Miniapp Engineering MCP server in PolicyLayer and add a rule for yunyu_query_context: 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 Wechat Miniapp Engineering. Nothing to install.
yunyu_query_context 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 yunyu_query_context 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 yunyu_query_context. 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.
yunyu_query_context is provided by the Wechat Miniapp Engineering MCP server (lychee20000105/wechat-miniapp-engineering-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the 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 →