Skip to main content
Glama

ddflow_split

Split a work item into sub-tasks in place when it turns out to be multiple tasks, preserving the original's id and history as an umbrella that completes when its children finish.

Instructions

Split an item into sub-tasks IN PLACE when the work turns out to be two things. Use this the moment you discover it — mid-task discovery is the normal case, not an exception.

The original keeps its id and history and becomes an umbrella that completes when its children do; closing it and opening two new ones instead would lose the thread between what was planned and what happened. Children inherit the parent's globs, so give each its own afterwards if they write different files — until then they cannot run in parallel.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe item to split.
intoYesComma-separated 'sub-id=title' pairs. At least two.
globsNoGlobs for the children (default: inherit).
needsNoDependencies for the FIRST child. The others chain from it if you set theirs with ddflow_update.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description carries full responsibility for behavioral disclosure. It explains the key behavioral traits: the original keeps its id and history and becomes an umbrella, children inherit globs, and the parallelism constraint (cannot run in parallel until they get their own globs). This is rich, actionable behavior beyond the schema.

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 compact and well-structured. It front-loads the primary action and purpose, then adds behavioral nuance and parameter context. Every sentence adds value; there is no redundancy or filler. The two-paragraph structure is easy to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 4 parameters, no output schema, and no annotations, the description covers the essential context: when to use it, what happens to the original and children, and how parameters affect behavior. It does not explicitly state return values or error handling, but those are less critical for a mutation tool and are not required given the lack of an output schema. It is sufficiently complete for an agent to call it correctly.

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 meaning by explaining how 'globs' are inherited and how to give each child its own, and it notes that 'needs' sets dependencies for the first child while others chain from it via ddflow_update. This provides context that the bare schema lacks, raising the score to 4.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb (split) and resource (item into sub-tasks), and explicitly says 'IN PLACE' to indicate the core behavior. It also distinguishes itself from the alternative of closing and reopening items, so an agent knows exactly what this tool does and what it doesn't.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit guidance: 'Use this the moment you discover it — mid-task discovery is the normal case, not an exception.' It also contrasts with the alternative (closing and opening two new ones) and explains why that would lose the thread, making the when-to-use and when-not-to-use crystal clear.

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