Tcl Explain
Steps
- Read
../_prompts/tcl_system.md, then the file. - Call
mcp__tcl-lsp__analyze(diagnostics, symbols, events) and
mcp__tcl-lsp__call_graph (caller→callee graph, roots, leaves) with the
contents as source. If analysis fails (e.g. syntax errors), explain from
the source alone and say LSP analysis was unavailable.
- Explain, focusing on any specific question the user asked.
Output
- Summary — one paragraph on what the script does
- Procedures — per proc: purpose, parameters, return value (omit if none)
- Data flow — how data moves between procs and through control structures
- Issues — analyser findings (omit if clean)
$ARGUMENTS