Skip to main content
Glama

aiworkhub_agent_launch_task

DUAL-GATED: launch one exact local Claude/Codex worker process.

Instructions

DUAL-GATED: launch one exact local Claude/Codex worker process.

Requires both AIWORKHUB_ALLOW_LAUNCH=1 and AIWORKHUB_ALLOW_WRITES=1. The task card, runner, topic, pending state, allowed-write scope, collision guard, adapter, and process limit are all validated before a shell-free child process can start. timeout_seconds is retained only as non-enforcing compatibility metadata; this API never installs a provider wall-clock deadline.

runner, topic and adapter_id are optional because the server already owns them: the card carries runner and topic (the launcher refused any value that differed, so typing them asserted rather than decided), and the adapter is a pure function of the runner narrowed to the first pinnable, policy-allowed entry in canonical tuple order. Omit them and the reply's launch_identity_derivation records exactly what was derived; pass them and the explicit value wins and is validated as before. The manager identity codex is never a worker runner.

Input Schema

NameRequiredDescriptionDefault
modelNo
topicNo
runnerNo
task_idYes
adapter_idNo
owner_promptNo
timeout_secondsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the load well: it discloses the dual env gates, that it starts a shell-free child process, the full validation chain (task card, runner, topic, pending state, write scope, collision guard, adapter, process limit), and that timeout_seconds does not enforce a wall-clock deadline. It omits what happens on failure and the irreversibility of launching a live process.

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?

Front-loads the dual-gate constraint and the core action in the first sentence, then handles optional-parameter semantics in a compact block. A few parentheticals (e.g. the 'launcher refused any value that differed' aside) are denser than necessary but still informative.

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?

It references launch_identity_derivation in the reply, and an output schema exists so return values needn't be spelled out. But for a process-launching side-effecting tool with no annotations, gaps around model/owner_prompt meaning and failure behavior leave the picture incomplete.

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 7 parameters, yet the description explains the non-obvious ones (runner, topic, adapter_id optionality and derivation precedence, timeout_seconds being non-enforcing). It says nothing about model, owner_prompt, or task_id, so a third of the parameters remain undocumented anywhere.

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: 'launch one exact local Claude/Codex worker process' for a single task. That is clearly distinguishable from the read-only launch-queue siblings and from task-creation tools. It does not name alternatives explicitly, keeping it just short of a 5.

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?

It gives prerequisites (both AIWORKHUB_ALLOW_LAUNCH=1 and AIWORKHUB_ALLOW_WRITES=1) and explains when to omit vs pass runner/topic/adapter_id. However, there is no guidance on when to choose this tool over siblings like aiworkhub_task_queue_request or aiworkhub_launch_queue_evaluate_readonly, so usage is only implied.

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

Deploy Server

Other Tools