Skip to main content
Glama
Azure DevOps MCP Server
by billg118

list_pull_requests

Retrieve pull requests from an Azure DevOps repository and filter them by status, creator, reviewer, or branch to review and manage code changes.

Instructions

List pull requests in a repository

Input Schema

NameRequiredDescriptionDefault
topYesMaximum number of pull requests to return (default: 10)
skipNoNumber of pull requests to skip for pagination
statusNoFilter by pull request status
creatorIdNoFilter by creator ID (must be a UUID string)
projectIdNoThe ID or name of the project (Default: no default project)
reviewerIdNoFilter by reviewer ID (must be a UUID string)
repositoryIdYesThe ID or name of the repository
sourceRefNameNoFilter by source branch name
targetRefNameNoFilter by target branch name
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 behavioral burden, yet it only implies a read operation. It says nothing about pagination behavior (top/skip), default scoping (organization, project, repository defaults), authentication requirements, or what the result set looks like.

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 zero filler, which is structurally clean. Its brevity borders on under-specification rather than verbosity, but nothing written is wasted.

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 ten-parameter, filter-heavy listing tool with no annotations and no output schema, the description omits the essential context: that results are paginated and filterable by status, creator, reviewer, and branch, and what the response contains. An agent could call it, but only by reverse-engineering the schema.

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% with all ten parameters documented, including the status enum and default values, so the schema does the heavy lifting. The description adds no meaning beyond that, which is the baseline case for a fully documented schema.

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 states a specific verb and resource ('List pull requests in a repository'), which is unambiguous about what the tool returns. It does not explicitly distinguish itself from siblings like get_pull_request or create_pull_request, but the 'List' verb makes the distinction reasonably clear.

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 get_pull_request or the search tools, and no mention of the supported filtering or pagination workflow. The agent must infer usage entirely from the name and schema.

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