Skip to main content
Glama

Pull request review findings

list_pr_findings
Read-only

Read all recorded findings for a PR (any lifecycle status) so verdicts can be recorded by exact id. Returns the recorded id and the platform-owned githubCommentId to join against GitHub review comments (exact for findings the platform delivered inline; null for older / un-anchored findings), plus the full claim (description, suggestion, snippets), lifecycle, and the latest verdict and verification. Set include_history for the append-only judgment chains. Judgments written by YOUR OWN run are never returned — a run must not be shown its own prior conclusion as evidence. Findings the obsolescence sweep has resolved are excluded unless include_obsolete is set. Read-only — records nothing.

Input Schema

NameRequiredDescriptionDefault
prYes
repositoryYes
include_historyNoReturn each finding's append-only judgment history (verdicts and verifications from earlier runs, oldest first) as `judgments`. Default false.
organization_idYesThe organization that owns the pull request. Call list_organizations if you do not have it.
include_obsoleteNoInclude findings the obsolescence sweep resolved as no longer present on the default branch. Default false — judging code that is gone is wasted effort.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already establish read-only safety, yet the description adds substantive behavior beyond them: judgments from the calling run are never returned (self-evidence exclusion), obsolete-sweep-resolved findings are filtered by default, and the githubCommentId join is only exact for inline-delivered findings and null otherwise. These are non-obvious filtering and data-integrity traits an agent could not infer from any structured field.

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?

Front-loaded with the core action and each subsequent sentence carries distinct information (return shape, history flag, self-exclusion, obsolete filter). The closing 'Read-only — records nothing' marginally duplicates readOnlyHint=true, a small redundancy rather than a flaw.

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?

With no output schema, the description takes on return-value explanation and does so thoroughly: id, githubCommentId with caveats, full claim, lifecycle, latest verdict and verification. Combined with the explicit filtering rules, an agent has everything needed to call it correctly and interpret results.

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?

At 60% schema coverage, both optional booleans (include_history, include_obsolete) already carry their own detailed schema descriptions, and the description largely restates them rather than adding new semantics. The one genuine addition — 'any lifecycle status' clarifying the returned set — is about scope, not parameter meaning.

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?

States a specific verb and resource — 'Read all recorded findings for a PR' — and pins the scope explicitly with '(any lifecycle status)'. An agent can distinguish this from record_finding_verdict or list_tasks without opening the schema, and it names the downstream purpose (recording verdicts by exact id).

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

Usage Guidelines4/5

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

Usage context is clear: call this to obtain finding ids before recording verdicts, and set include_history/include_obsolete under stated conditions. It does not explicitly name a competing sibling tool or declare when not to call it, so it stops short of the explicit alternatives routing a 5 requires.

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.