AI agents use memory_feedback to create or update resources in Zhiyi — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Zhiyi environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
comment | string | — | |
sessionId | string | — | Recall 会话 ID |
knowledgeId | number | Yes | 知识 ID |
feedbackType | string | Yes |
Parameters from the server's own tool schema.
This tool submits feedback on memory recall results, which is a write operation (creating/modifying feedback data). It does not appear to delete data or execute code. Confidence is moderate because the description is brief and in Chinese, but the intent is clearly to post feedback data reversibly.
From the tool's definition 对 Recall 结果提交效果反馈 (Submit feedback on Recall results)
Attacks that exploit this kind of access
对 Recall 结果提交效果反馈. It is categorised as a Write tool in the Zhiyi MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
memory_feedback accepts 4 parameters: comment, sessionId, knowledgeId, feedbackType. Required: knowledgeId, feedbackType. The full parameter table on this page comes from the server's own tool schema.
Register the Zhiyi MCP server in PolicyLayer and add a rule for memory_feedback: 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 Zhiyi. Nothing to install.
memory_feedback is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the memory_feedback 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 memory_feedback. 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.
memory_feedback is provided by the Zhiyi MCP server (zhiyi-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
memory_feedback is one line of Zhiyi's registry record.
The record carries the whole server: verified identity, auth posture, risk grade, every tool classified, recommended policy — re-checked continuously.
Teams ship this data inside their own products. See what a licence covers →