MCP Observability Hub
Sign in

Measure tool latency and usage

Aggregate tool calls by name and calculate nearest-rank latency, error rates and estimated token costs.

Analysis input

Files and pasted data are processed in this browser.

Paste data or load the example to see the format. Limit 512 KiB.
Input schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "costPerMillionTokens": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000
    },
    "calls": {
      "minItems": 1,
      "maxItems": 2000,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "tool": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          },
          "ms": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000
          },
          "error": {
            "type": "boolean"
          },
          "tokens": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000000
          }
        },
        "required": [
          "tool",
          "ms",
          "error",
          "tokens"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "costPerMillionTokens",
    "calls"
  ],
  "additionalProperties": false
}

Use the analyzer through REST or MCP