Skip to main content
Glama

ddflow_task_add

Add a task to a phase with dependencies and write globs. Setting write globs lets parallel agents work safely without conflicts.

Instructions

Add a task to a phase. ALWAYS set globs to the paths this task will write: they are what lets two agents work in parallel safely, and an unset glob means the conflict detector cannot protect you.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesShort stable id, e.g. 'P2.T1'.
bodyNoDetail and acceptance criteria.
tagsNoComma-separated tags.
globsNoComma-separated path globs this task writes.
needsNoComma-separated ids this task depends on.
phaseNoOwning phase id. Give this OR `parent`.
titleNoOne-line description.
parentNoOwning phase id OR another TASK's id — a task parent makes this a SUB-TASK, which carries its own globs and dependencies and runs in parallel with its siblings like any other task. Same field as `phase`; both names exist because the CLI has both, and an argument that exists in one surface and not the other is a trap.
priorityNoLower is offered first (default 100).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the burden of behavioral disclosure. It reveals that globs are critical for conflict detection and parallel safety, which is valuable. But it does not describe other behaviors such as mutation effects, validation, or return values, so transparency is partial.

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

Conciseness5/5

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

The description is two sentences, with the purpose in the first and a critical usage instruction in the second. It is front-loaded and every sentence earns its place, with no fluff.

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?

Given the tool's complexity (9 parameters, no output schema, no annotations), the description only addresses one aspect (globs) and leaves out broader context such as how tasks relate to phases, prerequisites, or typical usage patterns. It is adequate but not comprehensive for an agent to fully understand when and how to use it.

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 100%, so the baseline is 3. The description adds significant meaning to the 'globs' parameter by explaining its purpose and consequence of omission, which goes beyond the schema's simple description. Other parameters are not elaborated, but the added emphasis on globs justifies a 4.

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 clearly states the verb ('Add') and resource ('a task to a phase'), which is specific and unambiguous. However, it does not explicitly differentiate from sibling tools like ddflow_phase_add or other 'add' tools, so it lacks explicit sibling distinction.

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 provides strong guidance on setting globs for parallel safety, which is useful context for using the tool correctly. However, it does not mention when to use this tool versus alternatives or any exclusions, leaving tool selection to implication.

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