Skip to main content
Glama

git_generate_pr_description

Generate a structured markdown pull request description by summarizing branch commits and diffs. Provide a target branch to get a clear PR summary for review.

Instructions

Generates a structured markdown Pull Request description summarizing branch commits and diffs

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetBranchNoTarget merge branch (default: 'main')
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does mention the output is 'structured markdown' and that it summarizes 'commits and diffs', which gives useful context. However, it does not disclose whether the tool needs a clean working tree, whether it pushes anything, whether it writes to the repository or just outputs text, or what happens with large diffs. For a generation tool, this is a moderate gap.

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, efficient sentence that packs the verb, resource, method, and output format. No wasted words, and the key information is front-loaded. It earns its place entirely.

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 tool is relatively simple (one optional parameter, no output schema, no nested objects), the description covers the essential purpose and output format. It could benefit from clarifying whether it writes to the repo or only generates text, but for its simplicity, it is nearly complete. Missing behavioral details slightly lower the score from 5.

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% and the single parameter (targetBranch) is fully documented in the schema. The description adds no additional meaning about the parameter, such as format, constraints, or behavior when omitted. Given high coverage, baseline 3 is appropriate — the description doesn't detract but doesn't enhance either.

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 states a specific verb ('Generates'), a resource ('Pull Request description'), and the method ('summarizing branch commits and diffs'). It clearly distinguishes this from a generic 'generate' tool by specifying the exact artifact produced. It also differs from the sibling git_generate_changelog, which produces a different artifact.

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 it (when a PR description is needed) and mentions the method (summarizing branch commits and diffs), which gives some context. However, it does not explicitly say when NOT to use it or name alternatives like git_generate_changelog or git_pr_readiness_check, which an agent might confuse it with. The implied usage is clear enough but lacks explicit routing.

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/ieeecsopen/mcp-cs'

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