Knowledge Graph Assisted Development workflow — analyze code structure, check parallel safety, trace call chains, and validate architecture rules.
KGFlow exposes 10 tools via FastMCP with basic descriptions and parameter types, but lacks depth in LLM-optimization. All tools have descriptions (10-100 chars, mostly under 50), and parameters include types and some descriptions. However, descriptions are terse and lack actionable context (e.g., 'Find all methods/classes/config affected' doesn't explain WHEN to use this vs. call_chain). No output schemas documented. Error handling delegates to subprocess stderr parsing with minimal recovery guidance. Parameter descriptions are sparse (e.g., 'Query depth (default: 3)' lacks range/rationale). No enum constraints on direction/label parameters. Tools follow verb_noun naming (kgflow_query_*, kgflow_generate) but lack clarity on mutual exclusivity (e.g., kgflow_diff accepts from_latest OR from_run, undocumented). Composition is sound, each tool has one responsibility, but chaining is unclear (no documented output fields to feed downstream calls).
Compare two knowledge graph runs and output node/edge diffs.
Generate knowledge graph Cypher from source code. Optionally run CI coverage checks with --ci-only.
Trace call chain up (callers) or down (callees) from a method.
Gate 2 parallel safety check — determine if two tasks can run concurrently.
Find which modules read a given configuration file.
Check architecture layer dependency violations (e.g. engine importing app).
Find all methods/classes/config affected by changing given methods.
No output schemas documented. LLMs cannot infer what fields to expect from tool responses, forcing them to guess at downstream field names and risking broken tool chains.
Parameter descriptions lack actionable context. 'Query depth (default: 3)' doesn't explain why depth matters, what range is valid, or when to increase it. LLMs cannot reason about parameter tuning.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 46 | 2026-07-28+ | v2 |
Find nodes with no relationships (potential dead code or incorrect extraction).
Map git diff file changes to KG Method nodes with line-level confidence.
Validate KGFlow artifact JSON files (L1/L2/L3 cross-reference checks).
Tool descriptions are too terse (30-45 chars) and lack WHEN/WHY context. 'Find all methods/classes/config affected by changing given methods' doesn't explain when to use this vs. kgflow_query_call_chain. LLMs struggle to select the right tool.
Mutually exclusive parameters not documented. kgflow_diff accepts (from_latest, from_run) and (to_latest, to_run), passing both causes ambiguity. LLMs will pass both unless explicitly told not to.
Error handling delegates to subprocess stderr parsing with minimal recovery guidance. Errors return {error: true, code, detail} but don't tell LLM what to do next (retry? ask user? fatal?). No error classification.