Skip to main content
Glama

Delete a trashed item for good

driftnet_delete_item
Destructive

Permanently delete an item from trash, including its shares, votes, and version history. Use only for irreversible removal; it fails if the item is not trashed or does not exist.

Instructions

Permanently delete one item that is already in the trash, with its shares, votes and version history. It cannot be undone and only works on trashed items; to hide something reversibly use driftnet_update_item with trashed=true. Confirm with the reader first. Fails if the item does not exist or is not in the trash.

Input Schema

NameRequiredDescriptionDefault
idYesId of a trashed item (driftnet_search_items with view 'trash'), a positive integer such as 42

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, but the description goes well beyond them: it spells out the collateral deletion (shares, votes, version history), the irreversibility, and the two concrete failure modes (item missing, item not in trash). That is exactly the extra context a destructive operation needs beyond a hint flag.

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

Conciseness5/5

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

Four short sentences, front-loaded with the destructive scope, then the alternative, then the confirmation gate, then failure conditions. No sentence is redundant with another.

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?

For a single-parameter destructive tool with no output schema, the description covers scope, irreversibility, collateral effects, the safe alternative, and error behavior — everything an agent needs before invoking it. Nothing material is left to inference.

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

Parameters3/5

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

Schema coverage is 100% and the id property description already explains that it is a positive integer obtained from driftnet_search_items with view 'trash'. The description only reinforces the trashed-only constraint rather than adding new syntax or format detail, so baseline 3 applies.

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?

States a specific verb (permanently delete) and resource (one item already in the trash), and enumerates exactly what is destroyed alongside it (shares, votes, version history). It also names the sibling driftnet_update_item with trashed=true as the reversible counterpart, so an agent can distinguish it without opening either schema.

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?

Explicitly bounds the tool to trashed items and names the alternative for the reversible case (driftnet_update_item with trashed=true). It also adds a procedural gate — 'Confirm with the reader first' — which tells the agent when not to act unilaterally.

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