Skip to main content
Glama

spawn

Launch parallel child sessions to delegate tasks with a role, read-only memory by default, and queued write proposals for foreground review.

Instructions

Launch a new child session in parallel.

This is the public MCP surface. role selects a cognitive stance and write_origin labels ordinary child provenance; neither grants elevated permissions. Privileged Evolve children use private server-owned launchers. Children default to memory_access="read_only"; propose queues memory writes for foreground review. Public callers cannot select write. Watchdog continuation retries use _spawn_impl so retry lineage/config fields do not leak into the normal tool contract.

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": {
      "prompt": "<prompt>"
    },
    "name": "spawn"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNo
roleNo
slimNo
modelNo
effortNo
promptYes
visibleNo
write_originNo
append_systemNo
memory_accessNoread_only
capture_outputNo
permission_modeNoauto
base_allowed_toolsNo
extra_allowed_toolsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.22.0
    • addedInput schema / properties / memory_access
      Added value: +{
      +  "default": "read_only",
      +  "title": "Memory Access",
      +  "type": "string"
      +}
  2. Changed1 schema field changedv0.19.1
    • addedInput schema / properties / base_allowed_tools
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Base Allowed Tools"
      +}
  3. First observedv0.13.2

TDQS

A3.5/5.0
Behavior4/5

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

With annotations declaring non-read-only, non-idempotent, and non-destructive behavior, the description adds meaningful context about permissions, provenance, memory-write queuing, and public versus private launchers. It does not describe cost, timeout, or concurrency limits, but it covers the key authorization and side-effect boundaries.

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?

The core purpose is front-loaded, and the additional sentences are mostly relevant constraints and permission details. The internal _spawn_impl note is somewhat implementation-specific but still clarifies contract boundaries. The description is reasonably sized for a complex spawn tool.

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?

This is a 14-parameter spawning tool with no schema descriptions and no enums, so the description needs more parameter coverage than it provides. It handles permission and memory-write behavior well, but many operational parameters are left unexplained. The output schema reduces the need to describe return values, but the input-side gaps remain significant.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and there are 14 parameters, so the description must carry parameter meaning. It only explains role, write_origin, memory_access, and the propose/write distinction; most parameters, including model, effort, cwd, slim, visible, permission_mode, and allowed-tools fields, remain undocumented.

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 first sentence states a specific verb and resource: launch a new child session in parallel. It also distinguishes this public MCP surface from privileged Evolve private launchers. It does not explicitly differentiate from nearby siblings such as spawn_status or spawn_budget_status, which keeps it from 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear usage context: public callers use this surface, privileged Evolve children use private launchers, public callers cannot select write, and watchdog retries use _spawn_impl. It also explains memory_access defaults and propose behavior. It stops short of routing the agent among sibling tools like spawn_status or spawn_budget_status.

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

Deploy Server

Other Tools