prompthub_delete_reference

Delete one PromptReference input asset by id. Get ids from prompthub_get_repo promptReferences[]. A 404 means it does not exist or you cannot access it.

Server Prompthub lionelhao/prompthub-mcp
Category Destructive
Risk class Critical
Parameters 00 required

What prompthub_delete_reference does on Prompthub

AI agents call prompthub_delete_reference to permanently remove resources in Prompthub — typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

Why prompthub_delete_reference needs a policy

This tool performs an irreversible deletion operation on a specific asset (PromptReference) identified by its ID. Deletion cannot be undone, making it a Destructive action rather than a reversible Write operation. The high severity reflects the potential for significant data loss if an AI agent deletes important prompt references without authorization or understanding the consequences.

From the tool's definition The tool name contains 'delete' and the description explicitly states 'Delete one PromptReference input asset by id', indicating irreversible removal of data.

Questions about prompthub_delete_reference

What does the prompthub_delete_reference tool do? +

Delete one PromptReference input asset by id. Get ids from prompthub_get_repo promptReferences[]. A 404 means it does not exist or you cannot access it. It is categorised as a Destructive tool in the Prompthub 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 prompthub_delete_reference? +

Register the Prompthub MCP server in PolicyLayer and add a rule for prompthub_delete_reference: 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 Prompthub. Nothing to install.

What risk level is prompthub_delete_reference? +

prompthub_delete_reference 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 prompthub_delete_reference? +

Yes. Add a rate_limit block to the prompthub_delete_reference 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 prompthub_delete_reference completely? +

Set action: deny in the PolicyLayer policy for prompthub_delete_reference. 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 prompthub_delete_reference? +

prompthub_delete_reference is provided by the Prompthub MCP server (lionelhao/prompthub-mcp). 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.