Skip to main content
Glama

delete_attachment

Delete one file from a task in the connected LoopGantt ACCOUNT (requires signing in to LoopGantt, or an API key). DESTRUCTIVE and PERMANENT: the file is removed for everyone on the project and cannot be restored. Ask the user before calling, and pass confirm: true only after they agreed; without it nothing is deleted.

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>",
      "confirm": "<confirm>"
    },
    "name": "delete_attachment"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskIdYesTask id from list_tasks
confirmYesMust be true: the user has confirmed this permanent deletion
attachmentIdYesAttachment id from list_attachments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it declares the operation DESTRUCTIVE and PERMANENT, states the blast radius ('removed for everyone on the project'), says it cannot be restored, and notes the auth requirement (LoopGantt sign-in or API key). The consequence of omitting confirm ('nothing is deleted') is a behavior the agent could not infer otherwise.

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 tight sentences, front-loaded with the destructive warning, then the safety procedure. No redundant phrasing or filler; every clause adds a distinct constraint.

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 irreversible mutation with no annotations and no output schema, the description covers the essentials: what is destroyed, who is affected, auth needs, and the confirmation protocol. Nothing critical for a correct invocation 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 100%, so the baseline is 3; the description goes beyond it by explaining the intent gate behind confirm: true and the no-op result when it is absent. taskId and attachmentId semantics are left entirely to 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 description opens with a specific verb and resource ('Delete one file from a task') and scopes it to the connected LoopGantt account. An agent can immediately distinguish this from delete_task or the attachment read/upload siblings, which operate on different resources.

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 gives an explicit precondition and ordering rule: ask the user before calling, then pass confirm: true only after they agreed. That is clear usage context, but it doesn't name an alternative or exclusion case (e.g., when to use get_attachment to verify the file first).

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