Skip to main content
Glama

Delete or merge workstream

delete_workstream
DestructiveIdempotent

Delete a workstream. Its actions become unclassified, or pass mergeIntoWorkstreamId to move them into another workstream first. Owner or Editor.

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": {
      "projectId": "<projectId>",
      "workstreamId": "<workstreamId>"
    },
    "name": "delete_workstream"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectIdYesThe project.
workstreamIdYesThe workstream to delete.
mergeIntoWorkstreamIdNoMove this workstream's actions here before deleting it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / mergeIntoWorkstreamId
      Added value: +{
      +  "default": null,
      +  "description": "Move this workstream's actions here before deleting it.",
      +  "format": "uuid",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedInput schema / properties / projectId / description
      Previous value: -"The project the workstream belongs to."New value: +"The project."
  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 and idempotentHint=true, but the description adds substantive context beyond them: what happens to child actions, the merge alternative, and the permission requirement. It does not state whether deletion is reversible or permanent, which would be the last missing piece.

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 with the destructive effect front-loaded, followed by the alternative path and the permission gate. No padding or redundant restatement of the title.

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 three-parameter destructive tool with full schema coverage and rich annotations, the description supplies the remaining behavioral essentials: child-action outcome, the merge option, and required role. No output schema exists, but the tool's return value is not central to calling it 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% and every parameter is documented, so the baseline is a 3. The description goes slightly further by explaining the consequence of mergeIntoWorkstreamId ('move them into another workstream first'), clarifying intent rather than just format.

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

Purpose4/5

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

The description gives a specific verb and resource ('Delete a workstream') and immediately states the side effect on contained actions, so the agent knows this is a destructive removal, not an archive. It does not explicitly contrast with siblings such as delete_project or save_workstream, but the resource scope makes the distinction unambiguous.

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?

It clearly explains the two modes of use: plain delete leaves actions unclassified, while passing mergeIntoWorkstreamId relocates them first. It also states the required role ('Owner or Editor'), which is real gating information. No explicit when-not-to-use guidance is given.

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