Skip to main content
Glama

create_task

Creates a Gemini task in an isolated git worktree and branch from repo HEAD, with seed acceptance tests and setup command, so Gemini can implement while Claude reviews before merge.

Instructions

Create a Gemini task in an isolated git worktree/branch (gemini/) from the repo's HEAD. seed_files {path: content} are your acceptance tests: committed first and protected from Gemini. copy_untracked (e.g. ['.env']) are copied but never committed. setup_command runs once (e.g. venv + deps).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "repo_path": "<repo_path>",
      "title": "<title>",
      "spec": "<spec>",
      "acceptance_criteria": "<acceptance_criteria>"
    },
    "name": "create_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
specYes
titleYes
repo_pathYes
seed_filesNo
context_filesNo
setup_commandNo
copy_untrackedNo
protected_pathsNo
max_outer_roundsNo
acceptance_criteriaYes
max_inner_iterationsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses isolation semantics (separate worktree/branch off HEAD), that seed files are committed first and shielded from Gemini, that copy_untracked files are copied but never committed, and that setup_command runs exactly once. The notable gap is whether create_task kicks off execution immediately or merely stages the task for run_task.

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?

Four compact lines, front-loaded with the core action and mechanism, with no filler. The '{path: content}' and 'venv + deps' shorthands trade a little clarity for density but remain decodable.

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?

An output schema exists, so return values need not be explained, but an 11-parameter, unannotated creation tool leaves the agent guessing on lifecycle (does it execute?) and on several numeric/list parameters. Adequate for the core concept, incomplete for correct invocation.

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 0% across 11 parameters, so the description must compensate, and it does for the three least self-explanatory ones (seed_files as {path: content} acceptance tests, copy_untracked with the '.env' example, setup_command running once). However context_files, protected_paths, max_outer_rounds, max_inner_iterations, and spec/title receive no explanation at all, leaving roughly half the surface ambiguous.

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 Gemini task') plus the concrete mechanism ('in an isolated git worktree/branch (gemini/<id>) from the repo's HEAD'), which is far more than a restatement of the name. The create-vs-run/finish distinction from siblings is inferable but never stated explicitly.

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?

No sentence says when to choose this over run_task, wait_task, or list_tasks, nor what preconditions must hold (clean HEAD? existing repo? permissions?). The only usage-shaped guidance is buried in parameter prose ('seed_files ... are your acceptance tests'), which describes what a field does rather than when to call the tool.

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