Skip to main content
Glama
mcp-devops-onpremise

mcp-devops-onpremise

by zwitbaum

List pull request threads

devops_pull_request_list_threads
Read-only

Retrieve a hierarchical list of non-deleted comment threads and their text comments for a pull request to review discussion context and resolve feedback.

Instructions

Retrieve a hierarchical list of non-deleted comment threads and their text comments for a pull request.

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": {
      "repository_id": "<repository_id>",
      "pull_request_id": "<pull_request_id>"
    },
    "name": "devops_pull_request_list_threads"
  }
}

Input Schema

NameRequiredDescriptionDefault
repository_idYesRepository name or ID.
pull_request_idYesThe ID of the pull request.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds genuine behavioral context beyond that by disclosing the 'non-deleted' filter and the hierarchical nesting of threads to comments. It stops short of discussing pagination, ordering, or result limits, which matter for a list operation.

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?

A single front-loaded sentence with no filler or repetition. The key qualifiers (hierarchical, non-deleted, text comments) all appear in the first clause, so an agent scanning it gets the gist immediately.

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?

An output schema exists, so return-value structure needn't be explained, and the two required parameters are fully documented. However, for a list tool the description omits any mention of result size, pagination, or ordering behavior, which leaves a real gap for invocation planning. It is adequate but not complete.

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 coverage is 100% with two required parameters, so the schema already documents repository_id and pull_request_id fully. The description reinforces that results are scoped to a single pull request but adds no format, ID-syntax, or cross-repository nuance beyond that. Baseline 3 applies when the schema does the heavy lifting.

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 plus resource: retrieving comment threads and their text comments for a pull request, with the scope narrowed to non-deleted threads and a hierarchical shape. It is clear what the tool returns, though it does not explicitly distinguish itself from the sibling devops_pull_request_list_thread_comments, whose scope sounds overlapping.

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 statement of when to use this tool versus alternatives, nor any prerequisites or exclusions. The only guidance is implied by the phrase 'for a pull request', leaving the agent to infer the choice between listing threads wholesale and listing comments for a single thread.

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