Skip to main content
Glama
aadityasinghal7

MCP Azure DevOps Server

add_work_item_comment

Add comments to Azure DevOps work items to provide feedback, document decisions, or communicate with team members. Comments become permanent parts of the work item history.

Instructions

    Adds a new comment to a work item.

    Use this tool when you need to:
    - Provide feedback or clarification on a work item
    - Document decisions made about the work
    - Add context without changing the work item's fields
    - Communicate with team members about specific tasks
    
    IMPORTANT: Comments in Azure DevOps become part of the permanent work
    item history and cannot be edited or deleted after they are added. The
    comment will be attributed to the user associated with the Personal
    Access Token used for authentication.
    
    Args:
        id: The work item ID
        text: The text of the comment (supports markdown formatting)
        project: Optional project name. If not provided, will be 
            determined from the work item.
        
    Returns:
        Formatted string containing confirmation and the added comment with
        author information and timestamp
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
textYes
projectNo
Behavior4/5

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

With no annotations provided, the description carries full burden and does well: it discloses that comments are permanent (cannot be edited/deleted), part of work item history, and attributed to the authenticated user. It lacks details on rate limits, error conditions, or authentication requirements beyond the token mention.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with clear sections (purpose, usage guidelines, important notes, args, returns). It's appropriately sized with no redundant sentences, though the usage list could be slightly more concise.

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 mutation tool with no annotations and no output schema, the description provides good coverage: purpose, usage, behavioral constraints, parameter semantics, and return format. It could improve by mentioning error cases or authentication scope, but it's largely complete for the context.

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 description coverage is 0%, so the description must compensate. It explains all three parameters: 'id' as work item ID, 'text' as comment text with markdown support, and 'project' as optional with fallback behavior. This adds significant meaning beyond the bare 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 clearly states the specific action ('Adds a new comment') and resource ('to a work item'), distinguishing it from siblings like 'get_work_item_comments' (read) and 'update_work_item' (modify fields). It precisely defines the tool's function without redundancy.

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

Usage Guidelines5/5

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

The description explicitly lists four use cases (feedback, documentation, adding context, communication) and contrasts with 'without changing the work item's fields', distinguishing it from 'update_work_item'. It provides clear when-to-use guidance, though it doesn't explicitly name alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aadityasinghal7/mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server