Skip to main content
Glama

ddflow_import

Import an existing project's todo checklists, lessons, ADRs, and unmerged branches as proposed queue items. Reports by default; writes nothing until apply is true.

Instructions

For a project that ALREADY HAS HISTORY and is adopting ddflow now: read its todo checklists, lessons corpus, ADR files and unmerged branches, and propose them as queue items. Reports by default and writes NOTHING until apply is true.

Call this right after ddflow_setup on any repository that is not brand new. A queue that starts empty tells you nothing is in flight about a project that may have three branches in flight.

The proposal is a GUESS about structure — headings became phases, checkboxes became tasks, and almost nothing has globs. Use the import-existing-project prompt, which walks through fixing that with the operator. Exit 2 means nothing was found.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
applyNoWrite the proposal. Default false: look first.
max_tasksNoRefuse to propose more tasks than this (default 200).
include_doneNoAlso import already-ticked items as completed. Off by default — a finished history is not a queue, and one real project yielded 3,638 of them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description carries the full burden. It discloses the non-destructive default ('writes NOTHING until `apply` is true'), the guess-based nature of the proposal, and the exit code meaning (Exit 2 = nothing found). This is thorough behavioral disclosure for a tool that reads and proposes.

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?

The description is longer than average but every sentence adds value: purpose, usage timing, rationale, guess caveat, and exit code. It is front-loaded with the core purpose and default behavior. Slightly verbose but not wasteful.

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 no output schema and no annotations, the description covers the essential context: what it does, when to use, what it doesn't do, and how to interpret failure. It does not describe the return format or the structure of the proposal, but that is minor given the other details. Overall, adequately complete for an agent to invoke it correctly.

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 100%, so the baseline is 3. The description adds context about `apply` (default false, reports only) and mentions the guess nature, but does not significantly enhance the parameter meanings beyond what the schema already provides. It does not explain `max_tasks` or `include_done` beyond schema descriptions.

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 a specific action: read existing history artifacts (todo checklists, lessons, ADRs, unmerged branches) and propose them as queue items. It also clarifies the default behavior (reports only, no writes until `apply` is true), which distinguishes it from write-oriented tools. The purpose is unambiguous and distinct from siblings like ddflow_import_verify.

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?

Explicitly states when to use: 'Call this right after `ddflow_setup` on any repository that is not brand new.' It explains why (empty queue hides in-flight work) and points to an alternative (`import-existing-project` prompt) for fixing the guessed structure. This gives clear decision guidance without ambiguity.

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