clean_admin_recipe_folders
Run admin recipe folder cleanup.
This record as markdown: /tools/nikopol666-mealie-mcp/clean-admin-recipe-folders.md
What clean_admin_recipe_folders does on Mealie MCP Server
AI agents invoke clean_admin_recipe_folders to trigger actions in Mealie MCP Server. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.
Why clean_admin_recipe_folders is rated High
This tool executes an administrative cleanup operation whose side effects depend on the state of the recipe folders and internal cleanup logic. While not immediately destructive (cleanup typically removes temporary/orphaned files), it modifies the file system state through an executed operation rather than a simple write.
From the tool's definition Tool name 'clean_admin_recipe_folders' and description 'Run admin recipe folder cleanup' indicate execution of a cleanup operation on the file system.
Risk signalsAdmin/system-level operation
Attacks that exploit this kind of access
The rule that runs clean_admin_recipe_folders safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Mealie MCP Server, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For clean_admin_recipe_folders, this is the rule to start with:
clean_admin_recipe_folders stays usable, but rate-capped: a runaway agent can't fire it dozens of times a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Mealie MCP Server, apply this rule, and every clean_admin_recipe_folders call is checked against it from then on.
Questions about clean_admin_recipe_folders
Run admin recipe folder cleanup. It is categorised as a Execute tool in the Mealie MCP Server MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
Register the Mealie MCP Server MCP server in PolicyLayer and add a rule for clean_admin_recipe_folders: 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 Mealie MCP Server. Nothing to install.
clean_admin_recipe_folders is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.
Yes. Add a rate_limit block to the clean_admin_recipe_folders 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 clean_admin_recipe_folders. 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.
clean_admin_recipe_folders is provided by the Mealie MCP Server MCP server (nikopol666/mealie-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Mealie MCP Server, and thousands of servers like it.
Across the catalogue