Skip to main content
Glama

jules_sync_prs

Extract patches from completed coding sessions, verify them locally with specified tests, and open GitHub pull requests.

Instructions

Run local autopilot: extract patches, verify locally with tests, and open GitHub PRs via 'gh'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_pathNoOptional local repo path to test and apply against (e.g. '/root/projects/agent-brain').
session_idNoOptional specific session ID to process. If omitted, scans all completed sessions.
test_commandNoOptional verification command (e.g. 'npm test' or 'pytest').

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.5.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden of disclosure. It does meaningfully reveal that the tool runs tests locally and opens real GitHub PRs through the external 'gh' CLI, which are important side effects. However, it does not disclose authentication prerequisites, whether patches are applied to the local repo, or what happens on test failure.

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, compact sentence with a colon-led sequence that is easy to parse. Every phrase adds value: 'local', 'verify with tests', 'open GitHub PRs', and 'via gh' are all useful specifics. The high-level intent is front-loaded before the sub-steps.

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 multi-step automation that can create real GitHub PRs, the description is too thin on scope and outcomes. It does not state where patches come from, whether existing PRs are updated or new ones created, or what is returned when sessions fail. There is no output schema, so the description needed to carry more of that context and did not.

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 the parameters are already documented and the baseline is 3. The description weakly reinforces repo_path and test_command through 'local' and 'verify with tests', but it adds no new parameter-level meaning beyond the schema. This is acceptable given the schema already covers all three parameters.

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 names a concrete workflow: extract patches, verify with tests, and open GitHub PRs via 'gh'. This goes well beyond the tool name and distinguishes it from read-only or single-step siblings like jules_verify_patch or jules_get_patch. It does not explicitly contrast with the alternative PR tools, but the high-level intent is clear.

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 guidance on when to choose this tool over alternatives like jules_verify_patch, jules_apply_patch, or jules_merge_pr. The phrase 'Run local autopilot' weakly implies an automated batch workflow, but no when-to-use or when-not-to-use context is provided. The schema hints at optional session selection, but that is parameter behavior, not usage guidance.

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

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/yasserbousrih/jules-mcp'

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