Skip to main content
Glama

run

Launches a worker agent (Codex or OpenCode) to execute a self-contained coding task, returning a job_id and optionally waiting for its report.

Instructions

Lanza un agente obrero (Codex u OpenCode según el worker; sin aprobaciones, con internet). Devuelve job_id; con wait=true espera el reporte (hasta timeout_s).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNoDirectorio del proyecto (defecto: cwd del servidor)
kindNoTipo de tarea (code, docs, refactor, tests...) para que el router prefiera workers con esa fortaleza
taskYesBrief claro y autocontenido: objetivo, archivos, criterio de aceptación. El agente no ve esta conversación.
waitNo
workerNoAlias de worker de colmena.yml (ver tool workers). Si se omite, el router elige: defaults.worker o el siguiente con presupuesto
isolationNoworktree (defecto en repos git: rama colmena/<id> aislada) | inplace (edita el directorio) | readonly (solo lectura)
timeout_sNo
handoff_fromNojob_ids cuyos resúmenes se inyectan como contexto
context_filesNoRutas que el agente debe leer primero

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.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, and it does disclose key traits: the agent runs without approvals and with internet access, returns a job_id, and can block up to timeout_s. It omits the side-effect profile (file edits), permission/auth requirements, and concurrency or budget behavior, so substantial gaps remain for a spawning 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 dense sentences, front-loaded with the core action and followed by the return/wait contract. Every clause carries information; nothing is padded, though the parenthetical 'sin aprobaciones, con internet' could be slightly tighter.

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?

For a 9-param async job-spawning tool with no output schema, no annotations, and 16 siblings, the definition covers the basics (what it launches, job_id, blocking) but leaves routing decisions and the output contract unaddressed, so an agent could easily pick the wrong sibling or misuse wait/timeout combinations.

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 78%, just under the high-coverage baseline, and the description usefully compensates for the two undocumented params: wait (blocks for the report) and timeout_s (upper bound on the wait). It also clarifies the worker dependency (Codex vs OpenCode) that governs the worker param.

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 states a concrete verb and resource: it launches a worker agent (Codex/OpenCode depending on the worker), so the agent knows this spawns an autonomous job rather than running inline. It is clear despite the generic name 'run', but it never names how it differs from close siblings like run_many, continue, or handoff.

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?

There is no explicit when-to-use guidance and no alternatives named. The only implied usage cue is 'con wait=true espera el reporte', which tells the agent how to block, not when this tool should be preferred over run_many or continue.

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