Skip to main content
Glama

continue_task

Start a fresh session from a previously settled task, reconstructing the original assignment and summary to resume work with preserved notes and follow-ups.

Instructions

Start a fresh session from a conclusively settled standalone task.

This differs from resume_task: it reconstructs the original assignment, latest summary and captured outcome, with optional UTF-8 notes and caller follow-up preserved verbatim. Oversized evidence is referenced by path. Backend, model and access settings are retained. Process exit, complete output drainage and a durable terminal record must be observed; old or inferred records without settlement evidence are refused. Workflow-owned tasks use workflow recovery. Concurrent identical retries share one successor; mismatched or unsettled reservations fail. A source that had resources re-queues the same names; while they are busy the successor is acknowledged with launch_state: "waiting_for_resources" (the reservation is accepted, and a retry returns the same pending successor). The returned continuation_of_task_id is separate from session resume/delegation ancestry.

Follow-ups queued on the source with send_message are consumed by this call: they appear verbatim, in queue order, ahead of extra_prompt (or ahead of a fixed closing line when there is none), and the new task's task_started event lists their message_ids. With nothing queued the call behaves exactly as without the feature. Two manual calls with the same extra_prompt and notes are the same request whatever is queued: the queue is read once, when the successor is reserved, and a retry returns that successor. An automatic continuation never consumes.

group_report_output: omitted or null inherits the saved opt-in; false disables scoped output. allowed_commands: omitted or null inherits the source task's saved command grants (an automatic continuation always does); a list replaces them after the same validation and nested-subset check as start_task. See start_task for the grammar and limits. fetch refreshes remote-tracking refs before the fresh session, the same way as start_task. Continuations reuse a branch prepared at the original dispatch and do not accept branch or base.

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": {
      "task_id": "<task_id>"
    },
    "name": "continue_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
fetchNo
task_idYes
notes_pathNo
extra_promptNo
fetch_requiredNo
allowed_commandsNo
git_https_rewriteNo
group_report_outputNo
background_idle_secondsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.14

TDQS

A4.2/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 behavioral burden and does so well: it discloses idempotency for identical retries, refusal on unsettled reservations, resource re-queue behavior with launch_state 'waiting_for_resources', queue consumption order, and branch reuse constraints. It falls short of 5 only because failure modes, auth/permission requirements, and return shape beyond continuation_of_task_id are not described.

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

Conciseness3/5

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

The critical scoping constraint and the resume_task contrast are correctly front-loaded, but the body is a dense wall of edge-case prose with sentences that pack multiple unrelated rules together. It is information-rich but not scannable; several clauses (e.g. the continuation_of_task_id note) could be tightened or moved.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given an output schema exists, the description need not explain return values, and it covers the hard parts of this complex tool: settlement evidence, idempotent retries, resource waiting states, and queue semantics. The remaining gap is undocumented parameters in a 9-param tool with zero schema descriptions.

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 9 parameters, so the description must compensate. It usefully explains group_report_output inheritance, allowed_commands replacement with validation against start_task, fetch refreshing remote refs, and extra_prompt/notes ordering — but fetch_required, git_https_rewrite, background_idle_seconds, and task_id are never mentioned, leaving roughly half the parameters undocumented anywhere.

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 opening sentence names a specific verb and resource ('Start a fresh session from a conclusively settled standalone task') and the second sentence explicitly contrasts it with resume_task, which is a listed sibling. An agent can distinguish the two without opening either schema.

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?

It states the precondition (a conclusively settled standalone task with settlement evidence), the exclusion (workflow-owned tasks use workflow recovery; old or inferred records are refused), and the alternative (resume_task). It also clarifies that an automatic continuation never consumes queued follow-ups, which is exactly the kind of when-not guidance agents need.

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