Skip to main content
Glama

team_spawn

Spawn an autonomous teammate in a team with a persistent conversation, automatic wake on messages, and idle notification when work is complete.

Instructions

Spawn a real autonomous AGY teammate (e.g. 'backend', 'frontend', 'reviewer') in a team. Runs via self-terminating detached worker with persistent conversation_id, automatically wakes on team_send, auto-bridges replies if needed, and sends idle_notification when done.

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": {
      "team": "<team>",
      "name": "<name>",
      "role": "<role>",
      "prompt": "<prompt>"
    },
    "name": "team_spawn"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNo
nameYesShort peer handle, e.g. 'backend', 'frontend', 'reviewer'.
roleYesSpecialist role label.
teamYes
modelNo
effortNolow
promptYesInitial assignment / kickoff instructions for this teammate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds real behavioral value beyond that: self-terminating detached worker, persistent conversation_id, automatic wake on team_send, reply auto-bridging, and an idle_notification on completion. It stops short of failure modes, name-collision behavior, or resource/authorization constraints, which keeps it from a 5.

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?

A single front-loaded sentence with the core action first and the runtime lifecycle trailing behind it; no filler. Density of internal jargon (AGY, auto-bridges, idle_notification) slightly taxes a first read but every clause carries information.

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?

For a 7-parameter, 4-required spawn tool with no output schema, the lifecycle story is present but key gaps remain: prerequisites, what identifier or result comes back for the spawned teammate, and the semantics of half the parameters. An agent would still need to guess at several call-time decisions.

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 only 43% across 7 parameters, so the description should compensate, and it does not. It says nothing about cwd, model, effort, or the meaning of team, and its role/handle examples merely restate what the name and role schema descriptions already provide.

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: 'Spawn a real autonomous AGY teammate ... in a team', with concrete examples of the resulting peer handles ('backend', 'frontend', 'reviewer'). An agent can tell this creates a new agent rather than messaging one, but the description never contrasts it with sibling team_create or team_join, so the boundary is inferred rather than stated.

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?

Usage is only implied: 'in a team' suggests a team must already exist, and the mention of team_send and idle_notification hints at the post-spawn lifecycle. There is no explicit when-to-use / when-not guidance, no statement of prerequisites (does the team need team_create first?), and no guidance on how this differs from team_join.

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