get_tool_metrics
Retrieve raw performance metrics for any tool, including invocation counts, p50/p95/p99 latency, error rate, and uptime. Use these figures to diagnose performance issues and guide optimization.
Instructions
Get raw performance metrics for a tool — invocation counts, latency percentiles (p50/p95/p99), error rate, and uptime. Use this for detailed performance analysis.
For a simple reliability check with an overall score, use get_tool_quality instead.
Args: slug: The tool's slug identifier. period: Time period — "hour", "day", "week", "month", or "all_time".
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>"
},
"name": "get_tool_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| period | No | all_time |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |