agentlens_analytics
Analyze agent performance, cost breakdowns, and tool usage patterns with bucketed metrics and date filters.
Instructions
Query operational analytics: metrics, costs, agent performance, and tool usage.
When to use: To understand system performance trends, cost breakdowns, agent activity, or tool usage patterns over time.
Actions:
metrics: Get bucketed metrics with optional range/date filterscosts: Get cost breakdownagents: Get per-agent metricstools: Get tool usage statistics
Example: agentlens_analytics({ action: "metrics", range: "24h" })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform | |
| range | No | Shorthand: 1h, 6h, 24h, 3d, 7d, 30d | |
| from | No | Start date ISO | |
| to | No | End date ISO | |
| granularity | No | Bucket granularity | |
| agentId | No | Filter by agent ID |