Skip to main content
Glama

jules_delegate_task

Delegate coding, refactoring, bug-fixing, or documentation tasks to Google Jules, which runs tests, applies changes, and opens a pull request automatically.

Instructions

Delegate an autonomous coding, refactoring, bug-fixing, or documentation task to Google Jules. Jules will spin up a Google Cloud VM sandbox, clone the repo, plan changes, run test commands, apply modifications, and open a Pull Request automatically. Includes prompt boosting & verification contracts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesTask description, problem statement, or engineering requirement.
account_idNoOptional account override ('thedoctormes' or 'thenovanodes'). Auto-detected from source_name if omitted.
source_nameYesRepository identifier (e.g. 'sources/github/TheNovaNodes/zakupki-parser-export' or 'thedoctormes-hue/gxlab').
target_filesNoOptional list of primary file paths that Jules should focus on.
test_commandNoOptional explicit test command for Jules to run (e.g. 'pytest tests/ -v' or 'npm test').
auto_create_prNoWhether Jules should automatically push commits and open a GitHub PR upon completion.
starting_branchNoBase branch to clone and build upon (default: 'main').main
require_plan_approvalNoIf true, Jules will pause after generating the plan and await your approval before making changes.
Behavior4/5

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

With no annotations, the description carries the transparency burden. It discloses the entire execution pipeline: spin up a VM, clone repo, plan changes, run tests, apply modifications, open PR. It also mentions 'prompt boosting & verification contracts.' However, it omits async behavior, return format, and potential failure modes, which would be valuable for an agent.

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, front-loaded with purpose and followed by a compact workflow summary. Every clause adds information, with no fluff. The inclusion of 'prompt boosting & verification contracts' is brief but adds context.

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?

The description covers the main process but lacks critical operational context: it does not say what the tool returns, whether it is asynchronous, or how to track progress via sibling tools like jules_list_sessions. With no output schema and 8 parameters, this is a notable gap for a complex delegation tool.

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 coverage is 100% with clear parameter descriptions. The tool description provides a high-level workflow but does not add parameter-level details beyond the schema. For example, it mentions 'run test commands' but the schema already describes test_command in detail. Baseline 3 is appropriate.

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 clearly states the tool's purpose: 'Delegate an autonomous coding, refactoring, bug-fixing, or documentation task to Google Jules.' It also details the full workflow (VM sandbox, clone, plan, test, modify, PR), distinguishing it from sibling tools like list_sources or approve_plan, which are clearly auxiliary.

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 usage context by describing what the tool does, but it does not explicitly state when to use it over siblings or mention prerequisites like using jules_list_sources to validate source_name. It provides no guidance on handling plan approval or monitoring the delegated task.

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

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