Skip to main content
Glama

start_agent_job

Launch a validated background agent job to delegate coding work, then poll or cancel it.

Instructions

Start a validated background task; poll check_agent_job or cancel_agent_job. Modes: codex read-only/workspace-write; claude read/edit/auto/manual/dontAsk; antigravity plan/accept-edits; local fast/workspace/workspace-write.

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

Input Schema

NameRequiredDescriptionDefault
cwdNo
modeNo
teamNo
agentYes
modelNo
effortNo
promptYes
sandboxNoread-only
prompt_fileNo
timeout_secondsNo
resume_session_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden: it does disclose that execution is asynchronous/background and that a job must be polled or cancelled, plus a mode vocabulary per agent. It never says what is returned (presumably a job identifier needed for the very polling it recommends), what 'validated' checks occur, what happens on timeout or failure, or whether jobs consume shared budget — significant gaps for a mutation/spawn tool.

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?

Two tight statements with zero waste: the lifecycle sentence comes first, then the mode vocabulary. The semicolon-separated mode list is dense but scannable, earning its space given 0% schema coverage.

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?

For an 11-parameter spawn-and-run tool with no annotations and no output schema, the description documents only mode values and the follow-up lifecycle. It omits what prompt/prompt_file do relative to each other, what sandbox, effort, model, timeout_seconds, resume_session_id, and team control, and what the call returns.

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 0% across 11 parameters, so the description bears heavy responsibility, and it only addresses 'mode' — though that addition is genuinely valuable because valid mode values are agent-dependent (codex read-only/workspace-write; claude read/edit/auto/manual/dontAsk; antigravity plan/accept-edits; local fast/workspace/workspace-write), a cross-parameter constraint no schema conveys. Ten parameters (cwd, model, effort, team, sandbox, prompt_file, timeout_seconds, resume_session_id, prompt, agent) go entirely undefined, and it is unclear whether mode is required or inferred from agent.

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 ('Start a validated background task') and immediately casts it as the head of an async lifecycle (start -> poll -> cancel). It stops short of differentiating from sibling start-like tools such as delegate_codex, delegate_claude, delegate_antigravity, or run_parallel_agents, so an agent cannot fully tell which entry point to prefer.

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?

The description gives useful post-invocation guidance by naming check_agent_job for polling and cancel_agent_job for cancellation, which is real when/when-next guidance. It gives no when-to-use-vs-alternative guidance against the delegate_* or run_parallel_agents siblings, and the per-agent mode list hints at selection criteria without stating whether a mode is required or defaulted.

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