Skip to main content
Glama

task_attachment_delete

Destructive

Permanently remove one attachment from a task by task ID and attachment ID. Use it to clean up outdated or unwanted files attached to a todo item.

Instructions

Permanently remove one attachment from a task.

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": {
      "taskId": "<taskId>",
      "attachmentId": "<attachmentId>"
    },
    "name": "task_attachment_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskIdYesNumeric task ID.
attachmentIdYesAttachment ID returned by task_attachment_list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered. The description reinforces irreversibility with "Permanently" but adds no details about permissions, cascade effects, or failure behavior.

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 a single front-loaded sentence with no filler. The typo "Permanently" is a minor quality issue but does not undermine its conciseness or structure.

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 simple two-parameter destructive delete with complete annotations and no output schema, the description provides the necessary scope and consequence. It does not cover error cases or confirm task retention, but nothing essential for calling the tool is missing.

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%, and both required integer parameters are documented there, including that attachmentId comes from task_attachment_list. The description adds no syntax, format, or constraint beyond "one attachment from a task," 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?

The description states a specific verb and resource: "remove one attachment from a task." The scope is clear (one attachment, from a task), and it is easily distinguished from sibling attachment tools such as add, get, and list.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance, no prerequisite information, and no routing to alternatives such as task_attachment_list for finding an attachment ID. The description only implies that the tool is used to delete an attachment.

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