get_optimization_report
Detect token waste patterns in AI agent sessions—like repeated file reads or unused tools—and get savings estimates to reduce token usage.
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) |