Skip to main content
Glama

magpie_swarm_plan

Updates Swarm dispatch goals, thread groupings, task cards, roles, and project collaboration activation so coordinators can track and manage multi-agent work.

Instructions

由总控协调者更新 Swarm 调度看板的总目标(goal)、工作线程分组(threads)、手动登记/更新任务卡(task),以及管理项目级 Magpie 协同激活态(cwd/active/mode/roles)。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "magpie_swarm_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNo可选项目工作目录路径,用于开启或关闭项目级 Magpie 协同激活态。
goalNo
modeNo协同模式:default(默认直连模式)或 heavy-swarm(重型 Swarm 协作模式)。
taskNo可选手动登记或更新单条任务卡(支持登记原生 Antigravity 成员入盘并自动联动成员与连线)。
rolesNo可选协同角色列表,记录角色名、目标模型与关联 sessionId。
activeNo是否激活该项目 Magpie 协同态(true 开启,false 关闭)。
threadsNo工作线程进度分组列表。
leader_nameNo可选本项目总控(Leader)的自定义显示名,由每个项目的总控按项目特点自行敲定,避免所有项目都叫默认名 Coordinator。
reset_boardNo可选是否一键清空面板历史成员、任务、连线与消息流水(保留项目级协同激活态 activations,等效于点面板右上角清空按钮)。
retire_membersNo可选清退并归档指定成员(传中文角色名或成员 ID 列表,传 ["*"] 清退全部非总控成员;清退后移入底部折叠区,保留看板审计记录)。
activation_noteNo可选激活备注说明。
conversation_idNo可选当前主控 Antigravity 会话 ID,用于精准实时监测主控运行状态与中文焦点(不传时服务端也会按项目 cwd 自动发现绑定)。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations exist, so the description carries the full disclosure burden. It implies mutation through '更新' and '管理' but never describes that some operations are irreversible: the schema's reset_board wipes all members, tasks, edges and message history, and retire_members archives members — neither is mentioned in the description. Nothing about permissions, the all-optional-parameter contract (what happens if no field is supplied), or side effects on the running swarm is stated.

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 verb and resource first, followed by the affected domains. It is dense but contains no filler. The heavy parenthetical parameter listing makes it read more like a schema index than guidance, but nothing is wasted.

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 large, multi-purpose tool: 12 parameters, all optional, nested objects, enums, and no output schema or annotations. The description only covers roughly half of those parameters and omits the two most consequential ones (reset_board, retire_members). For a tool of this complexity, an agent cannot safely determine the effect of a call from the description alone.

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 high (92%), so the baseline is 3. The description groups parameters into meaningful clusters (goal / threads / task / cwd+active+mode+roles), which adds some conceptual framing beyond the flat schema. It does not, however, mention leader_name, reset_board, retire_members, activation_note or conversation_id, and provides no interaction rules between them (e.g. that task.thread_id auto-attaches to a thread).

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 description uses a clear verb ('更新'/'管理') tied to a named resource (the Swarm 调度看板) and enumerates the domains it touches: goal, threads, task, and project activation state. It is specific enough that an agent can tell it is the board-mutation tool. However, it never explicitly states which sibling it is not (e.g. magpie_swarm_board for reading, magpie_swarm_state for state), so sibling differentiation is left to inference.

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?

The only usage signal is the actor constraint '由总控协调者', which implies who may call it but not when. There is no comparison to magpie_swarm_board, magpie_swarm_state or the claude_* siblings, no statement of when each parameter group should be used, and no exclusions. An agent must guess at routing.

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