Prune older reasoning/log content while keeping the most recent records per entity and type.
AI agents call prune_content_retention to permanently remove resources in SQLite Project Memory MCP — typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.
The tool irreversibly deletes older content records from entities, keeping only the most recent ones. This is a destructive operation because pruned historical reasoning/log data is permanently lost. Misuse by an AI agent could result in loss of important project memory, audit trails, or historical context across multiple entities.
From the tool's definition 'Prune older reasoning/log content' — pruning implies permanent removal of historical records that cannot be recovered
Attacks that exploit this kind of access
Prune older reasoning/log content while keeping the most recent records per entity and type. It is categorised as a Destructive tool in the SQLite Project Memory MCP MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.
Register the SQLite Project Memory MCP server in PolicyLayer and add a rule for prune_content_retention: 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 SQLite Project Memory MCP. Nothing to install.
prune_content_retention is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the prune_content_retention 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 prune_content_retention. 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.
prune_content_retention is provided by the SQLite Project Memory MCP server (webrtcgame/sqlite-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
prune_content_retention is one line of SQLite Project Memory'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 →