Skip to main content
Glama

deleteTask

Destructive

Deletes a task from this beta project. Deleting is permanent: it also removes every step inside the task and ANY answers, uploads and completion records the testers already submitted for them. On a draft or scheduled beta project the change is applied immediately. On a running or paused beta project the change is STAGED: testers do not see it until commitTaskChanges publishes all staged changes (revertTaskChanges discards them; getBetaTasks with version 'unpublished' shows the staged state). While staging, these tools accept BOTH the live id and the staged id of a task or step, but always respond with the STAGED row — expect ids you did not pass in, with liveVersionId linking back to the live row. Content of finished or archived beta projects cannot be edited. On a running or paused beta project the deletion is only STAGED, and the answers are destroyed when commitTaskChanges publishes it — the point of no return is the commit, which is why commitTaskChanges is the confirmation-gated call.

Input Schema

NameRequiredDescriptionDefault
taskIdYesID of the task, from getBetaTasks. Never invent ids.
productIdYesID of the beta project to query. Get valid IDs from the listProducts tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare destructiveHint=true; the description goes far beyond by disclosing the exact blast radius (all steps plus tester answers, uploads and completion records are destroyed), the staging vs immediate application rules, and that the commit — not this call — is the point of no return. It also warns that responses return STAGED rows with unexpected ids and liveVersionId, which is non-obvious behavior an agent would otherwise misread.

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

Conciseness3/5

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

The critical facts are front-loaded (permanent deletion, cascade, cannot-edit archived), but the staging rule is stated twice ('the change is STAGED' near the top and again in the final sentence about the answers being destroyed at commit), and the id-handling paragraph is somewhat tangential to the delete action itself. It is dense and mostly earns its space, but the repetition and length work against scannability.

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 destructive two-parameter mutation with no output schema, the description covers everything that matters: consequences, reversibility window, environment-dependent behavior, id semantics, and the blocked-state exclusion. Nothing an agent needs to call this safely is missing.

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 already 100%, so the baseline is 3. The description adds real meaning beyond the schema by explaining that while staging, both live and staged ids of a task are accepted but the response always carries the staged row — context the parameter docs do not provide.

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 description opens with a specific verb and resource ('Deletes a task from this beta project') and immediately scopes it against siblings by explaining the cascade (steps, answers, uploads, completion records), which distinguishes it from deleteStep and archiveBeta without requiring schema inspection.

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?

It explicitly names the conditions that change behavior (draft/scheduled = immediate; running/paused = staged), names the alternative tools that govern the staged outcome (commitTaskChanges, revertTaskChanges, getBetaTasks with version 'unpublished'), and states a hard exclusion: content of finished or archived beta projects cannot be edited.

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