Skip to main content
Glama

arcwright_dispatch

Assign a detailed implementation task to an AI agent, which edits the project and returns status, summary, changed files, and a report.

Instructions

Assign a new implementation task to an agent (Antigravity, or a local model with its id prefix). You write the spec (goal, context, exact files, steps, acceptance checks); it is saved to .bridge/tasks/ and the agent implements it in the project, then writes a report to .bridge/reports/. Returns status, Antigravity's summary, the list of changed files and the report.

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": {
      "title": "<title>",
      "spec": "<spec>"
    },
    "name": "arcwright_dispatch"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoExecution mode: accept-edits (edit files, the default), auto, or plan (read-only).
specYesFull task spec in Markdown. Be specific: goal, context, files to touch, step-by-step plan, constraints, acceptance checks.
agentNoRole name of the agent you are assigning, as a specialist would be called on a team, e.g. "Front-end engineer", "Technical writer", "Test engineer". Shown to the user on the agent in the Live Console and given to Antigravity as its role. Use distinct names when agents run in parallel.
modelNoModel id from arcwright_models, chosen for the job: an Antigravity id as is (e.g. a high-reasoning model for complex code, a fast one for docs), or a local model with its server prefix (ollama:<name>, lmstudio:<name>...) for small precise tasks. Must be one of the models the user allows, when they limited them. Required for dispatch unless the user set one in the Live Console; a follow-up reuses the task's model when omitted. The user sees it on the agent.
titleYesShort task title (becomes part of the task id).
checksNoCommands that prove the task works (tests, build, lint), run in the project folder; exit code 0 means passed. E.g. ["npm test"] or [{"name": "tests", "command": "npm test", "timeout_seconds": 300}]. When the user turned on automatic checks in the console, Arcwright runs them as soon as the agent finishes and sends failures straight back to the agent; otherwise you run them during review. Up to 8. On a follow-up, replaces the task's checks.
auto_fixNoHow many times in a row Arcwright sends failed checks back to the agent before you review (0-3, default 1).
depends_onNoIds of earlier tasks this one builds on (e.g. ["1", "002-api"]). Until they are all approved with arcwright_review, the task waits ("queued"); Arcwright then starts it on its own. Lets you dispatch a whole plan at once, in order.
project_dirNoAbsolute path of the project folder the agents work in. Defaults to the current working directory.
ignore_limitNoUse a model even though it reached its usage limit earlier. Only when the user says its limit has reset.
model_reasonNoOne short sentence on why this model fits this task (e.g. "Small, precise change in one file: the local 9B model is enough"). Shown to the user on the agent.
wait_secondsNoHow long this call blocks waiting for the result (0-1800, default 300). If it is still running afterwards, call arcwright_wait.
timeout_minutesNoHard time limit for the run (1-240 minutes, default 30).
skip_permissionsNoLet the agent run terminal commands without asking (Antigravity agents: every tool request is approved). Only when the user allowed it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.5.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does meaningful work: it discloses that the spec is persisted to .bridge/tasks/, that the agent mutates the project, and that a report is written to .bridge/reports/. It omits permission/approval behavior (only the skip_permissions param hints at it) and what happens when the run fails or times out.

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?

Three sentences, front-loaded with the action, then the workflow, then the return payload — no filler. The parenthetical about local model id prefixes is slightly compressed but still earns its place.

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 14-parameter dispatch tool with no output schema, the description covers the full lifecycle (write spec → agent implements → report) and names the return fields, which is what an agent most needs. Remaining gaps — approval gating and failure handling — are large but partly implied by the schema's depends_on/review and auto_fix 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 coverage is 100% and the property descriptions already explain mode, depends_on, wait_seconds, auto_fix and the rest in detail. The description adds only workflow framing, not parameter-level meaning, so the baseline 3 applies.

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: "Assign a new implementation task to an agent," with concrete runtime context (.bridge/tasks/, project folder, report output). The word "new" implicitly separates it from arcwright_followup, but no sibling is named explicitly, so differentiation 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?

Gives procedural guidance on how to compose a dispatch ("You write the spec (goal, context, exact files, steps, acceptance checks)"), which is useful setup advice. It never says when to dispatch versus follow up on an existing task via arcwright_followup, nor when to prefer plan mode over auto mode — those conditions sit only in the schema property descriptions.

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