Skip to main content
Glama
iimsaurav

Azure DevOps MCP Server

by iimsaurav

list_pull_requests

Retrieve pull requests from an Azure DevOps Git repository, filtering by status, creator, or reviewer.

Instructions

List pull requests in a Git repository.

Args: project: Azure DevOps project name. Uses default if not specified. repository_id: The repository ID or name. status: Filter by status: "active", "completed", "abandoned", "all" (default: "active"). top: Maximum number of pull requests to return (default: 25). creator: Optional filter by creator ID. reviewer: Optional filter by reviewer ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectNo
repository_idNo
statusNoactive
topNo
creatorNo
reviewerNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

Without annotations, the description carries the full burden of behavioral disclosure. It does not state that the operation is read-only or safe, nor does it mention any side effects, rate limits, or pagination behavior. It only documents parameters, leaving behavioral traits implicit.

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?

The description is a concise docstring with a clear Args section. Each parameter is documented in one line with no redundancy. The structure is efficient and easy to parse.

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

Completeness5/5

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

Given the tool's simplicity and the presence of an output schema (which handles return values), the description covers all needed aspects: parameter semantics, defaults, and filter options. No obvious gaps remain.

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

Parameters5/5

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

The input schema provides no descriptions (coverage 0%), but the description fully compensates by clearly explaining each parameter, including allowed values, defaults, and optionality. For example, it lists the status options and default, and explains creator and reviewer as filters.

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 tool's function: 'List pull requests in a Git repository.' This is a specific verb+resource combination that distinguishes it from sibling tools like get_pull_request (single) or create_pull_request (mutation).

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?

No guidance is provided on when to use this tool vs. alternatives such as get_pull_request or other list tools. The description only explains parameters without specifying context or prerequisites.

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/iimsaurav/azure-devops-mcp'

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