Skip to main content
Glama

analyze_pull_request

Analyze a GitHub pull request by providing owner, repo, and pull number to receive a deterministic evaluation of its changes, status, and potential issues.

Instructions

Perform a deterministic analysis on a GitHub Pull Request.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoYes
ownerYes
pull_numberYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations, the description carries full burden. It states the analysis is 'deterministic,' hinting at reproducibility, but does not disclose whether it is read-only, whether it requires authentication, what side effects occur, or what the return structure is. Minimal behavioral disclosure.

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

Conciseness2/5

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

The description is a single sentence, which is brief, but it is under-specified rather than concise. The sentence does not convey enough information to be useful, so it fails to earn its place.

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

Completeness2/5

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

Although an output schema exists, the description does not clarify the nature of the analysis or how it integrates with related tools. Given the sibling set, more context is needed to know when to invoke this tool over alternatives. The minimal description is incomplete for the tool's purpose.

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 coverage is 0%, and the description provides no parameter explanations. The parameter names (owner, repo, pull_number) are self-explanatory, but the description adds no value beyond the schema. It fails to compensate for the lack of schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description specifies the verb 'analyze' and the resource 'GitHub Pull Request,' but 'deterministic analysis' is vague and does not explain what aspects of the PR are analyzed. It fails to distinguish from sibling tools like analyze_issue or get_pull_request.

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

Usage Guidelines2/5

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

No guidance is given for when to use this tool or how it differs from alternatives such as get_pull_request or analyze_issue. The absence of any 'use this when' or exclusion statement leaves the agent to guess.

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/ZenitsuAckerman/GitHub-Mcp'

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