Skip to main content
Glama

ddflow_similar

Find existing bugs, tasks, lessons, and decisions similar to your text before filing; read-only, it catches duplicates and already-fixed items across open and closed records.

Instructions

'IS THIS ALREADY FILED?' -- the existing records most like a text, BEFORE you file it as a bug, task, lesson or other record. Read-only. Candidates cross kinds (a bug sees the open task that fixes it, a task the bug it would fix) and include closed ones, so a bug that repeats a fixed one is caught. Each carries id, kind, title, state (open, claimed by whom, done, fixed, invalid, removed...), score (0-1), the words it shares with your text, and flags (identical text; the text names its id). Which are shown follows [dedupe] show_floor, max_candidates and kinds. A score is a prompt to LOOK, not a verdict: two bugs in one function score high and are different. Nothing close answers exit 2 / an empty list.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNoComma-separated subset of the configured kinds to look in: bug,task,phase,lesson,decision,research,memory. Default: all of them.
textYesThe title or summary of the record you are about to file.
as_agentNoSubagent sharing the parent's connection: your own stable name, for this call only (see ddflow_identify).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.10

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 the full burden and does so well: it declares 'Read-only', explains that candidates span kinds and closed states, enumerates returned fields (id, kind, title, state, score, words, flags), and warns that score is 'a prompt to LOOK, not a verdict'. It even documents exit-code behavior on no matches.

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?

Front-loads the core question and the read-only/return facts efficiently, but the dense ALL-CAPS emphasis and stacked parentheticals make it longer than strictly necessary. Still, nearly every sentence conveys distinct selection or interpretation guidance.

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

Completeness5/5

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

Despite no output schema, the description enumerates the returned fields and their meaning, plus the exit-2 case, so an agent knows exactly what to expect. For a simple 3-parameter read tool this is fully sufficient.

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, but the description adds value: it clarifies that 'text' is the title/summary about to be filed, that 'kind' accepts a comma-separated subset defaulting to all, and ties 'as_agent' to ddflow_identify rather than restating the schema verbatim.

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?

Opens with a specific, quotable purpose ('IS THIS ALREADY FILED? -- the existing records most like a text, BEFORE you file it'), naming both the verb (find similar) and the resource (existing records). It is clearly distinguishable from siblings like ddflow_lesson_search or ddflow_recall by its pre-filing dedupe framing.

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 it ('BEFORE you file it as a bug, task, lesson or other record') and that candidates cross kinds and include closed ones, with a rationale for each. It also notes which configuration ([dedupe] show_floor, max_candidates, kinds) governs selection and what an empty result means (exit 2).

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

Deploy Server

Other Tools