Get Optimization Recommendations
metrx_get_optimization_recommendationsGet cost optimization recommendations, computed by rule from your measured usage, for a specific agent or all your agents.
Instructions
Get cost optimization recommendations, computed by rule from your measured usage, for a specific agent or all your agents. Returns actionable suggestions including model switching, token guardrails, provider arbitrage, batch processing opportunities, and revenue intelligence insights. Each suggestion includes estimated monthly savings and confidence level. Read-only: it recommends, it does not change anything. To test a model switch, record an experiment with create_model_experiment. Requires an API key with the 'read' scope.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "metrx_get_optimization_recommendations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | Specific agent to analyze. Omit for recommendations across all agents. | |
| include_revenue | No | Include revenue-side insights (R3, R4, R6) in addition to cost optimizations |