Skip to main content
Glama

Delete Work Item

delete_work_item
DestructiveIdempotent

Delete a work item by id. It disappears from Cardlake along with its pins, likes and attachments, and can't be restored from the app. Use list_feed first if you don't already have the 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_work_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe work item's id

Output Schema

NameRequiredDescriptionDefault
deletedYes

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 already flag destructiveHint=true and idempotentHint=true, and the description adds the genuine consequence: the related pins, likes, and attachments disappear along with the item. The qualifier that it cannot be restored from the app is a usefully precise reversibility disclosure that goes beyond what the structured hint conveys.

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?

The description is three short sentences, front-loaded with the action and the cascade effect, then the follow-up guidance. Nothing is redundant with the title, and every sentence earns its place.

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?

The tool handles one required parameter, an output schema covers return values, and the description covers impact scope, irreversibility, and id acquisition. For a simple destructive-by-id tool, no further information is needed for correct invocation.

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 single id parameter and its UUID format are fully described in the schema. The description applies a baseline of 3, because the description only implies that list_feed supplies the id and adds no format or validation detail beyond the schema.

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 first sentence states a specific verb and resource ('Delete a work item by id'), which cleanly separates it from the sibling delete tools that target bookmarks, reminders, learnings, and other resource types. The scope of the effect (the item plus its pins, likes, and attachments) further pins down what is being removed.

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 gives explicit pre-call guidance: use list_feed first if the id is not already known, which heads off the main failure mode for an id-based delete. It stops short of saying when not to delete (for example, when update_work_item would do) or how to recover the id if list_feed is not the right source.

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.