Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as mcptask.online. If you published it, claim ownership there.

DeleteAttachmentTool

Destructive

Delete a file attached to a task/story/piece. Allowed to whoever may edit the piece. Files on messages cannot be 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": {
      "account_code": "<account_code>",
      "piece_relative_id": "<piece_relative_id>",
      "attachment_id": "<attachment_id>"
    },
    "name": "DeleteAttachmentTool"
  }
}

Input Schema

NameRequiredDescriptionDefault
account_codeYesAccount code (e.g., "bcp", "jchsoft")
attachment_idYesID of the attachment, as returned by AddAttachmentTool and listed on the piece
piece_relative_idYesRelative ID of the piece the attachment belongs to

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true, readOnlyHint=false, and openWorldHint=false, so the risk profile is carried by structured data. The description adds real value with the permission model and the message-attachment exclusion, but says nothing about whether the deletion is permanent, whether the attachment can be recovered, or what happens if the ID is already gone — context the annotations do not supply.

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 tight sentences, zero filler, with the core action stated first and the two constraints following. Nothing to remove and nothing buried.

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 three-parameter destructive operation with no output schema, the description covers purpose, permissions, and scope limits. It loses a point only for not addressing irreversibility or failure behavior on an unknown attachment_id, which matters for a delete.

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?

All three parameters have full schema descriptions including formats and ID provenance ("as returned by AddAttachmentTool and listed on the piece"). The description adds no further meaning about any parameter, 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?

States a specific verb and resource ("Delete a file attached to a task/story/piece") and immediately narrows the scope by excluding message attachments. An agent can distinguish this from AddAttachmentTool and GetAttachmentTool purely from the description.

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?

Gives a clear permission precondition ("Allowed to whoever may edit the piece") and an explicit exclusion ("Files on messages cannot be deleted"), which is exactly the when-not guidance that prevents failed calls. It stops short of naming a sibling tool to redirect to for message files, so not a 5.

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