Skip to main content
Glama
Haavi97

GitHub Context MCP Server

by Haavi97

get_pull_requests

Retrieve pull requests for a specified GitHub repository, with options to filter by state and cap the number of results.

Instructions

List pull requests for a repository.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoYesRepository in "owner/repo" format.
stateNoPR state filter (default: "open").open
max_resultsNoNumber of PRs to return (default: 20, max: 100).
Behavior2/5

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

With no annotations provided, the description carries full responsibility for disclosing behavior. It only says 'list,' which is already implicit in the name, and fails to mention important traits like the default 'open' state filter, max_results limit, or read-only nature.

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 single, front-loaded sentence with no unnecessary words. It is extremely concise and structured effectively, though it is under-specified due to its brevity.

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?

Despite the schema being thorough, the description lacks critical context: no output format, no mention of defaults (state=open), and no differentiation from sibling tools like get_issues. Given no output schema and no annotations, this is too minimal to be considered 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?

The input schema has 100% coverage for all three parameters, so the schema already documents repo format, state enum with default, and max_results limits. The description adds no parameter-specific meaning beyond what the schema provides, matching the baseline of 3.

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 clearly states the tool lists pull requests for a repository, using a specific verb and resource. It is not a tautology, but it does not explicitly differentiate from sibling tools like get_issues, so it falls short of a 5.

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?

The description provides no guidance on when to use this tool versus alternatives such as get_issues or get_commits. There is no mention of default behavior (e.g., open state) or exclusions, so an agent receives no usage context beyond the name.

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/Haavi97/github-mcp'

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