Skip to main content
Glama

delete_task

Permanently remove a task and its corresponding GitHub issue from all layers. Irreversible; requires delete-issue permission, so only use when a task must be fully erased.

Instructions

PERMANENTLY delete a task and its GitHub issue (deleteIssue) from every layer, deepest-first. Needs the token's delete-issue permission (repo admin/triage); a normal token cannot. Irreversible — to just mark a task done, use close_task instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe task id to delete.
branchNoBranch to scope to (optional; the backend decides its use).
projectNoThe project id — an opaque, supplied string, never derived. Omit to use the server's --project-id default.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
deletedYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.21.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden. It discloses irreversibility, permanent cascading deletion across layers including the linked GitHub issue, deletion order, and the permission requirement. This is exactly the kind of behavioral context an agent needs before invoking a destructive operation.

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 dense sentences with no filler. The critical warning 'PERMANENTLY' and 'Irreversible' are front-loaded, and the alternative tool is named in the same sentence as the warning. Every clause 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 description covers the operation's scope, side effects, permission needs, and the safer alternative. With a complete input schema and an output schema present, there is no significant missing context for an agent to select and invoke this tool correctly.

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 description coverage is 100%, so the schema already explains all parameters. The description does not add parameter-level meaning beyond what the schema provides, so the baseline of 3 is appropriate.

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 names the specific verb ('Permanently delete') and resource ('a task and its GitHub issue'), and further clarifies scope ('from every layer, deepest-first'). It clearly distinguishes from the sibling close_task, which is exactly the alternative an agent might confuse it with.

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?

Explicitly states the key alternative: 'to just mark a task done, use close_task instead.' It also gives a hard precondition (token needs delete-issue permission, repo admin/triage) and a strong signal that this is not for routine completion.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/outputty/tasks-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server