feat: Reduce MCP tool token overhead (~72% reduction)#85
Conversation
Implements RFC #84 to reduce MCP tool token overhead: - Remove 7 never-used tools: get_languages, get_command_frequency, ingest_bus_events, get_bus_events, get_pre_compaction_events, analyze_pre_compaction_patterns, correlate_git_with_sessions, ingest_git_history_all_projects - Trim all 30 remaining tool docstrings (21,983 → 6,197 chars) - Consolidate git ingestion: add all_projects param to ingest_git_history with auto-correlation - Update CLI with --all-projects flag, preserve backward compatibility - Add MCP docstring authoring guidance to CLAUDE.md Closes #84 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Code ReviewSummaryThis PR reduces MCP tool token overhead by ~72% (21,983 → 6,197 chars) by trimming docstrings, removing 7 never-used tools, and consolidating git functionality with auto-correlation. It also adds docstring authoring guidance to CLAUDE.md. Issues FoundCriticalNone ImportantNone Suggestions
VerdictREQUEST_CHANGES - Two minor suggestions for documentation consistency and output clarity. Automated review by Claude Code |
Code ReviewSummaryThis PR reduces MCP tool token overhead by ~72% (21,983 → 6,197 chars) through removing 7 never-used tools, trimming 30 remaining docstrings, and consolidating git functionality into a single Issues FoundCriticalNone ImportantNone Suggestions
VerdictREQUEST_CHANGES - Two minor suggestions for consideration. Automated review by Claude Code |
Show only commonly-used parameters (days, all_projects) in table. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Feedback AddressedImplemented
Skipped
|
Code ReviewSummaryThis PR reduces MCP tool token overhead by ~72% (21,983 → 6,197 chars) by removing 7 never-used tools, trimming 30 remaining docstrings, and consolidating git functionality with auto-correlation. It also adds docstring authoring guidance to CLAUDE.md. Issues FoundCriticalNone ImportantNone SuggestionsNone Previously Addressed (Filtered)
VerdictAPPROVE - Code looks good, no issues found. The PR thoroughly addresses issue #84 requirements: Phase 1 (docstring trimming), Phase 2 (removing never-used tools), Phase 3 (removing redundant Automated review by Claude Code |
Summary
all_projectsparam toingest_git_historywith auto-correlationTest plan
make check)ingest_git_historyverifies auto-correlationCloses #84
🤖 Generated with Claude Code