Skip to main content
Glama

ado_list_prs

Read-onlyIdempotent

[~] PRIORITY TRIGGER: Use this tool when user mentions 'PR', 'Pull Request', 'list PRs', 'show PRs', 'active PRs', 'mes PR', 'liste des PR', 'pull requests ouverts', 'what PRs are open', 'PRs by [author]', 'PRs targeting [branch]'. NEVER call search_d365_code for PR listing requests. List Pull Requests in an Azure DevOps Git repository. If repositoryId is unknown, omit it and all repositories will be listed first. Filters: status (Active/Completed/Abandoned/All), author display name, target branch. Returns: PR ID, title, author, source->target branch, review status, linked work items, creation date. Use ado_analyze_pr_impact with a PR ID to get full D365 code impact analysis. Requires DEVOPS_ORG_URL + DEVOPS_PAT (Code: Read scope).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topNoMax results to return (1-100, default 25).
authorNoOptional: filter by author display name (partial match), e.g. 'Alim'.
statusNoPR status filter: Active (default), Completed, Abandoned, All.Active
projectNoOptional: Azure DevOps project name. Falls back to DEVOPS_PROJECT env var.
repositoryIdNoGit repository name or ID. If not known, leave empty to list all repos first.
targetBranchNoOptional: filter by target branch, e.g. 'main', 'develop'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / top / description
      Previous value: -"Max results to return (1–100, default 25)."New value: +"Max results to return (1-100, default 25)."
  2. Changed1 schema field changed
    • changedInput schema / properties / top / description
      Previous value: -"Max results to return (1�100, default 25)."New value: +"Max results to return (1–100, default 25)."
  3. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the readOnlyHint and idempotentHint annotations, the description discloses the fallback behavior when repositoryId is unknown, the required credentials and scope (DEVOPS_ORG_URL + DEVOPS_PAT with Code: Read scope), and the returned fields. This adds meaningful behavioral context that annotations alone do not provide.

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 longer than average but every sentence earns its place: trigger phrases, an explicit alternative exclusion, core functionality, repositoryId handling, filters, return values, related tool, and auth requirements. The priority trigger is front-loaded, ensuring the agent immediately knows when to call this tool.

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?

For a list PR tool with six fully documented parameters and no output schema, the description is complete. It covers invocation triggers, filtering options, repositoryId behavior, expected return fields, authentication needs, and the natural follow-up tool. Nothing essential for an agent to call it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description adds valuable semantics beyond the schema: it explains how to handle an unknown repositoryId (omit it to list all repositories) and clarifies the filter semantics (status, author display name, target branch). This nudges it above the baseline, though it doesn't add details for every parameter.

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 starts with a specific verb and resource: 'List Pull Requests in an Azure DevOps Git repository.' It also states the exact output (PR ID, title, author, source->target branch, review status, linked work items, creation date) and clearly distinguishes itself from search_d365_code and ado_analyze_pr_impact. This makes the tool's role unambiguous.

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

Usage Guidelines5/5

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

The description provides an explicit priority trigger list of user phrases and a direct exclusion: 'NEVER call search_d365_code for PR listing requests.' It also routes follow-up analysis to ado_analyze_pr_impact. This is outstanding guidance for when to use the tool versus alternatives.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.