Skip to main content
Glama

Create Pull Request

create_pr

Create a pull request with generated tests or fixes

Input Schema

NameRequiredDescriptionDefault
titleYesPull request title
contextNoExplain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization."
repo_idYesRepository ID
test_filesNoTest files to include in PR
branch_nameNoBranch name for the PRfeature/auto-generated-tests
descriptionYesPull request description

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true, so the write and external-visibility profile is known. Beyond that the description adds nothing: no statement that a branch will be created or pushed, no mention of required permissions or repo state, no side-effect disclosure for an open-world mutation.

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

Conciseness4/5

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

A single front-loaded sentence with no filler. It is efficient, though the brevity is partly a consequence of under-specification rather than disciplined concision.

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?

For a six-parameter, open-world mutation with no output schema, an agent needs to know what is returned (PR URL or id) and whether prerequisites like generated tests or an existing branch matter. None of that is present, leaving the definition thin for the tool's complexity.

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%, so every parameter including context, branch_name, and test_files is already documented in the schema; baseline 3 applies. The phrase 'generated tests or fixes' loosely corresponds to test_files and the default branch name, but the description supplies no additional semantics such as accepted file shapes or branch naming rules.

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?

States a specific verb and resource (create a pull request) plus scope ('with generated tests or fixes'), which is enough to distinguish it from sibling write tools like accept_pending_tests or create_test_case that handle artifacts rather than PRs. It stops short of an explicit contrast with any alternative, keeping it below a 5.

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?

There is no statement of when to call this rather than something else, no precondition such as tests having been generated or a branch existing, and no guidance on what happens after the PR is created. The agent must infer the entire workflow context.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources