Skip to main content
Glama
hasanozcan

Azure DevOps MCP Server

by hasanozcan

Create pull request inline comment

create_pull_request_inline_comment

Post an inline review comment on a specific file and line in an Azure DevOps pull request iteration, requiring explicit confirmation to apply the change.

Instructions

Validate and create a file/line comment on the current pull request iteration. Requires write tools and confirm=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
toLineNo
confirmYesMust be true to perform the mutation.
contentYesMarkdown comment body.
projectNoProject name or ID. Omit to use AZURE_DEVOPS_DEFAULT_PROJECT.
fromLineNo
iterationIdNo
startToLineNo
repositoryIdYesRepository name or ID.
pullRequestIdYesPull request numeric ID.
startFromLineNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden of disclosing behavior. It states that it requires write tools and confirm=true, which indicates a mutation and a confirmation gate. However, it doesn't disclose what happens on validation failure, whether the comment is attached to a thread, or what the response contains. The 'current' iteration phrase is ambiguous given an iterationId parameter.

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 sentences with no filler. The purpose is front-loaded, followed by the critical requirement (confirm=true). It is efficient and to the point, earning every word.

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

Completeness2/5

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

For a tool with 11 parameters, 5 required, no output schema, and no annotations, the description is insufficient. It doesn't clarify line range semantics, the difference between fromLine/toLine and startFromLine/startToLine, or the meaning of 'current' versus iterationId. An agent would be uncertain about how to specify the target line range or which iteration is used.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 45%, so the description should compensate for the undocumented parameters. It does not: it only mentions 'file/line comment' without explaining the line range parameters (toLine, fromLine, startToLine, startFromLine) or iterationId. The schema already describes confirm, content, project, repositoryId, and pullRequestId, but the description adds no extra meaning for the remaining parameters.

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 states a specific action: validate and create a file/line comment on the current pull request iteration. It clearly distinguishes from sibling tools like create_pull_request_comment (general comment) and validate_inline_comment_target (validation only) by combining validation with creation.

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

Usage Guidelines2/5

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

The description does not provide any guidance on when to use this tool versus alternatives. It doesn't mention the separate validate_inline_comment_target for validation-only use, nor how it differs from create_pull_request_comment. No exclusions or prerequisites beyond the confirmation requirement.

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

Deploy Server

Other Tools