Skip to main content
Glama
Azure DevOps MCP Server
by billg118

update_pull_request_thread_status

Update the status of a pull request comment thread to active, fixed, wontFix, closed, pending, or byDesign. Use it to mark review discussions resolved or track their progress.

Instructions

Update the status of a comment thread in a pull request (repositoryId optional; derived from pullRequestId when omitted)

Input Schema

NameRequiredDescriptionDefault
statusYesThe status to set on the thread
threadIdYesThe ID of the thread to update
projectIdNoThe ID or name of the project (Default: no default project)
repositoryIdNoThe ID or name of the repository (optional; derived from pullRequestId when omitted)
pullRequestIdYesThe ID of the pull request
organizationIdNoThe ID or name of the organization (Default: example-org)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.54

TDQS

C2.9/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 burden of disclosure, yet it only says 'update' without addressing permissions, whether the change is reversible, whether notifications are triggered, or what happens to existing thread state. The note about repositoryId being derived is helpful but is parameter-level, not behavioral.

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?

It is a single, front-loaded sentence with no filler, and the core operation comes before the optional-parameter caveat. It is efficient, though it is short enough that it could have afforded one more clause of genuinely useful context.

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 six-parameter mutation tool with no annotations and no output schema, the description is thin but the schema itself is fully documented, which offsets much of the gap. An agent can call it correctly, but it lacks confirmation semantics and any statement of effects, so it is only minimum-viable.

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 the schema already documents all six parameters, including the status enum and the repositoryId derivation. The description's parenthetical restates essentially the same repositoryId note found in the schema rather than adding new meaning, so baseline 3 applies.

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 gives a precise verb and resource: it updates the status of a comment thread on a pull request, which is a distinct operation from siblings such as update_pull_request or add_pull_request_comment. It does not explicitly name a sibling or contrast itself with one, so it stops short of a 5.

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?

There is no guidance on when to use this tool versus alternatives, no mention of prerequisites such as permissions or thread ownership, and no note on which statuses are legal or when to pick one. The only guidance is the parenthetical about repositoryId resolution, which is about a parameter rather than tool selection.

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