admin.destroy

Delete one object via ModelAdmin.delete_model(). Cascade behaviour is owned

Server Django Admin Mcp Api martincastroalvarez/django-admin-mcp-api
Category Destructive
Risk class Critical
Parameters 00 required

What admin.destroy does on Django Admin Mcp Api

AI agents call admin.destroy to permanently remove resources in Django Admin Mcp Api — typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

Why admin.destroy needs a policy

This tool permanently removes data objects from the database. Even though cascade behavior is "owned" (meaning it respects Django's cascade rules), the operation cannot be undone and may affect related records. This makes it Destructive rather than Execute.

From the tool's definition Tool name is "admin.destroy" and description explicitly states "Delete one object via ModelAdmin.delete_model()" with cascade behavior. The verb "Delete" and method name "delete_model()" unambiguously indicate irreversible data removal.

Questions about admin.destroy

What does the admin.destroy tool do? +

Delete one object via ModelAdmin.delete_model(). Cascade behaviour is owned. It is categorised as a Destructive tool in the Django Admin Mcp Api MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.

How do I enforce a policy on admin.destroy? +

Register the Django Admin Mcp Api MCP server in PolicyLayer and add a rule for admin.destroy: 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 Django Admin Mcp Api. Nothing to install.

What risk level is admin.destroy? +

admin.destroy is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.

Can I rate-limit admin.destroy? +

Yes. Add a rate_limit block to the admin.destroy 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.

How do I block admin.destroy completely? +

Set action: deny in the PolicyLayer policy for admin.destroy. 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.

What MCP server provides admin.destroy? +

admin.destroy is provided by the Django Admin Mcp Api MCP server (martincastroalvarez/django-admin-mcp-api). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER 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 →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.