get_optimization_report
Identify token waste patterns in AI agent sessions, such as repeated file reads or inefficient Bash commands, and get savings estimates to optimize costs.
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) |