MCP server exposing read-mostly project-state surface (Phase 27.7) — STATE.md sections, phases, decisions, plans, telemetry, intel slices, and reflections as typed MCP tools
gdd-mcp exposes 13 read-only tools for design-system state inspection. All tools have descriptions (10 - 150 chars), but descriptions are terse and lack actionable context for LLM selection. No input schemas are visible in the source code, tool definitions appear to be inferred from tool names and brief descriptions only. Parameters are mentioned in descriptions (e.g., 'input.phase', 'input.slice_id') but no formal JSON Schema with type definitions, constraints, or parameter descriptions is provided. Output schemas are undocumented. Error handling is minimal (e.g., 'directory_not_found' mentioned for some tools but not formalized). All tools are read-only (low risk), but lack the structure needed for confident LLM reasoning.
gdd_context_query: read-only query over the DesignContext graph (.design/context-graph.json) — op one of nodes/edges/path/consumers-of/unreachable/cycles/coverage; structured no-graph result when absent.
gdd_cycle_recap: diff current STATE against latest .design/snapshots/ snapshot; directory_not_found if absent.
gdd_decisions_list: decisions from STATE.md (optionally filtered by input.status).
gdd_events_tail: last-N events from .design/telemetry/events.jsonl with optional type filter.
gdd_health: read-only mirror of gdd-health SKILL — 4 checks (CLAUDE.md, .planning/, .design/, package.json).
gdd_intel_get: read a slice from .design/intel/ (input.slice_id required); directory_not_found if absent.
gdd_learnings_digest: aggregate last N reflections into a compact digest (<= 5 KB).
No input schemas visible in source code. Tool definitions appear inferred from names and brief descriptions only. Parameters mentioned in descriptions (e.g., 'input.phase', 'input.slice_id') but no formal JSON Schema with type definitions, constraints, or parameter descriptions provided.
Descriptions are terse (25 - 40 chars) and lack actionable context. They state WHAT the tool reads but not WHEN to use it, what prerequisites exist, or how it differs from similar tools. LLMs cannot reliably select the right tool without richer guidance.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 36 | 2025-06-18+ | v2 |
gdd_phase_current: STATE.md <position> block (phase, stage, task_progress, status).
gdd_phases_list: parsed ROADMAP.md overview (phase number, name, target version, shipped/planned).
gdd_plans_list: plans tracked in STATE.md must_haves (optionally filtered by input.phase).
gdd_reflections_latest: newest .design/reflections/ file (excerpt <= 4 KB); directory_not_found if absent.
gdd_status: current cycle phase, branch, last-3 decisions, last-3 completed plans, blocker count.
gdd_telemetry_query: typed reader over .design/telemetry/*.jsonl with type/since/limit filters.
Output schemas are undocumented. No specification of what fields are returned, their types, or structure. LLMs cannot plan downstream tool calls or extract the right data without knowing the response shape.
Error handling is minimal and informal. Some tools mention 'directory_not_found' in descriptions but no formalized error classification (retryable, user-fixable, fatal) or recovery guidance is provided.
Tool names use 'gdd_' prefix (domain-specific) but lack clear verb-noun structure. Names like 'gdd_context_query' and 'gdd_telemetry_query' are similar and could confuse LLM selection. Distinguish with more specific verbs (e.g., 'gdd_query_context_graph', 'gdd_query_telemetry_events').