Skip to main content
Glama
ritesh31

GitHub MCP Server

by ritesh31

list_pull_requests

List pull requests in a GitHub repository by owner and repo, with an optional state filter to view open, closed, or merged PRs.

Instructions

List pull requests in a GitHub repository.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoYes
ownerYes
stateNoopen

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does not mention that this is a read-only operation, nor does it disclose pagination, rate limits, or any side effects. The description only states the basic action without operational context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, concise sentence without redundancy. However, it is under-specified, lacking structure or front-loading of critical constraints. While it is not bloated, it does not provide enough substance to be considered well-structured.

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?

Given the presence of an output schema, the description need not detail return values, but it should still clarify usage context. It omits important details like default state, pagination, sorting, and when to use this tool over issue search. The description is insufficient for an agent to fully understand the tool's capabilities.

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

Parameters1/5

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

Schema description coverage is 0%, so the description must compensate by explaining the parameters. However, it does not mention owner, repo, or state at all. The description adds no meaning beyond what the schema already shows, which is minimal (field names and types only).

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 action (list) and resource (pull requests in a GitHub repository). It is distinct from siblings which focus on issues and repository metadata, so an agent can easily differentiate.

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 versus alternatives like search_issues or search_repository_issues. There is no mention of filtering, sorting, or other selection criteria beyond the basic state parameter.

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