Skip to main content
Glama

remove_attachment

Remove a screenshot or file from a comment using its bracketed attachment number from list_comments or get_comment.

Instructions

Remove a screenshot or file from a comment. Its number is the one in brackets after its name in list_comments / get_comment.

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": {
      "attachment": "<attachment>"
    },
    "name": "remove_attachment"
  }
}

Input Schema

NameRequiredDescriptionDefault
attachmentYesThe attachment number, e.g. 13.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It does clarify scope by saying only the attachment is removed from the comment (implying the comment survives), which is useful. But for a destructive mutation it never says whether the removal is permanent, whether the underlying file is deleted or merely unlinked, whether it can be restored, or what permissions are needed.

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 short sentences, zero filler. The action is front-loaded and the second sentence is dedicated entirely to resolving the one ambiguous parameter, so every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter tool with full schema coverage and no output schema, the description covers what is removed and how to find the identifier. It is not quite complete for an unannotated destructive operation, since reversibility and scope of deletion remain unstated.

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 baseline would be 3, but the description adds meaning the schema does not: it tells the agent where the integer comes from (the bracketed number after the attachment name in list_comments / get_comment). That provenance detail is exactly the kind of disambiguation an agent needs to supply a correct value.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb ('Remove') and a specific resource ('a screenshot or file from a comment'), which also implicitly separates it from delete_comment (which removes the comment itself) and attach_files (the inverse operation). It stops short of explicitly naming those siblings, so an agent must infer the boundary rather than being told it.

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

Usage Guidelines3/5

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

There is genuine workflow guidance: the attachment number is the one shown in brackets after its name in list_comments / get_comment, which tells the agent how to obtain the required argument. However, there is no statement of when to use this tool versus alternatives such as delete_comment or attach_files, nor any preconditions or exclusions.

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