Skip to main content
Glama

List pull requests

codecov_list_pulls
Read-only

List a repository's pull requests, optionally filtered by state and start date. Codecov REST: GET /{service}/{owner_username}/repos/{repo_name}/pulls/.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for paginated results (1-based).
repoYesRepository name, e.g. 'codecov-api' (required).
ownerYesOwner username — the organization or user login on the git service, e.g. 'codecov' (required).
stateNoFilter by pull state, e.g. 'open', 'closed' or 'merged'.
serviceNoGit service provider — one of 'github' (default), 'gitlab', 'bitbucket', 'github_enterprise', 'gitlab_enterprise' or 'bitbucket_server'.github
orderingNoOrdering field, e.g. 'pullid' or '-pullid'.
pageSizeNoNumber of results per page (maps to `page_size`).
startDateNoOnly include pulls updated on/after this date, yyyy-mm-dd (maps to `start_date`).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read, so the description's added value is the upstream mapping 'Codecov REST: GET /{service}/{owner_username}/repos/{repo_name}/pulls/', which helps an agent correlate with the REST API. It does not describe what each returned pull contains, default ordering, or pagination defaults, so it goes only slightly beyond the annotations.

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?

Two short sentences, purpose front-loaded, followed by the filter scope and the REST path. Nothing is padded or redundant.

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

Completeness4/5

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

For a read-only list tool whose annotations cover the safety profile and whose schema fully documents all 8 parameters, the description is nearly sufficient. It could still say what the returned list items look like or note pagination defaults, but nothing critical to correct invocation is missing.

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%, so the baseline is 3; every parameter (owner, repo, service, state, ordering, page, pageSize, startDate) is already documented in the schema. The description only restates the state and startDate filters, adding no syntax or format detail beyond what the schema provides.

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?

States a specific verb and resource ('List a repository's pull requests') and names the two filter dimensions, which is enough to separate it from the singular codecov_get_pull sibling. It stops short of explicitly contrasting the list/collection scope against get_pull, so it lands at clear-but-not-differentiating.

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

Usage Guidelines3/5

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

Usage is implied by the mention of optional state and startDate filters, but there is no explicit when-to-use guidance, no prerequisites, no routing to alternatives such as codecov_get_pull for a single PR, and no note about paginating. Adequate but with clear gaps.

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.