Skip to main content
Glama
Tiberriver256

Azure DevOps MCP Server

delete_work_item_attachment

Remove an attachment from an Azure DevOps work item by providing the work item ID and attachment GUID, typically obtained from work item relations.

Instructions

Delete an attachment from a work item. The attachment ID can be obtained from the work item relations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workItemIdYesThe ID of the work item to delete the attachment from
attachmentIdYesThe ID (GUID) of the attachment to delete. Can be obtained from the work item relations.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.6

TDQS

A3.5/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. 'Delete' does imply a destructive mutation, but the description says nothing about permissions required, whether the deletion is permanent/irreversible, error behavior for a missing attachment, or any confirmation step.

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, purpose front-loaded, zero filler. 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 simple two-parameter destructive tool with no output schema, the description covers purpose and ID sourcing adequately. The notable gap is any statement about the irreversibility or permission requirements of a delete, which matters more here because no annotations supply that context.

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 both parameters are already documented. The description's note about sourcing the attachment ID merely repeats what the schema description for attachmentId already states, adding no new semantic value. Baseline 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 (Delete) and resource (attachment from a work item), which cleanly separates it from the sibling get_work_item_attachment and create_work_item_attachment tools. An agent can identify the operation without opening the schema.

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?

The second sentence gives useful procedural guidance on where the attachmentId comes from ('work item relations'), which is real usage help. However, it offers no when-to-use/when-not framing, no prerequisites, and does not name any alternative tool.

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