get_token_savings_metrics
Calculate token compression metrics, reduction percentages, and monthly developer cost savings to quantify T-Zero context compression ROI for team reports.
Instructions
Computes quantitative token compression metrics, reduction percentage, and developer team financial ROI savings (USD/month).
Behavior:
Read-only: Evaluates codebase file sizes and compressed token counts; does not alter files or call APIs.
Idempotent: Deterministic metric calculations for current codebase volume.
100% Offline: Fully local calculation without network access.
Usage Guidelines:
When to use: Quantify efficiency gains and financial savings from T-Zero context compression for team reports and engineering leadership.
Sibling Routing: For per-model single-prompt cost comparisons (OpenAI vs Anthropic vs Gemini), use 'estimate_token_cost'.
Returns: Markdown executive summary with token reduction percentages, monthly developer cost savings, and annual ROI projections.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team_size | No | Number of developers in the engineering team used to model monthly ROI savings (default: 5). | |
| project_root | No | Target workspace directory to measure (default: current directory). | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |