get_optimization_report
Identify token waste patterns in AI sessions, including repeated file reads and unused tools, and estimate potential savings.
Instructions
Detect token waste patterns in AI agent sessions: repeated file reads, Bash grep instead of search, large file reads, unused trace-mcp tools. Provides savings estimates. Read-only. For usage/cost overview use get_session_analytics; for A/B savings comparison use get_real_savings. Returns JSON: { patterns: [{ type, description, savings_estimate }], total_waste }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Time period (default: week) |