Skip to main content
Glama

delete_item

DestructiveIdempotent

Soft-delete one or more items (restorable with restore_item). Example: id=["", ""].

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": {
      "id": "<id>"
    },
    "name": "delete_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesItem ID or array of IDs
reasonNoWhy, for the change history

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / id / description
      Previous value: -"Item ID or array of item IDs to delete"New value: +"Item ID or array of IDs"
    • changedInput schema / properties / id / oneOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  }
      -]New value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "items": {
      +      "type": "string"
      +    },
      +    "maxItems": 20,
      +    "type": "array"
      +  }
      +]
    • changedInput schema / properties / reason / description
      Previous value: -"Why this change was made (shown to user in change history)"New value: +"Why, for the change history"
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is supplied. The description still adds genuine value beyond them by clarifying that the destruction is soft/reversible via restore_item — context the destructiveHint alone would not convey — and it shows the batch call shape by example.

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?

Two short sentences, both load-bearing: the first carries the semantics and reversibility, the second demonstrates batch input. Nothing is repeated from the title or annotations and the key constraint is front-loaded.

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

Completeness4/5

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

For a two-parameter mutation tool with full annotation coverage and no output schema, the description covers the essential facts an agent needs to call it correctly. It omits the reason parameter and says nothing about what a successful response contains, but neither gap is likely to cause a misinvocation.

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%, so the id and reason parameters are already documented, including the oneOf string-or-array shape and maxItems of 20. The description's example reinforces the array form but adds no format or behavioral detail (such as what happens on invalid or already-deleted IDs) beyond the schema, 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?

States a specific verb and resource ("soft-delete one or more items") and immediately clarifies the semantics with "restorable with restore_item", which distinguishes it from a hard delete and from siblings like update_item or remove_from_collection. An agent knows exactly what it does and that batch is supported.

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?

Names restore_item as the recovery path, which tells the agent this is the right tool when deletion should be undoable. It does not spell out when to prefer update_item or how this differs from delete_collection, but the context is unambiguous for a single-item collection tool.

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.

Resources