Skip to main content
Glama
saidsef

GitHub PR Issue Analyser

by saidsef

update_pr

Idempotent

Update an existing GitHub pull request by changing only the fields you supply—title, body, base branch, or state—while preserving the others. Avoid resubmitting unchanged details.

Instructions

Updates an existing pull request. Only the fields supplied are sent, the rest keep their current values, so a title can change without restating the body.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
baseNoBranch to retarget the pull request onto
bodyNoReplacement body in Markdown. Omit to leave the current body alone
stateNoOmit to leave the state alone
titleNoReplacement title. Omit to leave the current title alone
pr_numberYes
repo_nameYes
repo_ownerYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateYes
titleYes
authorYes
created_atYes
updated_atYes
descriptionYes
Install Server

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already indicate this is a mutating, non-destructive, idempotent operation. The description adds valuable behavioral context by disclosing the PATCH-like semantics: only supplied fields change, and omitted fields keep their current values. It does not detail side effects such as closing a PR via the state field, but that information is present in the schema.

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 sentences with no filler. It front-loads the core action and then immediately gives the most important behavioral nuance, followed by a concrete example. Every sentence earns its place.

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

Completeness4/5

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

Given the output schema exists and the annotations cover safety and idempotency, the description is mostly complete for effective invocation. It lacks guidance on sibling specializations, which could matter in this large toolset, but the essential call semantics are clear.

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

Parameters4/5

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

The schema already provides useful descriptions for base, body, state, and title. The description adds the critical partial-update interpretation, clarifying that parameters are optional and that omitting them is not a reset. This meaningfully compensates for the partial schema description coverage and helps an agent call the tool correctly.

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

Purpose4/5

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

The description states a specific verb and resource: 'Updates an existing pull request.' It is clear and unambiguous. However, it does not distinguish this general tool from sibling update tools like update_pr_branch, update_pr_description, or update_assignees.

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 the tool is appropriate for partial updates by explaining that only supplied fields are sent and other fields retain their values. It does not explicitly state when to prefer this tool over specialized siblings, nor does it give exclusions like 'use update_pr_branch for base retargeting.'

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

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