Analyze OpenTelemetry Agent Trace Spans
systemores_analyze_trace_telemetryAnalyze OpenTelemetry trace data to detect token cost burn, sub-agent loop deadlocks, and latency hotspots, helping teams diagnose performance and spending issues in MCP workflows.
Instructions
Ingests standard OpenTelemetry (OTel) trace JSON payloads to detect financial token cost burn traps (> $2.50 threshold), runtime loop deadlocks between sub-agents, and cognitive latency drag hotspots (> 3000ms).
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": {
"otelTraceJson": "<otelTraceJson>"
},
"name": "systemores_analyze_trace_telemetry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| otelTraceJson | Yes | JSON string containing OpenTelemetry trace spans or MCP telemetry log data. | |
| latencyThresholdMs | No | Latency hotspot threshold in milliseconds. | |
| maxCostThresholdUsd | No | Maximum allowable cost in USD per session before triggering burn trap alert. |