Skip to main content
Glama

submit_task

Delegate tasks or manage heavy workflows through bounded local AI workers: create steps, checkpoint results, and retrieve compact outputs with artifact paths.

Instructions

Delegate a task or manage a heavy workflow: create_workflow, run_step, checkpoint. See the DeltaRoute heavy-workflows reference. Heavy profiles allow bounded 30-minute attempts. Workflow code requires scoped paths and reviewed dependencies. Optional wait_seconds (up to 45) collects short jobs in one call. Default read-only; code jobs use isolated clean Git worktrees. Returns compact status/result and full artifact path, never echoes the prompt. Automatic bounded provider fallback; no paid API fallback.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNoAbsolute project directory
modeNo
taskNo
actionNo
detailNo
contextNo
profileNo
step_idNo
categoryNo
fallbackNoDefault true: automatically try eligible subscription providers, then hand back to the current coordinator. False retries only the preferred provider.
providerNo
workflowNoPersistent contract: objective, constraints[], non_goals[], steps[{id,task,category,mode,depends_on[],allowed_paths[],acceptance[],inputs[],profile,media_options}], max_jobs, max_runs_per_step
checkpointNoCoordinator review: accepted boolean, note, checks[{criterion,passed,evidence}], integrated_head for accepted code
limit_errorNoObserved native hard quota event; never guessed
workflow_idNo
wait_secondsNo
media_optionsNo
research_scopeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

B3.3/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 so well: default read-only, isolated clean Git worktrees for code jobs, bounded 30-minute attempts for heavy profiles, automatic bounded provider fallback with no paid API fallback, and it explicitly says the prompt is never echoed. Missing only permission/auth and mutation side-effects for create_workflow.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, but the body is a dense semicolon-joined run-on mixing purpose, safety, fallback, and return behavior. It is terse yet unstructured, and the external doc reference ('See the DeltaRoute heavy-workflows reference') adds noise.

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 an 18-param tool with nested objects, an anyOf of three call shapes, and no output schema, the description is only partially complete. It helpfully states the return shape ('compact status/result and full artifact path'), but does not explain the anyOf call patterns, the limit_error reporting flow, or permissions.

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

Parameters2/5

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

Schema description coverage is only 28% across 18 params, so the description must compensate but largely does not. It mostly repeats enum values already in the schema (action names, mode) and the wait_seconds bound, adding only 'default read-only' for mode; key params like category, provider, detail, context, research_scope, and media_options get no elaboration.

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 specific verbs and resources ('Delegate a task or manage a heavy workflow') and enumerates the workflow actions (create_workflow, run_step, checkpoint). It is clearly distinguishable from siblings like get_task and cancel_task, though it never names them explicitly to route the agent.

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 implies usage contexts (heavy workflows, short jobs via wait_seconds, code jobs) and points to a 'DeltaRoute heavy-workflows reference,' but gives no explicit when-to-use vs when-not guidance relative to recommend_route or get_task. Usage must be inferred.

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