Skip to main content
Glama
saidsef

GitHub PR Issue Analyser

by saidsef

get_pr_status_checks

Read-only

Retrieve CI check runs and commit status for a pull request's HEAD commit to determine if all checks pass or if results are incomplete.

Instructions

Return the CI check runs and commit status for a pull request's HEAD commit.

Pages through up to MAX_STATUS_CHECKS_SUITE_PAGES of check suites (50 per page). For any suite whose first 100 runs are not the full set, drains up to MAX_STATUS_CHECKS_RUN_PAGES_PER_SUITE additional pages via the supplemental query. If either cap is hit before the connection is exhausted, the result is flagged truncated=True and overall is downgraded from 'passing' to 'unknown' so the caller does not act on a partial view.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_ownerYes
repo_nameYes
pr_numberYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pr_numberYes
overallYes
check_runsYes
commit_statusesYes
truncatedYes
Behavior5/5

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

Annotations mark the tool as read-only. The description goes far beyond by detailing pagination limits (50 per page, max pages), truncation detection, and the effect on the 'overall' field (downgraded to 'unknown' on partial results). This is rich behavioral context beyond what annotations provide.

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 paragraph that starts with the main action, then efficiently explains pagination behavior and truncation handling. Every sentence adds necessary detail without fluff.

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 description covers the algorithm well, but lacks parameter descriptions. With 3 simple required params and an output schema, the completeness is adequate but not thorough. The missing param documentation reduces the score.

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 has 3 parameters with 0% description coverage. The description does not describe repo_owner, repo_name, or pr_number individually. Although their meaning is somewhat inferable, for full clarity the description should provide at least brief explanations.

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 precisely states it returns CI check runs and commit status for a pull request's HEAD commit. This clearly differentiates it from sibling tools like get_pr_diff or create_pr, which have different purposes.

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 (to get CI status), but lacks explicit guidance on when not to use it or alternatives. Among siblings, no other tool provides status checks, so differentiation is less critical, but still no usage context.

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/saidsef/mcp-github-pr-issue-analyser'

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