Skip to main content
Glama

Permanently Delete Item

purge_item

Permanently delete soft-deleted items from trash, bypassing the 30-day recovery window. Requires explicit confirmation to prevent accidental data loss.

Instructions

Permanently and irreversibly delete a soft-deleted item (purge it from the trash, skipping the 30-day recovery window). Only operates on items that are already soft-deleted - it refuses items that are still active. On the first call it returns a confirmation conflict; pass resolution: "confirm" only after the user explicitly agrees, or "cancel" to abort. Cascades to child rows the database cascades (e.g. a customer's contacts and interactions). To recover an item instead of destroying it, use restore_item.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entity_idYesUUID of the soft-deleted entity.
resolutionNoPass "confirm" to permanently delete after the user agrees; "cancel" to abort. Omit on the first call to receive a confirmation prompt.
entity_typeYesType of soft-deleted entity to purge.
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It discloses irreversibility, the confirmation conflict, cascading to child rows, and the condition that it only works on soft-deleted items. This is comprehensive for a destructive operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise enough, with each sentence serving a purpose. It is front-loaded with the core action. Slightly verbose due to detailed explanation of confirmation flow, but acceptable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's destructive nature and lack of output schema, the description covers all necessary context: prerequisites, confirmation flow, cascading behavior, and alternatives. It is complete for the agent to use correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds value by explaining the confirmation flow and the behavior of resolution parameter. It does not add new semantics to entity_type or entity_id beyond the schema, but the context of the confirmation mechanism is helpful.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: permanently delete a soft-deleted item, skipping the 30-day recovery window. It uses specific verbs ('purge', 'delete') and identifies the resource ('soft-deleted item'). It distinguishes from the sibling tool 'restore_item'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit guidance on when to use: only on already soft-deleted items. It says 'it refuses items that are still active'. It explains the confirmation conflict on first call and how to resolve. It also points to restore_item for recovery.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/OurThinkTank/founders-os'

If you have feedback or need assistance with the MCP directory API, please join our Discord server