Measure Cognitive Throughput Drag
systemores_measure_dragCalculates single-turn throughput and cost efficiency from prompt length, response length, and latency, returning characters per millisecond, cognitive efficiency, drag rating, and token-cost rating.
Instructions
Calculates single-turn throughput and cost efficiency from scalar promptLength, responseLength, and latencyMs (>= 1), returning characterPerMs, cognitiveEfficiencyScore (0.1–1.0), dragRating (HIGH above 2500ms), and estimatedTokenCostRating (EXPENSIVE above 4000 combined chars). Free, deterministic, stateless local math with no API key required. Use for quick single-turn latency/length math; use systemores_analyze_trace_telemetry for multi-span OpenTelemetry JSON traces or systemores_evaluate_drift for multi-turn behavioral consistency.
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": {
"promptLength": "<promptLength>",
"responseLength": "<responseLength>",
"latencyMs": "<latencyMs>"
},
"name": "systemores_measure_drag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latencyMs | Yes | The end-to-end response latency in milliseconds. Must be >= 1. | |
| promptLength | Yes | The character length of the prompt sent to the agent. | |
| responseLength | Yes | The character length of the agent's response. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dragRating | Yes | ||
| characterPerMs | Yes | ||
| cognitiveEfficiencyScore | Yes | ||
| estimatedTokenCostRating | Yes |