Skip to main content
Glama
saidsef

GitHub PR Issue Analyser

by saidsef

Github List Pr Reviews

github_list_pr_reviews
Read-only

Retrieve pull request reviews in chronological order, showing each reviewer's author and verdict. See who approved or requested changes at a glance.

Instructions

Lists the reviews submitted on a pull request, oldest first, each with its author and verdict. A review is not a comment: github_list_pr_comments returns what was said on lines and in the thread, not whether anyone approved. Read requested_reviewers from github_get_pr_content to tell nobody has reviewed from nobody having been asked. See #408.

Workflow and conventions: github_get_skill('pr-review').

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoWhich page of results to return, counting from 1
per_pageNoNumber of results per page (1-100)
pr_numberYes
repo_nameYes
repo_ownerYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv42.0.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare the operation read-only and non-destructive, and the description adds meaningful behavioral detail: ordering is oldest first, each result includes author and verdict, and reviews are distinct from comments. This goes beyond annotation coverage without contradicting it, though it leaves external reference '#408' unexplained.

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

Conciseness4/5

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

The description is compact and front-loaded with the core behavior, followed by a useful distinction and workflow note. Each sentence earns its place, though '#408' is a cryptic reference that may not help an agent.

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 relatively simple read-only list tool with an output schema, the description covers the essential behavior, ordering, content, and the key sibling distinction. It also provides workflow guidance for interpreting results, making it complete enough for correct selection and invocation.

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

Parameters2/5

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

Schema description coverage is only 40%, with only page and per_page documented. The description does not compensate by explaining repo_owner, repo_name, or pr_number, even though those names are fairly standard. It does not add parameter-level meaning beyond what the schema already provides.

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 uses a specific verb and resource: 'Lists the reviews submitted on a pull request, oldest first, each with its author and verdict.' It clearly differentiates itself from github_list_pr_comments, so an agent can distinguish this tool from its nearest sibling without opening the schema.

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?

It explicitly names the alternative tool (github_list_pr_comments) and explains when to use it instead: for line and thread comments, not approvals. It also gives a follow-up workflow, telling the agent to read requested_reviewers from github_get_pr_content to distinguish 'nobody reviewed' from 'nobody asked', and points to a skill for conventions.

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