Skip to main content
Glama

Delete Item

delete_item
DestructiveIdempotent

Moves an item to the Trash. The item leaves the library but is not destroyed: it stays restorable for 30 days, and only the user can delete it for good from the Trash view. The result carries the trashed item ids, so they can be passed straight to restore_item.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "item_id": "<item_id>"
    },
    "name": "delete_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
item_idYesThe library item ID to move to the Trash.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

The annotations declare destructiveHint=true and idempotentHint=true, but the description adds the crucial nuance that the item is not truly destroyed: it remains restorable for 30 days. That reconciles the destructive flag with a reversible operation and tells the agent exactly what authority it does not have (permanent deletion).

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?

Three short sentences, front-loaded with the core action, then retention semantics, then the follow-up affordance. Every clause contributes information the agent needs and none are filler.

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 soft-delete tool with no output schema, the description covers reversibility, retention window, permission boundary, and the shape of the return value (trashed item ids usable by restore_item). Nothing an agent needs to invoke it correctly is missing.

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?

There is a single required parameter with 100% schema description coverage, so the schema already fully documents item_id. The description refers to "an item" but adds no format, source, or lookup guidance (e.g. how to obtain a valid item ID) beyond what the schema provides, so the baseline of 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?

"Moves an item to the Trash" names a specific verb and resource, and immediately contrasts the operation with permanent deletion. An agent can tell this apart from siblings such as delete_collection or delete_highlight from the resource alone, without opening the schema.

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

Usage Guidelines4/5

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

The description establishes the operating context (soft-delete to Trash, permanent removal only via the user's Trash view) and points to restore_item as the counterpart, which implicitly defines the reversal path. It stops short of an explicit when-not-to-use statement, e.g. when a permanent deletion or a collection-level delete is actually needed.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.