Skip to main content
Glama

droid_send

Delegate complete coding goals and acceptance criteria to a local Factory Droid agent, continue work by session, queue follow-ups, and supervise long-running tasks with independent checks.

Instructions

把完整目标、任务说明文件路径、允许范围和验收交给本机 Factory Droid。新任务用 cwd/workspace_id,续聊用 session_id;忙碌时 followup 排队,steer 在当前工具循环后投递。长期任务设 supervision:true,能独立执行的验收放入 checks。派发后用 droid_wait 等事件,Codex 处理授权、实际阻塞及最终验收。

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": {
      "message": "<message>"
    },
    "name": "droid_send"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNo绝对工作目录。
modeNo
modelNo仅用户明确指定时填写实际模型 ID。
titleNo会话标题。
checksNo
detailNodecision=决定所需的信息;summary=进度和近期事件;full=完整状态。
messageYes完整任务说明。
autonomyNo仅按用户授权设置;省略沿用 Droid 权限。
terminalNo可选,打开同一任务的只读监视终端;不启动第二个执行器。
timeout_sNo总运行时限,秒;默认 21600。
session_idNo续聊会话 ID。
supervisionNo长期任务设 true,启用本地巡检、有界续做、独立验收失败修复及主控审查。
workspace_idNo已登记工作目录 ID。
allow_shared_cwdNo用户明确需要时允许并发会话修改重叠目录;证据可能混入。
reasoning_effortNo仅用户明确要求时填写。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A4.5/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 well: it discloses the busy-state semantics of followup vs steer, that supervision enables local polling, bounded continuation, auto-repair after failed checks and main-control review, that terminal only opens a read-only monitor rather than a second executor, and that allow_shared_cwd can mix evidence. Gaps remain on failure/mutation consequences and on what a dispatch returns, but the behavioral picture is substantially richer than the structured fields alone.

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?

Sentences are front-loaded: purpose first, then dispatch-mode rules, then supervision guidance, then the mandated next step. It is dense but each clause maps to a distinct decision the caller must make; only the supervision sentence's detail on repairs/review borders on more than the dispatch tool itself needs.

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?

For a 15-parameter dispatch tool with no output schema, the description covers the workflow end to end — how to start versus continue, how queuing behaves, when to enable supervision and checks, and that droid_wait carries events back to the controlling agent. Minor gaps are the detail parameter and what a successful dispatch returns, both partly covered by the schema.

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

Parameters4/5

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

Schema coverage is already 87%, so the baseline is 3; the description adds real meaning on top by explaining the otherwise undocumented mode enum (followup queues, steer delivers after the current tool loop) and by tying cwd/workspace_id to new tasks versus session_id to continuations. It also reinforces that supervision is for long-running work and that checks should be independently executable acceptance commands.

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 description states a specific verb and resource — hand a complete goal, task-spec path, allowed scope and acceptance over to the local Factory Droid — and immediately splits the two invocation shapes (new task via cwd/workspace_id, continuation via session_id). It also names the sibling droid_wait as the follow-up step, so an agent can place this tool relative to droid_wait without opening any 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?

Explicit routing rules are given: new tasks use cwd/workspace_id, continuing conversations use session_id, followup queues while a session is busy whereas steer is delivered after the current tool loop. It further says when to set supervision:true and when acceptance belongs in checks, and tells the caller to use droid_wait afterwards for events and for authorization/blocking/final acceptance.

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