Skip to main content
Glama

create_pr_complete

Creates a professional pull request with an intelligent title, description, and code review. Automatically assigns reviewers and includes a smart GIF.

Instructions

🚀 UNIFIED PR CREATION WORKFLOW - WHEN USER SAYS 'Create a PR', YOU MUST FOLLOW THESE STEPS IN ORDER: (1) Call 'generate_pr_title' → get prompt, (2) YOU analyze and generate intelligent title, (3) Call 'generate_pr_description' → get prompt, (4) YOU analyze and generate intelligent description, (5) Call 'review' → get context/diff prompt, (6) YOU analyze and write code review, (7) Call THIS tool with 'title', 'description', and 'aiReviewText' parameters. IMPORTANT: ALL 3 parameters (title, description, aiReviewText) should be YOUR generated content, NOT the tool outputs (which are prompts). If any are omitted, simple fallbacks are auto-generated. This creates a professional PR with: YOUR intelligent title, YOUR comprehensive description, YOUR AI code review, smart GIF, automatic reviewer assignment. Works for ANY language/framework. Requires GITHUB_TOKEN.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
draftNoCreate the PR as a draft
titleNoRECOMMENDED: YOUR (Claude's) generated PR title. Workflow: (1) Call 'generate_pr_title' to get analysis prompt, (2) YOU analyze and create intelligent title, (3) Pass YOUR title here. DO NOT pass the tool's output directly - it's a prompt for YOU, not the final title. If not provided, a simple title is auto-generated from commit messages.
languageNoDescription languagefr
templateNoTemplate to use for the descriptionstandard
baseBranchNoBase branch for comparison (auto-detected if not provided)
descriptionNoRECOMMENDED: YOUR (Claude's) generated PR description. Workflow: (1) Call 'generate_pr_description' to get analysis prompt, (2) YOU analyze and write intelligent description, (3) Pass YOUR description here. DO NOT pass the tool's output directly - it's a prompt for YOU, not the final description. If not provided, a simple template-based description is auto-generated.
githubTokenNoGitHub token for authentication (optional, defaults to GITHUB_TOKEN env var)
addReviewersNoAutomatically suggest and add reviewers based on Git history
aiReviewTextNoREQUIRED for complete PR with review: YOUR (Claude's) generated code review text. Workflow: (1) Call 'review' tool to get analysis prompt with context/diff, (2) YOU analyze and write the review following the format in that prompt, (3) Pass YOUR review text here. DO NOT pass the review tool's output directly - it's a prompt for YOU to analyze, not the final review.
includeStatsNoInclude statistics in the description
maxReviewersNoMaximum number of reviewers to add (1-20)
maxTitleLengthNoMaximum length for the title (optional, e.g., 72)
Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses that the tool requires GITHUB_TOKEN, auto-generates fallbacks for omitted parameters, and expects AI-generated content for title/description/review. It also mentions it creates a smart GIF and assigns reviewers. However, it does not describe potential side effects or permission requirements beyond the token, and could be more explicit about mutation behavior.

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 verbose, using emojis, bold, all caps, and step-by-step instructions that blend workflow guidance with tool documentation. While detailed, it is not concise and may overwhelm agents with unnecessary formatting and redundant explanations. A more streamlined description would serve better.

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?

Given the complexity (12 parameters, no output schema, multiple siblings), the description covers the workflow and parameter usage well. However, it lacks information about the return value or success/failure behavior. The mention of 'creates professional PR' gives some output context, but more detail on what the agent can expect from the call would improve completeness.

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?

With 100% schema coverage, baseline is 3. The description adds significant value by explaining the workflow for key parameters (title, description, aiReviewText) and emphasizing that they should be AI-generated content, not direct tool outputs. It also clarifies defaults and fallbacks for other parameters (draft, language, template, etc.), improving understanding beyond the schema alone.

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 clearly states the tool creates a 'UNIFIED PR CREATION WORKFLOW' and generates a professional PR with title, description, AI review, etc. It distinguishes itself from sibling tools by positioning as the final step after calling generate_pr_title, generate_pr_description, and review. However, the description is dense and mixes workflow instructions with tool purpose, slightly reducing clarity.

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

Usage Guidelines5/5

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

The description explicitly outlines a step-by-step workflow: (1) call generate_pr_title, (2) YOU analyze, (3) call generate_pr_description, (4) YOU analyze, (5) call review, (6) YOU analyze, (7) call this tool. It also explains when to use fallbacks if parameters are omitted. This provides clear context and distinguishes from alternative sibling tools like generate_pr_title, etc.

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/valentin-harrang/pr-mcp-server'

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