Skip to main content
Glama
jamesjfoong

github-pr-review-mcp

by jamesjfoong

get_pending_review

Check whether a pull request has a pending review and retrieve its contents. Returns null when no pending review exists.

Instructions

Get the current pending review for the PR (if any). Returns null if no pending review exists.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoYesRepository name
ownerYesRepository owner/organization
prNumberYesPull request number

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.4

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations provided, the description carries the behavioral burden. It usefully discloses the null-return behavior when no pending review exists, which is a real behavioral trait. However, it does not explain what a 'pending review' object contains, whether the operation is read-only, or how it differs behaviorally from fetching all reviews.

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 two short sentences with no filler. The primary action is front-loaded, and the null-return clarification earns its place.

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

Completeness3/5

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

The tool is simple, the params are fully documented, and the null behavior is disclosed, which covers a lot. But with no output schema, the return shape is never described, and the notion of 'current pending review' is left undefined relative to related sibling tools like get_pr_reviews and ensure_pending_review.

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%, with owner, repo, and prNumber all explained in the schema. The description adds no parameter-level meaning beyond the schema, so the baseline 3 applies.

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: 'Get the current pending review for the PR', which clearly identifies the operation and target. The qualifier 'current pending' distinguishes it from siblings like get_pr_reviews, and the explicit null-return note pins down the exact semantics.

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?

The description implies when to use the tool: when you need the current pending review for a PR, if one exists. However, it does not explicitly contrast this with alternatives such as get_pr_reviews, ensure_pending_review, or list_pending_review_comments, nor does it state when not to use it.

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

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/jamesjfoong/github-pr-review-mcp'

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