{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "mcp.sevana.biz",
    "site": "sevana.biz",
    "addresses": [
      {
        "address": "165.245.243.20",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      },
      {
        "address": "2a03:b0c0:3:f0:0:2:8487:1000",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "165.245.243.20",
          "2a03:b0c0:3:f0:0:2:8487:1000"
        ],
        "first_seen": "2026-11-22T07:16:03.677Z",
        "last_seen": "2026-11-24T07:22:02.873Z",
        "checks": 3
      }
    ],
    "hosting": [],
    "software": [
      {
        "value": "nginx",
        "evidence": "Server header \"nginx/1.24.0 (Ubuntu)\""
      }
    ],
    "server_info": {
      "name": "sevana",
      "version": "0.1.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "nginx/1.24.0 (Ubuntu)"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 0,
      "sample": []
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "biz.sevana",
      "total": 0,
      "sample": []
    },
    "same_repository": null,
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "4687",
    "server_name": "biz.sevana/voice-quality",
    "url": "https://mcp.sevana.biz/mcp",
    "host": "mcp.sevana.biz",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-24T07:22:02.873Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "f26208d2c5b79481b799338392cb1af90bc39f452b2fd5d59d6ed87a859de848",
    "first_listed_at": "2026-11-21T06:16:01.723Z",
    "created_at": "2026-11-21T05:00:12.300Z",
    "resolved_addresses": [
      "165.245.243.20",
      "2a03:b0c0:3:f0:0:2:8487:1000"
    ]
  },
  "server": {
    "name": "biz.sevana/voice-quality",
    "title": "Sevana Voice Quality",
    "description": "Voice quality analysis: PVQA and AQuA MOS for WAV files, VoIP call analysis for PCAPs",
    "version": "1.0.1",
    "registry_status": "active",
    "repository_url": null,
    "website_url": "https://sevana.biz/mcp-server-voice-quality-ai-agents/",
    "published_at": "2026-11-18T05:35:59.658Z",
    "updated_at": "2026-11-18T05:35:59.658Z",
    "first_seen": "2026-11-21T05:00:11.654Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T14:57:07.277Z"
  },
  "operator": {
    "key": "sevana.biz",
    "name": "sevana.biz",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 4,
    "answered": 4,
    "answered_percent": 100,
    "avg_listing_latency_ms": 1190,
    "first_check_in_window": "2026-11-21T06:16:01.723Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-23",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-24",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "f26208d2c5b79481b799338392cb1af90bc39f452b2fd5d59d6ed87a859de848",
    "tools": 19,
    "resources": 3,
    "prompts": 0,
    "first_seen": "2026-11-21T06:16:03.077Z",
    "tool_names": [
      "aqua_compare",
      "create_upload",
      "delete_upload",
      "job_cancel",
      "job_status",
      "list_jobs",
      "pcap_analyze",
      "pcap_dtmf",
      "pcap_full_report",
      "pcap_get_call",
      "pcap_get_stream",
      "pcap_network_stats",
      "pcap_sip_messages",
      "pcap_summary",
      "pvqa_analyze",
      "pvqa_detector",
      "pvqa_timeline",
      "server_info",
      "upload_inline"
    ],
    "declared": {
      "tools": [
        {
          "name": "aqua_compare",
          "title": "AQuA: compare with a reference",
          "description": "Intrusive voice quality analysis (Sevana AQuA, wideband): compares a degraded/test WAV with its reference WAV and returns MOS, percent similarity and a fault analysis explaining the loss of quality. Upload both files first.",
          "inputSchema": {
            "type": "object",
            "required": [
              "reference_upload_id",
              "test_upload_id"
            ],
            "properties": {
              "channel_test": {
                "type": [
                  "null",
                  "integer"
                ],
                "description": "test channel, from 0 (default: AQuA's choice)"
              },
              "test_upload_id": {
                "type": "string",
                "description": "upload_id of the degraded/test WAV"
              },
              "channel_reference": {
                "type": [
                  "null",
                  "integer"
                ],
                "description": "reference channel, from 0 (default: AQuA's choice)"
              },
              "reference_upload_id": {
                "type": "string",
                "description": "upload_id of the original/reference WAV"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "reference_upload_id",
              "test_upload_id",
              "percent",
              "mos",
              "faults"
            ],
            "properties": {
              "mos": {
                "type": [
                  "null",
                  "number"
                ],
                "description": "AQuA MOS (1-5)"
              },
              "faults": {
                "type": "string",
                "description": "AQuA's fault analysis: why quality is lost (delay, spectrum, level, noise), with per-file values"
              },
              "percent": {
                "type": [
                  "null",
                  "number"
                ],
                "description": "similarity of the test file to the reference, 0-100"
              },
              "test_upload_id": {
                "type": "string"
              },
              "reference_upload_id": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": false
          }
        },
        {
          "name": "create_upload",
          "title": "Create an upload URL",
          "description": "Start uploading a WAV recording (kind \"wav\") or a packet capture (kind \"pcap\"). Returns an upload_id and a one-time upload_url; send the file as the body of an HTTP PUT to that URL (for example: curl -T recording.wav '<upload_url>'), then pass the upload_id to an analysis tool. The URL works once and expires after 15 minutes; the file is deleted after an hour. Use upload_inline instead if you can only pass tool arguments.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "description": "file kind: \"wav\" (default) or \"pcap\" (.pcap/.pcapng)"
              },
              "filename": {
                "type": "string",
                "description": "original file name, for display only"
              },
              "size_bytes": {
                "type": "integer",
                "description": "file size, if known; larger than the limit is refused at once"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "upload_id",
              "upload_url",
              "method",
              "expires_at",
              "curl_example"
            ],
            "properties": {
              "method": {
                "type": "string"
              },
              "max_bytes": {
                "type": "integer",
                "description": "largest file accepted (0 = no limit)"
              },
              "upload_id": {
                "type": "string"
              },
              "expires_at": {
                "type": "string",
                "description": "the URL must be used before this time"
              },
              "upload_url": {
                "type": "string",
                "description": "one-time URL: HTTP PUT the file as the request body"
              },
              "max_seconds": {
                "type": "number",
                "description": "longest WAV accepted (0 = no limit)"
              },
              "curl_example": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "delete_upload",
          "title": "Delete an upload",
          "description": "Delete an uploaded file now instead of waiting for it to expire.",
          "inputSchema": {
            "type": "object",
            "required": [
              "upload_id"
            ],
            "properties": {
              "upload_id": {
                "type": "string",
                "description": "upload_id returned by create_upload or upload_inline"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "deleted"
            ],
            "properties": {
              "deleted": {
                "type": "boolean"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "job_cancel",
          "title": "Cancel a job",
          "description": "Cancel a queued or running analysis job.",
          "inputSchema": {
            "type": "object",
            "required": [
              "job_id"
            ],
            "properties": {
              "job_id": {
                "type": "string",
                "description": "job_id returned by pcap_analyze"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "job_id",
              "status",
              "percent",
              "created_at"
            ],
            "properties": {
              "next": {
                "type": "string"
              },
              "error": {
                "type": "string"
              },
              "stage": {
                "type": "string",
                "description": "current stage while running: parsing, audio, sip, ..."
              },
              "job_id": {
                "type": "string"
              },
              "status": {
                "type": "string"
              },
              "percent": {
                "type": "number"
              },
              "summary": {
                "type": [
                  "null",
                  "object"
                ],
                "required": [
                  "job_id",
                  "packets",
                  "calls",
                  "streams",
                  "streams_scored",
                  "call_list",
                  "stream_list"
                ],
                "properties": {
                  "calls": {
                    "type": "integer"
                  },
                  "job_id": {
                    "type": "string"
                  },
                  "omitted": {
                    "type": "object",
                    "description": "calls/streams left out of the lists; see pcap_full_report",
                    "additionalProperties": {
                      "type": "integer"
                    }
                  },
                  "packets": {
                    "type": "object",
                    "description": "main packet counters",
                    "additionalProperties": {
                      "type": "string"
                    }
                  },
                  "streams": {
                    "type": "integer"
                  },
                  "software": {
                    "type": "string"
                  },
                  "call_list": {
                    "type": [
                      "null",
                      "array"
                    ],
                    "items": {
                      "type": "object",
                      "required": [
                        "call_id",
                        "peer_a",
                        "peer_b",
                        "response_codes",
                        "media_duration_s",
                        "sip_messages",
                        "stream_ids",
                        "health"
                      ],
                      "properties": {
                        "health": {
                          "type": [
                            "null",
                            "array"
                          ],
                          "items": {
                            "type": "object",
                            "required": [
                              "tag",
                              "explanation"
                            ],
                            "properties": {
                              "tag": {
                                "type": "string"
                              },
                              "stream_ids": {
                                "type": [
                                  "null",
                                  "array"
                                ],
                                "items": {
                                  "type": "integer"
                                }
                              },
                              "explanation": {
                                "type": "string"
                              }
                            },
                            "additionalProperties": false
                          },
                          "description": "analyzer warnings: one-way audio, codec/ptime asymmetry, late media, ...; empty = healthy"
                        },
                        "peer_a": {
                          "type": "string"
                        },
                        "peer_b": {
                          "type": "string"
                        },
                        "call_id": {
                          "type": "string"
                        },
                        "worst_mos": {
                          "type": [
                            "null",
                            "number"
                          ],
                          "description": "lowest Sevana MOS of the call's streams"
                        },
                        "stream_ids": {
                          "type": [
                            "null",
                            "array"
                          ],
                          "items": {
                            "type": "integer"
                          }
                        },
                        "diagnostics": {
                          "type": "string"
                        },
                        "media_start": {
                          "type": "string"
                        },
                        "sip_messages": {
                          "type": "integer"
                        },
                        "response_codes": {
                          "type": "string"
                        },
                        "media_duration_s": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "worst_mos": {
                    "type": [
                      "null",
                      "number"
                    ]
                  },
                  "average_mos": {
                    "type": [
                      "null",
                      "number"
                    ]
                  },
                  "stream_list": {
                    "type": [
                      "null",
                      "array"
                    ],
                    "items": {
                      "type": "object",
                      "required": [
                        "stream_id",
                        "src",
                        "dest",
                        "codec",
                        "mos_sevana",
                        "mos_network",
                        "packets",
                        "lost",
                        "loss_percent",
                        "duration_s",
                        "impairments",
                        "dtmf_events"
                      ],
                      "properties": {
                        "src": {
                          "type": "string"
                        },
                        "dest": {
                          "type": "string"
                        },
                        "lost": {
                          "type": "integer"
                        },
                        "codec": {
                          "type": "string"
                        },
                        "call_id": {
                          "type": "string"
                        },
                        "packets": {
                          "type": "integer"
                        },
                        "delay_ms": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "is_silent": {
                          "type": [
                            "null",
                            "boolean"
                          ]
                        },
                        "jitter_ms": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "stream_id": {
                          "type": "integer"
                        },
                        "duration_s": {
                          "type": "number"
                        },
                        "mos_sevana": {
                          "type": [
                            "null",
                            "number"
                          ],
                          "description": "listening-quality MOS from the decoded speech (1-5); 0 or null = not scored (e.g. SRTP without key)"
                        },
                        "dtmf_events": {
                          "type": "integer"
                        },
                        "impairments": {
                          "type": "object",
                          "description": "PVQA detector -> number of 0.68 s intervals where it fired",
                          "additionalProperties": {
                            "type": "integer"
                          }
                        },
                        "mos_network": {
                          "type": [
                            "null",
                            "number"
                          ],
                          "description": "MOS estimated from loss and jitter only"
                        },
                        "loss_percent": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    },
                    "description": "worst Sevana MOS first"
                  },
                  "streams_scored": {
                    "type": "integer",
                    "description": "streams with a Sevana MOS"
                  }
                },
                "description": "set when a PCAP job is done",
                "additionalProperties": false
              },
              "created_at": {
                "type": "string"
              },
              "expires_at": {
                "type": [
                  "null",
                  "string"
                ],
                "description": "the result is deleted at this time"
              },
              "finished_at": {
                "type": [
                  "null",
                  "string"
                ]
              },
              "queue_position": {
                "type": "integer",
                "description": "approximate place in the queue while queued"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "job_status",
          "title": "Job status",
          "description": "State of an analysis job (queued, running with stage and percent, done, failed, cancelled). Waits up to wait_seconds for it to finish; a finished PCAP job includes its summary.",
          "inputSchema": {
            "type": "object",
            "required": [
              "job_id"
            ],
            "properties": {
              "job_id": {
                "type": "string",
                "description": "job_id returned by pcap_analyze"
              },
              "wait_seconds": {
                "type": [
                  "null",
                  "integer"
                ],
                "description": "wait up to this many seconds for the job to finish (0-55, default 0)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "job_id",
              "status",
              "percent",
              "created_at"
            ],
            "properties": {
              "next": {
                "type": "string"
              },
              "error": {
                "type": "string"
              },
              "stage": {
                "type": "string",
                "description": "current stage while running: parsing, audio, sip, ..."
              },
              "job_id": {
                "type": "string"
              },
              "status": {
                "type": "string"
              },
              "percent": {
                "type": "number"
              },
              "summary": {
                "type": [
                  "null",
                  "object"
                ],
                "required": [
                  "job_id",
                  "packets",
                  "calls",
                  "streams",
                  "streams_scored",
                  "call_list",
                  "stream_list"
                ],
                "properties": {
                  "calls": {
                    "type": "integer"
                  },
                  "job_id": {
                    "type": "string"
                  },
                  "omitted": {
                    "type": "object",
                    "description": "calls/streams left out of the lists; see pcap_full_report",
                    "additionalProperties": {
                      "type": "integer"
                    }
                  },
                  "packets": {
                    "type": "object",
                    "description": "main packet counters",
                    "additionalProperties": {
                      "type": "string"
                    }
                  },
                  "streams": {
                    "type": "integer"
                  },
                  "software": {
                    "type": "string"
                  },
                  "call_list": {
                    "type": [
                      "null",
                      "array"
                    ],
                    "items": {
                      "type": "object",
                      "required": [
                        "call_id",
                        "peer_a",
                        "peer_b",
                        "response_codes",
                        "media_duration_s",
                        "sip_messages",
                        "stream_ids",
                        "health"
                      ],
                      "properties": {
                        "health": {
                          "type": [
                            "null",
                            "array"
                          ],
                          "items": {
                            "type": "object",
                            "required": [
                              "tag",
                              "explanation"
                            ],
                            "properties": {
                              "tag": {
                                "type": "string"
                              },
                              "stream_ids": {
                                "type": [
                                  "null",
                                  "array"
                                ],
                                "items": {
                                  "type": "integer"
                                }
                              },
                              "explanation": {
                                "type": "string"
                              }
                            },
                            "additionalProperties": false
                          },
                          "description": "analyzer warnings: one-way audio, codec/ptime asymmetry, late media, ...; empty = healthy"
                        },
                        "peer_a": {
                          "type": "string"
                        },
                        "peer_b": {
                          "type": "string"
                        },
                        "call_id": {
                          "type": "string"
                        },
                        "worst_mos": {
                          "type": [
                            "null",
                            "number"
                          ],
                          "description": "lowest Sevana MOS of the call's streams"
                        },
                        "stream_ids": {
                          "type": [
                            "null",
                            "array"
                          ],
                          "items": {
                            "type": "integer"
                          }
                        },
                        "diagnostics": {
                          "type": "string"
                        },
                        "media_start": {
                          "type": "string"
                        },
                        "sip_messages": {
                          "type": "integer"
                        },
                        "response_codes": {
                          "type": "string"
                        },
                        "media_duration_s": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "worst_mos": {
                    "type": [
                      "null",
                      "number"
                    ]
                  },
                  "average_mos": {
                    "type": [
                      "null",
                      "number"
                    ]
                  },
                  "stream_list": {
                    "type": [
                      "null",
                      "array"
                    ],
                    "items": {
                      "type": "object",
                      "required": [
                        "stream_id",
                        "src",
                        "dest",
                        "codec",
                        "mos_sevana",
                        "mos_network",
                        "packets",
                        "lost",
                        "loss_percent",
                        "duration_s",
                        "impairments",
                        "dtmf_events"
                      ],
                      "properties": {
                        "src": {
                          "type": "string"
                        },
                        "dest": {
                          "type": "string"
                        },
                        "lost": {
                          "type": "integer"
                        },
                        "codec": {
                          "type": "string"
                        },
                        "call_id": {
                          "type": "string"
                        },
                        "packets": {
                          "type": "integer"
                        },
                        "delay_ms": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "is_silent": {
                          "type": [
                            "null",
                            "boolean"
                          ]
                        },
                        "jitter_ms": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "stream_id": {
                          "type": "integer"
                        },
                        "duration_s": {
                          "type": "number"
                        },
                        "mos_sevana": {
                          "type": [
                            "null",
                            "number"
                          ],
                          "description": "listening-quality MOS from the decoded speech (1-5); 0 or null = not scored (e.g. SRTP without key)"
                        },
                        "dtmf_events": {
                          "type": "integer"
                        },
                        "impairments": {
                          "type": "object",
                          "description": "PVQA detector -> number of 0.68 s intervals where it fired",
                          "additionalProperties": {
                            "type": "integer"
                          }
                        },
                        "mos_network": {
                          "type": [
                            "null",
                            "number"
                          ],
                          "description": "MOS estimated from loss and jitter only"
                        },
                        "loss_percent": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    },
                    "description": "worst Sevana MOS first"
                  },
                  "streams_scored": {
                    "type": "integer",
                    "description": "streams with a Sevana MOS"
                  }
                },
                "description": "set when a PCAP job is done",
                "additionalProperties": false
              },
              "created_at": {
                "type": "string"
              },
              "expires_at": {
                "type": [
                  "null",
                  "string"
                ],
                "description": "the result is deleted at this time"
              },
              "finished_at": {
                "type": [
                  "null",
                  "string"
                ]
              },
              "queue_position": {
                "type": "integer",
                "description": "approximate place in the queue while queued"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": false
          }
        },
        {
          "name": "list_jobs",
          "title": "List jobs",
          "description": "Your analysis jobs from the last hour, newest first.",
          "inputSchema": {
            "type": "object",
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "jobs"
            ],
            "properties": {
              "jobs": {
                "type": [
                  "null",
                  "array"
                ],
                "items": {
                  "type": "object",
                  "required": [
                    "job_id",
                    "status",
                    "percent",
                    "created_at"
                  ],
                  "properties": {
                    "next": {
                      "type": "string"
                    },
                    "error": {
                      "type": "string"
                    },
                    "stage": {
                      "type": "string",
                      "description": "current stage while running: parsing, audio, sip, ..."
                    },
                    "job_id": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "percent": {
                      "type": "number"
                    },
                    "summary": {
                      "type": [
                        "null",
                        "object"
                      ],
                      "required": [
                        "job_id",
                        "packets",
                        "calls",
                        "streams",
                        "streams_scored",
                        "call_list",
                        "stream_list"
                      ],
                      "properties": {
                        "calls": {
                          "type": "integer"
                        },
                        "job_id": {
                          "type": "string"
                        },
                        "omitted": {
                          "type": "object",
                          "description": "calls/streams left out of the lists; see pcap_full_report",
                          "additionalProperties": {
                            "type": "integer"
                          }
                        },
                        "packets": {
                          "type": "object",
                          "description": "main packet counters",
                          "additionalProperties": {
                            "type": "string"
                          }
                        },
                        "streams": {
                          "type": "integer"
                        },
                        "software": {
                          "type": "string"
                        },
                        "call_list": {
                          "type": [
                            "null",
                            "array"
                          ],
                          "items": {
                            "type": "object",
                            "required": [
                              "call_id",
                              "peer_a",
                              "peer_b",
                              "response_codes",
                              "media_duration_s",
                              "sip_messages",
                              "stream_ids",
                              "health"
                            ],
                            "properties": {
                              "health": {
                                "type": [
                                  "null",
                                  "array"
                                ],
                                "items": {
                                  "type": "object",
                                  "required": [
                                    "tag",
                                    "explanation"
                                  ],
                                  "properties": {
                                    "tag": {
                                      "type": "string"
                                    },
                                    "stream_ids": {
                                      "type": [
                                        "null",
                                        "array"
                                      ],
                                      "items": {
                                        "type": "integer"
                                      }
                                    },
                                    "explanation": {
                                      "type": "string"
                                    }
                                  },
                                  "additionalProperties": false
                                },
                                "description": "analyzer warnings: one-way audio, codec/ptime asymmetry, late media, ...; empty = healthy"
                              },
                              "peer_a": {
                                "type": "string"
                              },
                              "peer_b": {
                                "type": "string"
                              },
                              "call_id": {
                                "type": "string"
                              },
                              "worst_mos": {
                                "type": [
                                  "null",
                                  "number"
                                ],
                                "description": "lowest Sevana MOS of the call's streams"
                              },
                              "stream_ids": {
                                "type": [
                                  "null",
                                  "array"
                                ],
                                "items": {
                                  "type": "integer"
                                }
                              },
                              "diagnostics": {
                                "type": "string"
                              },
                              "media_start": {
                                "type": "string"
                              },
                              "sip_messages": {
                                "type": "integer"
                              },
                              "response_codes": {
                                "type": "string"
                              },
                              "media_duration_s": {
                                "type": "number"
                              }
                            },
                            "additionalProperties": false
                          }
                        },
                        "worst_mos": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "average_mos": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "stream_list": {
                          "type": [
                            "null",
                            "array"
                          ],
                          "items": {
                            "type": "object",
                            "required": [
                              "stream_id",
                              "src",
                              "dest",
                              "codec",
                              "mos_sevana",
                              "mos_network",
                              "packets",
                              "lost",
                              "loss_percent",
                              "duration_s",
                              "impairments",
                              "dtmf_events"
                            ],
                            "properties": {
                              "src": {
                                "type": "string"
                              },
                              "dest": {
                                "type": "string"
                              },
                              "lost": {
                                "type": "integer"
                              },
                              "codec": {
                                "type": "string"
                              },
                              "call_id": {
                                "type": "string"
                              },
                              "packets": {
                                "type": "integer"
                              },
                              "delay_ms": {
                                "type": [
                                  "null",
                                  "number"
                                ]
                              },
                              "is_silent": {
                                "type": [
                                  "null",
                                  "boolean"
                                ]
                              },
                              "jitter_ms": {
                                "type": [
                                  "null",
                                  "number"
                                ]
                              },
                              "stream_id": {
                                "type": "integer"
                              },
                              "duration_s": {
                                "type": "number"
                              },
                              "mos_sevana": {
                                "type": [
                                  "null",
                                  "number"
                                ],
                                "description": "listening-quality MOS from the decoded speech (1-5); 0 or null = not scored (e.g. SRTP without key)"
                              },
                              "dtmf_events": {
                                "type": "integer"
                              },
                              "impairments": {
                                "type": "object",
                                "description": "PVQA detector -> number of 0.68 s intervals where it fired",
                                "additionalProperties": {
                                  "type": "integer"
                                }
                              },
                              "mos_network": {
                                "type": [
                                  "null",
                                  "number"
                                ],
                                "description": "MOS estimated from loss and jitter only"
                              },
                              "loss_percent": {
                                "type": "number"
                              }
                            },
                            "additionalProperties": false
                          },
                          "description": "worst Sevana MOS first"
                        },
                        "streams_scored": {
                          "type": "integer",
                          "description": "streams with a Sevana MOS"
                        }
                      },
                      "description": "set when a PCAP job is done",
                      "additionalProperties": false
                    },
                    "created_at": {
                      "type": "string"
                    },
                    "expires_at": {
                      "type": [
                        "null",
                        "string"
                      ],
                      "description": "the result is deleted at this time"
                    },
                    "finished_at": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "queue_position": {
                      "type": "integer",
                      "description": "approximate place in the queue while queued"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": false
          }
        },
        {
          "name": "pcap_analyze",
          "title": "PCAP: analyze a capture",
          "description": "Start a VoIP quality analysis of an uploaded .pcap/.pcapng capture (upload it with kind \"pcap\"). Reconstructs SIP calls and RTP streams and scores every stream (Sevana MOS from the decoded speech, network MOS, loss, jitter). Returns a job_id; the call waits up to wait_seconds and, if the analysis finished by then, includes the summary. Otherwise poll job_status. Only analysis reports are returned, never decoded audio. Reports include SIP messages and DTMF digits as captured; they are kept for one hour.",
          "inputSchema": {
            "type": "object",
            "required": [
              "upload_id"
            ],
            "properties": {
              "upload_id": {
                "type": "string",
                "description": "upload_id of a pcap upload"
              },
              "statistics": {
                "type": [
                  "null",
                  "boolean"
                ],
                "description": "compute aggregate statistics across streams (default true)"
              },
              "wait_seconds": {
                "type": [
                  "null",
                  "integer"
                ],
                "description": "wait up to this many seconds for the result (0-55, default 25)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "job_id",
              "status",
              "percent",
              "created_at"
            ],
            "properties": {
              "next": {
                "type": "string"
              },
              "error": {
                "type": "string"
              },
              "stage": {
                "type": "string",
                "description": "current stage while running: parsing, audio, sip, ..."
              },
              "job_id": {
                "type": "string"
              },
              "status": {
                "type": "string"
              },
              "percent": {
                "type": "number"
              },
              "summary": {
                "type": [
                  "null",
                  "object"
                ],
                "required": [
                  "job_id",
                  "packets",
                  "calls",
                  "streams",
                  "streams_scored",
                  "call_list",
                  "stream_list"
                ],
                "properties": {
                  "calls": {
                    "type": "integer"
                  },
                  "job_id": {
                    "type": "string"
                  },
                  "omitted": {
                    "type": "object",
                    "description": "calls/streams left out of the lists; see pcap_full_report",
                    "additionalProperties": {
                      "type": "integer"
                    }
                  },
                  "packets": {
                    "type": "object",
                    "description": "main packet counters",
                    "additionalProperties": {
                      "type": "string"
                    }
                  },
                  "streams": {
                    "type": "integer"
                  },
                  "software": {
                    "type": "string"
                  },
                  "call_list": {
                    "type": [
                      "null",
                      "array"
                    ],
                    "items": {
                      "type": "object",
                      "required": [
                        "call_id",
                        "peer_a",
                        "peer_b",
                        "response_codes",
                        "media_duration_s",
                        "sip_messages",
                        "stream_ids",
                        "health"
                      ],
                      "properties": {
                        "health": {
                          "type": [
                            "null",
                            "array"
                          ],
                          "items": {
                            "type": "object",
                            "required": [
                              "tag",
                              "explanation"
                            ],
                            "properties": {
                              "tag": {
                                "type": "string"
                              },
                              "stream_ids": {
                                "type": [
                                  "null",
                                  "array"
                                ],
                                "items": {
                                  "type": "integer"
                                }
                              },
                              "explanation": {
                                "type": "string"
                              }
                            },
                            "additionalProperties": false
                          },
                          "description": "analyzer warnings: one-way audio, codec/ptime asymmetry, late media, ...; empty = healthy"
                        },
                        "peer_a": {
                          "type": "string"
                        },
                        "peer_b": {
                          "type": "string"
                        },
                        "call_id": {
                          "type": "string"
                        },
                        "worst_mos": {
                          "type": [
                            "null",
                            "number"
                          ],
                          "description": "lowest Sevana MOS of the call's streams"
                        },
                        "stream_ids": {
                          "type": [
                            "null",
                            "array"
                          ],
                          "items": {
                            "type": "integer"
                          }
                        },
                        "diagnostics": {
                          "type": "string"
                        },
                        "media_start": {
                          "type": "string"
                        },
                        "sip_messages": {
                          "type": "integer"
                        },
                        "response_codes": {
                          "type": "string"
                        },
                        "media_duration_s": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "worst_mos": {
                    "type": [
                      "null",
                      "number"
                    ]
                  },
                  "average_mos": {
                    "type": [
                      "null",
                      "number"
                    ]
                  },
                  "stream_list": {
                    "type": [
                      "null",
                      "array"
                    ],
                    "items": {
                      "type": "object",
                      "required": [
                        "stream_id",
                        "src",
                        "dest",
                        "codec",
                        "mos_sevana",
                        "mos_network",
                        "packets",
                        "lost",
                        "loss_percent",
                        "duration_s",
                        "impairments",
                        "dtmf_events"
                      ],
                      "properties": {
                        "src": {
                          "type": "string"
                        },
                        "dest": {
                          "type": "string"
                        },
                        "lost": {
                          "type": "integer"
                        },
                        "codec": {
                          "type": "string"
                        },
                        "call_id": {
                          "type": "string"
                        },
                        "packets": {
                          "type": "integer"
                        },
                        "delay_ms": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "is_silent": {
                          "type": [
                            "null",
                            "boolean"
                          ]
                        },
                        "jitter_ms": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "stream_id": {
                          "type": "integer"
                        },
                        "duration_s": {
                          "type": "number"
                        },
                        "mos_sevana": {
                          "type": [
                            "null",
                            "number"
                          ],
                          "description": "listening-quality MOS from the decoded speech (1-5); 0 or null = not scored (e.g. SRTP without key)"
                        },
                        "dtmf_events": {
                          "type": "integer"
                        },
                        "impairments": {
                          "type": "object",
                          "description": "PVQA detector -> number of 0.68 s intervals where it fired",
                          "additionalProperties": {
                            "type": "integer"
                          }
                        },
                        "mos_network": {
                          "type": [
                            "null",
                            "number"
                          ],
                          "description": "MOS estimated from loss and jitter only"
                        },
                        "loss_percent": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    },
                    "description": "worst Sevana MOS first"
                  },
                  "streams_scored": {
                    "type": "integer",
                    "description": "streams with a Sevana MOS"
                  }
                },
                "description": "set when a PCAP job is done",
                "additionalProperties": false
              },
              "created_at": {
                "type": "string"
              },
              "expires_at": {
                "type": [
                  "null",
                  "string"
                ],
                "description": "the result is deleted at this time"
              },
              "finished_at": {
                "type": [
                  "null",
                  "string"
                ]
              },
              "queue_position": {
                "type": "integer",
                "description": "approximate place in the queue while queued"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": false
          }
        },
        {
          "name": "pcap_dtmf",
          "title": "PCAP: DTMF",
          "description": "DTMF key presses found in a finished PCAP analysis, with digits and timing: RTP telephone-events (RFC 2833/4733) per stream and SIP INFO (application/dtmf-relay, application/dtmf).",
          "inputSchema": {
            "type": "object",
            "required": [
              "job_id"
            ],
            "properties": {
              "job_id": {
                "type": "string",
                "description": "job_id returned by pcap_analyze"
              },
              "call_id": {
                "type": "string",
                "description": "only this call"
              },
              "stream_id": {
                "type": "integer",
                "description": "only this RTP stream (RFC 2833 events)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "count",
              "digits",
              "events"
            ],
            "properties": {
              "count": {
                "type": "integer"
              },
              "digits": {
                "type": "string",
                "description": "all keys in time order"
              },
              "events": {
                "type": [
                  "null",
                  "array"
                ],
                "items": {
                  "type": "object",
                  "required": [
                    "source",
                    "tone",
                    "time",
                    "time_us"
                  ],
                  "properties": {
                    "time": {
                      "type": "string"
                    },
                    "tone": {
                      "type": "string",
                      "description": "the key: 0-9, *, #, A-D"
                    },
                    "source": {
                      "type": "string",
                      "description": "rfc2833 (RTP telephone-event) or sip_info"
                    },
                    "call_id": {
                      "type": "string"
                    },
                    "time_us": {
                      "type": "integer"
                    },
                    "stream_id": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "description": "RTP stream carrying the event (rfc2833)"
                    },
                    "duration_ms": {
                      "type": [
                        "null",
                        "integer"
                      ],
                      "description": "SIP INFO only, when the message carries it"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": false
          }
        },
        {
          "name": "pcap_full_report",
          "title": "PCAP: full report (paged)",
          "description": "The complete analysis report, one section at a time: \"streams\" or \"sip_calls\" (full objects, paged with cursor/limit) or \"counters\" (packet counters, SIP statistics, aggregate statistics). Contains no audio.",
          "inputSchema": {
            "type": "object",
            "required": [
              "job_id",
              "section"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "description": "items per page: streams default 5 (max 20), sip_calls default 3 (max 10); calls carry all their SIP messages"
              },
              "cursor": {
                "type": "integer",
                "description": "index of the first item (from next_cursor)"
              },
              "job_id": {
                "type": "string",
                "description": "job_id returned by pcap_analyze"
              },
              "section": {
                "type": "string",
                "description": "streams, sip_calls or counters"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "section"
            ],
            "properties": {
              "total": {
                "type": "integer"
              },
              "section": {
                "type": "string"
              },
              "streams": {
                "type": [
                  "null",
                  "array"
                ],
                "items": {
                  "type": "object",
                  "required": [
                    "stream_id",
                    "rtp_ssrc",
                    "rtp_src",
                    "rtp_dest",
                    "mos_sevana",
                    "mos_network",
                    "rtp_counter",
                    "rtp_lost",
                    "rtp_illegal",
                    "rtcp_counter",
                    "jitter",
                    "delay",
                    "codec",
                    "starttime",
                    "endtime",
                    "ptypes",
                    "packet_loss",
                    "rfc2833"
                  ],
                  "properties": {
                    "sip": {
                      "type": [
                        "null",
                        "object"
                      ],
                      "required": [
                        "call_id",
                        "peer1",
                        "peer2",
                        "codec",
                        "bye"
                      ],
                      "properties": {
                        "bye": {
                          "type": "boolean"
                        },
                        "codec": {
                          "type": "string"
                        },
                        "peer1": {
                          "type": "string"
                        },
                        "peer2": {
                          "type": "string"
                        },
                        "call_id": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    },
                    "codec": {
                      "type": "string"
                    },
                    "delay": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "jitter": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "ptypes": {
                      "type": [
                        "null",
                        "array"
                      ],
                      "items": {
                        "type": "object",
                        "required": [
                          "ptype",
                          "count"
                        ],
                        "properties": {
                          "count": {
                            "type": "integer"
                          },
                          "ptype": {
                            "type": "integer"
                          },
                          "avg_ptime_ms": {
                            "type": [
                              "null",
                              "number"
                            ]
                          },
                          "max_ptime_ms": {
                            "type": [
                              "null",
                              "number"
                            ]
                          },
                          "min_ptime_ms": {
                            "type": [
                              "null",
                              "number"
                            ]
                          },
                          "avg_size_bytes": {
                            "type": [
                              "null",
                              "number"
                            ]
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "endtime": {
                      "type": "integer"
                    },
                    "rfc2833": {
                      "type": [
                        "null",
                        "array"
                      ],
                      "items": {
                        "type": "object",
                        "required": [
                          "time_us",
                          "time",
                          "tone"
                        ],
                        "properties": {
                          "time": {
                            "type": "string"
                          },
                          "tone": {
                            "type": "string"
                          },
                          "time_us": {
                            "type": "integer"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "rtp_src": {
                      "type": "string"
                    },
                    "features": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "mos_vote": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "rtp_dest": {
                      "type": "string"
                    },
                    "rtp_lost": {
                      "type": "integer"
                    },
                    "rtp_ssrc": {
                      "type": "integer"
                    },
                    "is_silent": {
                      "type": [
                        "null",
                        "boolean"
                      ]
                    },
                    "mos_model": {
                      "type": "string"
                    },
                    "starttime": {
                      "type": "integer"
                    },
                    "stream_id": {
                      "type": "integer"
                    },
                    "mos_sevana": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "endtime_str": {
                      "type": "string"
                    },
                    "mos_network": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "packet_loss": {
                      "type": [
                        "null",
                        "array"
                      ],
                      "items": {
                        "type": "object",
                        "required": [
                          "time_start_us",
                          "time_end_us",
                          "time_start",
                          "time_end",
                          "offset_start",
                          "offset_end",
                          "gap"
                        ],
                        "properties": {
                          "gap": {
                            "type": "integer"
                          },
                          "time_end": {
                            "type": "string"
                          },
                          "offset_end": {
                            "type": [
                              "null",
                              "number"
                            ]
                          },
                          "time_start": {
                            "type": "string"
                          },
                          "time_end_us": {
                            "type": "integer"
                          },
                          "offset_start": {
                            "type": [
                              "null",
                              "number"
                            ]
                          },
                          "time_start_us": {
                            "type": "integer"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "rtp_counter": {
                      "type": "integer"
                    },
                    "rtp_illegal": {
                      "type": "integer"
                    },
                    "rtcp_counter": {
                      "type": "integer"
                    },
                    "starttime_str": {
                      "type": "string"
                    },
                    "detector_report": {
                      "type": [
                        "null",
                        "object"
                      ],
                      "required": [
                        "mos",
                        "rfactor",
                        "imps",
                        "echo",
                        "headers",
                        "rows"
                      ],
                      "properties": {
                        "mos": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "echo": {
                          "type": [
                            "null",
                            "array"
                          ],
                          "items": {
                            "type": "object",
                            "required": [
                              "time_ms",
                              "level",
                              "length"
                            ],
                            "properties": {
                              "level": {
                                "type": [
                                  "null",
                                  "number"
                                ]
                              },
                              "length": {
                                "type": [
                                  "null",
                                  "number"
                                ]
                              },
                              "time_ms": {
                                "type": "integer"
                              }
                            },
                            "additionalProperties": false
                          }
                        },
                        "imps": {
                          "type": [
                            "null",
                            "array"
                          ],
                          "items": {
                            "type": "object",
                            "additionalProperties": {
                              "type": "integer"
                            }
                          }
                        },
                        "rows": {
                          "type": [
                            "null",
                            "array"
                          ],
                          "items": {
                            "type": [
                              "null",
                              "array"
                            ],
                            "items": {
                              "type": "string"
                            }
                          }
                        },
                        "headers": {
                          "type": [
                            "null",
                            "array"
                          ],
                          "items": {
                            "type": "string"
                          }
                        },
                        "rfactor": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "vote_mos": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "mos_model": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "additionalProperties": false
                }
              },
              "software": {
                "type": "string"
              },
              "sip_calls": {
                "type": [
                  "null",
                  "array"
                ],
                "items": {
                  "type": "object",
                  "required": [
                    "callid",
                    "peer_a",
                    "peer_b",
                    "response_codes",
                    "messages",
                    "reinvite",
                    "time_media_start_us",
                    "time_media_end_us",
                    "time_media_start",
                    "time_media_end",
                    "time_activity_start_us",
                    "time_activity_end_us",
                    "time_activity_start",
                    "time_activity_end",
                    "diagnostics"
                  ],
                  "properties": {
                    "callid": {
                      "type": "string"
                    },
                    "health": {
                      "type": [
                        "null",
                        "array"
                      ],
                      "items": {
                        "type": "object",
                        "required": [
                          "code",
                          "tag",
                          "explanation",
                          "stream_ids"
                        ],
                        "properties": {
                          "tag": {
                            "type": "string"
                          },
                          "code": {
                            "type": "string"
                          },
                          "stream_ids": {
                            "type": [
                              "null",
                              "array"
                            ],
                            "items": {
                              "type": "integer"
                            }
                          },
                          "explanation": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "peer_a": {
                      "type": "string"
                    },
                    "peer_b": {
                      "type": "string"
                    },
                    "messages": {
                      "type": [
                        "null",
                        "array"
                      ],
                      "items": {
                        "type": "object",
                        "required": [
                          "time",
                          "us",
                          "msg"
                        ],
                        "properties": {
                          "us": {
                            "type": "integer"
                          },
                          "msg": {
                            "type": "string"
                          },
                          "time": {
                            "type": "string"
                          },
                          "transport": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "reinvite": {
                      "type": [
                        "null",
                        "array"
                      ],
                      "items": {
                        "type": "object",
                        "required": [
                          "time",
                          "us",
                          "is_request",
                          "msg"
                        ],
                        "properties": {
                          "us": {
                            "type": "integer"
                          },
                          "msg": {
                            "type": "string"
                          },
                          "time": {
                            "type": "string"
                          },
                          "is_request": {
                            "type": "boolean"
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "diagnostics": {
                      "type": "string"
                    },
                    "useragent_a": {
                      "type": "string"
                    },
                    "useragent_b": {
                      "type": "string"
                    },
                    "response_codes": {
                      "type": "string"
                    },
                    "time_media_end": {
                      "type": "string"
                    },
                    "time_media_start": {
                      "type": "string"
                    },
                    "time_activity_end": {
                      "type": "string"
                    },
                    "time_media_end_us": {
                      "type": "integer"
                    },
                    "time_activity_start": {
                      "type": "string"
                    },
                    "time_media_start_us": {
                      "type": "integer"
                    },
                    "time_activity_end_us": {
                      "type": "integer"
                    },
                    "time_activity_start_us": {
                      "type": "integer"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "statistics": {
                "type": [
                  "null",
                  "object"
                ],
                "properties": {
                  "sevana_mos": {
                    "type": [
                      "null",
                      "object"
                    ],
                    "required": [
                      "target",
                      "sample_count",
                      "analysis_tier",
                      "algorithms",
                      "descriptive",
                      "correlations"
                    ],
                    "properties": {
                      "lasso": true,
                      "target": {
                        "type": "string"
                      },
                      "algorithms": {
                        "type": [
                          "null",
                          "array"
                        ],
                        "items": {
                          "type": "string"
                        }
                      },
                      "regression": true,
                      "descriptive": {
                        "type": [
                          "null",
                          "array"
                        ],
                        "items": {
                          "type": "object",
                          "additionalProperties": true
                        }
                      },
                      "correlations": {
                        "type": [
                          "null",
                          "array"
                        ],
                        "items": {
                          "type": "object",
                          "additionalProperties": true
                        }
                      },
                      "sample_count": {
                        "type": "integer"
                      },
                      "analysis_tier": {
                        "type": "string"
                      },
                      "excluded_features": {
                        "type": [
                          "null",
                          "array"
                        ],
                        "items": {
                          "type": "string"
                        }
                      }
                    },
                    "additionalProperties": false
                  },
                  "network_mos": {
                    "type": [
                      "null",
                      "object"
                    ],
                    "required": [
                      "target",
                      "sample_count",
                      "analysis_tier",
                      "algorithms",
                      "descriptive",
                      "correlations"
                    ],
                    "properties": {
                      "lasso": true,
                      "target": {
                        "type": "string"
                      },
                      "algorithms": {
                        "type": [
                          "null",
                          "array"
                        ],
                        "items": {
                          "type": "string"
                        }
                      },
                      "regression": true,
                      "descriptive": {
                        "type": [
                          "null",
                          "array"
                        ],
                        "items": {
                          "type": "object",
                          "additionalProperties": true
                        }
                      },
                      "correlations": {
                        "type": [
                          "null",
                          "array"
                        ],
                        "items": {
                          "type": "object",
                          "additionalProperties": true
                        }
                      },
                      "sample_count": {
                        "type": "integer"
                      },
                      "analysis_tier": {
                        "type": "string"
                      },
                      "excluded_features": {
                        "type": [
                          "null",
                          "array"
                        ],
                        "items": {
                          "type": "string"
                        }
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              },
              "next_cursor": {
                "type": [
                  "null",
                  "integer"
                ]
              },
              "sip_statistics": {
                "type": [
                  "null",
                  "array"
                ],
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "value"
                  ],
                  "properties": {
                    "info": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "value": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "packet_counters": {
                "type": [
                  "null",
                  "array"
                ],
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "value"
                  ],
                  "properties": {
                    "info": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "value": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "subnet_statistics": {
                "type": [
                  "null",
                  "array"
                ],
                "items": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": false
          }
        },
        {
          "name": "pcap_get_call",
          "title": "PCAP: one SIP call",
          "description": "One SIP call of a finished PCAP analysis: peers, user agents, response codes, timing, the SIP message ladder (method or status line per message), health warnings and the call's streams.",
          "inputSchema": {
            "type": "object",
            "required": [
              "job_id",
              "call_id"
            ],
            "properties": {
              "job_id": {
                "type": "string",
                "description": "job_id returned by pcap_analyze"
              },
              "call_id": {
                "type": "string",
                "description": "SIP Call-ID, as listed by pcap_summary"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "call_id",
              "peer_a",
              "peer_b",
              "response_codes",
              "media_duration_s",
              "sip_messages",
              "stream_ids",
              "health",
              "reinvites",
              "ladder",
              "streams"
            ],
            "properties": {
              "health": {
                "type": [
                  "null",
                  "array"
                ],
                "items": {
                  "type": "object",
                  "required": [
                    "tag",
                    "explanation"
                  ],
                  "properties": {
                    "tag": {
                      "type": "string"
                    },
                    "stream_ids": {
                      "type": [
                        "null",
                        "array"
                      ],
                      "items": {
                        "type": "integer"
                      }
                    },
                    "explanation": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                },
                "description": "analyzer warnings: one-way audio, codec/ptime asymmetry, late media, ...; empty = healthy"
              },
              "ladder": {
                "type": [
                  "null",
                  "array"
                ],
                "items": {
                  "type": "object",
                  "required": [
                    "time",
                    "us",
                    "line"
                  ],
                  "properties": {
                    "us": {
                      "type": "integer"
                    },
                    "line": {
                      "type": "string",
                      "description": "request or status line of the message"
                    },
                    "time": {
                      "type": "string"
                    },
                    "transport": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                },
                "description": "SIP flow; full messages via pcap_sip_messages"
              },
              "peer_a": {
                "type": "string"
              },
              "peer_b": {
                "type": "string"
              },
              "call_id": {
                "type": "string"
              },
              "streams": {
                "type": [
                  "null",
                  "array"
                ],
                "items": {
                  "type": "object",
                  "required": [
                    "stream_id",
                    "src",
                    "dest",
                    "codec",
                    "mos_sevana",
                    "mos_network",
                    "packets",
                    "lost",
                    "loss_percent",
                    "duration_s",
                    "impairments",
                    "dtmf_events"
                  ],
                  "properties": {
                    "src": {
                      "type": "string"
                    },
                    "dest": {
                      "type": "string"
                    },
                    "lost": {
                      "type": "integer"
                    },
                    "codec": {
                      "type": "string"
                    },
                    "call_id": {
                      "type": "string"
                    },
                    "packets": {
                      "type": "integer"
                    },
                    "delay_ms": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "is_silent": {
                      "type": [
                        "null",
                        "boolean"
                      ]
                    },
                    "jitter_ms": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "stream_id": {
                      "type": "integer"
                    },
                    "duration_s": {
                      "type": "number"
                    },
                    "mos_sevana": {
                      "type": [
                        "null",
                        "number"
                      ],
                      "description": "listening-quality MOS from the decoded speech (1-5); 0 or null = not scored (e.g. SRTP without key)"
                    },
                    "dtmf_events": {
                      "type": "integer"
                    },
                    "impairments": {
                      "type": "object",
                      "description": "PVQA detector -> number of 0.68 s intervals where it fired",
                      "additionalProperties": {
                        "type": "integer"
                      }
                    },
                    "mos_network": {
                      "type": [
                        "null",
                        "number"
                      ],
                      "description": "MOS estimated from loss and jitter only"
                    },
                    "loss_percent": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "media_end": {
                "type": "string"
              },
              "reinvites": {
                "type": "integer"
              },
              "worst_mos": {
                "type": [
                  "null",
                  "number"
                ],
                "description": "lowest Sevana MOS of the call's streams"
              },
              "stream_ids": {
                "type": [
                  "null",
                  "array"
                ],
                "items": {
                  "type": "integer"
                }
              },
              "diagnostics": {
                "type": "string"
              },
              "media_start": {
                "type": "string"
              },
              "useragent_a": {
                "type": "string"
              },
              "useragent_b": {
                "type": "string"
              },
              "activity_end": {
                "type": "string"
              },
              "sip_messages": {
                "type": "integer"
              },
              "activity_start": {
                "type": "string"
              },
              "response_codes": {
                "type": "string"
              },
              "media_duration_s": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": false
          }
        },
        {
          "name": "pcap_get_stream",
          "title": "PCAP: one RTP stream",
          "description": "Full detail of one RTP stream: quality (Sevana and network MOS, R-factor, impairments, echo), loss gaps, payload types, DTMF events. include_timeline adds PVQA's per-interval (0.68 s) detector table.",
          "inputSchema": {
            "type": "object",
            "required": [
              "job_id",
              "stream_id"
            ],
            "properties": {
              "job_id": {
                "type": "string",
                "description": "job_id returned by pcap_analyze"
              },
              "stream_id": {
                "type": "integer",
                "description": "stream_id as listed by pcap_summary or pcap_get_call (valid only for this job)"
              },
              "include_timeline": {
                "type": "boolean",
                "description": "add the per-interval PVQA detector table (large)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "summary",
              "stream"
            ],
            "properties": {
              "stream": {
                "type": [
                  "null",
                  "object"
                ],
                "required": [
                  "stream_id",
                  "rtp_ssrc",
                  "rtp_src",
                  "rtp_dest",
                  "mos_sevana",
                  "mos_network",
                  "rtp_counter",
                  "rtp_lost",
                  "rtp_illegal",
                  "rtcp_counter",
                  "jitter",
                  "delay",
                  "codec",
                  "starttime",
                  "endtime",
                  "ptypes",
                  "packet_loss",
                  "rfc2833"
                ],
                "properties": {
                  "sip": {
                    "type": [
                      "null",
                      "object"
                    ],
                    "required": [
                      "call_id",
                      "peer1",
                      "peer2",
                      "codec",
                      "bye"
                    ],
                    "properties": {
                      "bye": {
                        "type": "boolean"
                      },
                      "codec": {
                        "type": "string"
                      },
                      "peer1": {
                        "type": "string"
                      },
                      "peer2": {
                        "type": "string"
                      },
                      "call_id": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  },
                  "codec": {
                    "type": "string"
                  },
                  "delay": {
                    "type": [
                      "null",
                      "number"
                    ]
                  },
                  "jitter": {
                    "type": [
                      "null",
                      "number"
                    ]
                  },
                  "ptypes": {
                    "type": [
                      "null",
                      "array"
                    ],
                    "items": {
                      "type": "object",
                      "required": [
                        "ptype",
                        "count"
                      ],
                      "properties": {
                        "count": {
                          "type": "integer"
                        },
                        "ptype": {
                          "type": "integer"
                        },
                        "avg_ptime_ms": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "max_ptime_ms": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "min_ptime_ms": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "avg_size_bytes": {
                          "type": [
                            "null",
                            "number"
                          ]
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "endtime": {
                    "type": "integer"
                  },
                  "rfc2833": {
                    "type": [
                      "null",
                      "array"
                    ],
                    "items": {
                      "type": "object",
                      "required": [
                        "time_us",
                        "time",
                        "tone"
                      ],
                      "properties": {
                        "time": {
                          "type": "string"
                        },
                        "tone": {
                          "type": "string"
                        },
                        "time_us": {
                          "type": "integer"
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "rtp_src": {
                    "type": "string"
                  },
                  "features": {
                    "type": "object",
                    "additionalProperties": true
                  },
                  "mos_vote": {
                    "type": [
                      "null",
                      "number"
                    ]
                  },
                  "rtp_dest": {
                    "type": "string"
                  },
                  "rtp_lost": {
                    "type": "integer"
                  },
                  "rtp_ssrc": {
                    "type": "integer"
                  },
                  "is_silent": {
                    "type": [
                      "null",
                      "boolean"
                    ]
                  },
                  "mos_model": {
                    "type": "string"
                  },
                  "starttime": {
                    "type": "integer"
                  },
                  "stream_id": {
                    "type": "integer"
                  },
                  "mos_sevana": {
                    "type": [
                      "null",
                      "number"
                    ]
                  },
                  "endtime_str": {
                    "type": "string"
                  },
                  "mos_network": {
                    "type": [
                      "null",
                      "number"
                    ]
                  },
                  "packet_loss": {
                    "type": [
                      "null",
                      "array"
                    ],
                    "items": {
                      "type": "object",
                      "required": [
                        "time_start_us",
                        "time_end_us",
                        "time_start",
                        "time_end",
                        "offset_start",
                        "offset_end",
                        "gap"
                      ],
                      "properties": {
                        "gap": {
                          "type": "integer"
                        },
                        "time_end": {
                          "type": "string"
                        },
                        "offset_end": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "time_start": {
                          "type": "string"
                        },
                        "time_end_us": {
                          "type": "integer"
                        },
                        "offset_start": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "time_start_us": {
                          "type": "integer"
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "rtp_counter": {
                    "type": "integer"
                  },
                  "rtp_illegal": {
                    "type": "integer"
                  },
                  "rtcp_counter": {
                    "type": "integer"
                  },
                  "starttime_str": {
                    "type": "string"
                  },
                  "detector_report": {
                    "type": [
                      "null",
                      "object"
                    ],
                    "required": [
                      "mos",
                      "rfactor",
                      "imps",
                      "echo",
                      "headers",
                      "rows"
                    ],
                    "properties": {
                      "mos": {
                        "type": [
                          "null",
                          "number"
                        ]
                      },
                      "echo": {
                        "type": [
                          "null",
                          "array"
                        ],
                        "items": {
                          "type": "object",
                          "required": [
                            "time_ms",
                            "level",
                            "length"
                          ],
                          "properties": {
                            "level": {
                              "type": [
                                "null",
                                "number"
                              ]
                            },
                            "length": {
                              "type": [
                                "null",
                                "number"
                              ]
                            },
                            "time_ms": {
                              "type": "integer"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "imps": {
                        "type": [
                          "null",
                          "array"
                        ],
                        "items": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "integer"
                          }
                        }
                      },
                      "rows": {
                        "type": [
                          "null",
                          "array"
                        ],
                        "items": {
                          "type": [
                            "null",
                            "array"
                          ],
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "headers": {
                        "type": [
                          "null",
                          "array"
                        ],
                        "items": {
                          "type": "string"
                        }
                      },
                      "rfactor": {
                        "type": [
                          "null",
                          "number"
                        ]
                      },
                      "vote_mos": {
                        "type": [
                          "null",
                          "number"
                        ]
                      },
                      "mos_model": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "description": "all fields of the stream as reported by the analyzer (no audio)",
                "additionalProperties": false
              },
              "summary": {
                "type": "object",
                "required": [
                  "stream_id",
                  "src",
                  "dest",
                  "codec",
                  "mos_sevana",
                  "mos_network",
                  "packets",
                  "lost",
                  "loss_percent",
                  "duration_s",
                  "impairments",
                  "dtmf_events"
                ],
                "properties": {
                  "src": {
                    "type": "string"
                  },
                  "dest": {
                    "type": "string"
                  },
                  "lost": {
                    "type": "integer"
                  },
                  "codec": {
                    "type": "string"
                  },
                  "call_id": {
                    "type": "string"
                  },
                  "packets": {
                    "type": "integer"
                  },
                  "delay_ms": {
                    "type": [
                      "null",
                      "number"
                    ]
                  },
                  "is_silent": {
                    "type": [
                      "null",
                      "boolean"
                    ]
                  },
                  "jitter_ms": {
                    "type": [
                      "null",
                      "number"
                    ]
                  },
                  "stream_id": {
                    "type": "integer"
                  },
                  "duration_s": {
                    "type": "number"
                  },
                  "mos_sevana": {
                    "type": [
                      "null",
                      "number"
                    ],
                    "description": "listening-quality MOS from the decoded speech (1-5); 0 or null = not scored (e.g. SRTP without key)"
                  },
                  "dtmf_events": {
                    "type": "integer"
                  },
                  "impairments": {
                    "type": "object",
                    "description": "PVQA detector -> number of 0.68 s intervals where it fired",
                    "additionalProperties": {
                      "type": "integer"
                    }
                  },
                  "mos_network": {
                    "type": [
                      "null",
                      "number"
                    ],
                    "description": "MOS estimated from loss and jitter only"
                  },
                  "loss_percent": {
                    "type": "number"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": false
          }
        },
        {
          "name": "pcap_network_stats",
          "title": "PCAP: network statistics",
          "description": "Network view of a finished PCAP analysis: packet and SIP counters, per-stream loss, jitter, delay and network MOS, and the aggregate statistics (correlations of MOS with network features) when computed.",
          "inputSchema": {
            "type": "object",
            "required": [
              "job_id"
            ],
            "properties": {
              "job_id": {
                "type": "string",
                "description": "job_id returned by pcap_analyze"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "packet_counters",
              "sip_statistics",
              "streams"
            ],
            "properties": {
              "streams": {
                "type": [
                  "null",
                  "array"
                ],
                "items": {
                  "type": "object",
                  "required": [
                    "stream_id",
                    "src",
                    "dest",
                    "codec",
                    "mos_network",
                    "packets",
                    "lost",
                    "illegal",
                    "rtcp",
                    "loss_gaps",
                    "payload_types"
                  ],
                  "properties": {
                    "src": {
                      "type": "string"
                    },
                    "dest": {
                      "type": "string"
                    },
                    "lost": {
                      "type": "integer"
                    },
                    "rtcp": {
                      "type": "integer"
                    },
                    "codec": {
                      "type": "string"
                    },
                    "call_id": {
                      "type": "string"
                    },
                    "illegal": {
                      "type": "integer"
                    },
                    "packets": {
                      "type": "integer"
                    },
                    "delay_ms": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "jitter_ms": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "loss_gaps": {
                      "type": "integer"
                    },
                    "stream_id": {
                      "type": "integer"
                    },
                    "mos_network": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "payload_types": {
                      "type": [
                        "null",
                        "array"
                      ],
                      "items": {
                        "type": "object",
                        "required": [
                          "ptype",
                          "count"
                        ],
                        "properties": {
                          "count": {
                            "type": "integer"
                          },
                          "ptype": {
                            "type": "integer"
                          },
                          "avg_ptime_ms": {
                            "type": [
                              "null",
                              "number"
                            ]
                          },
                          "max_ptime_ms": {
                            "type": [
                              "null",
                              "number"
                            ]
                          },
                          "min_ptime_ms": {
                            "type": [
                              "null",
                              "number"
                            ]
                          },
                          "avg_size_bytes": {
                            "type": [
                              "null",
                              "number"
                            ]
                          }
                        },
                        "additionalProperties": false
                      }
                    }
                  },
                  "additionalProperties": false
                }
              },
              "statistics": {
                "type": [
                  "null",
                  "object"
                ],
                "properties": {
                  "sevana_mos": {
                    "type": [
                      "null",
                      "object"
                    ],
                    "required": [
                      "target",
                      "sample_count",
                      "analysis_tier",
                      "algorithms",
                      "descriptive",
                      "correlations"
                    ],
                    "properties": {
                      "lasso": true,
                      "target": {
                        "type": "string"
                      },
                      "algorithms": {
                        "type": [
                          "null",
                          "array"
                        ],
                        "items": {
                          "type": "string"
                        }
                      },
                      "regression": true,
                      "descriptive": {
                        "type": [
                          "null",
                          "array"
                        ],
                        "items": {
                          "type": "object",
                          "additionalProperties": true
                        }
                      },
                      "correlations": {
                        "type": [
                          "null",
                          "array"
                        ],
                        "items": {
                          "type": "object",
                          "additionalProperties": true
                        }
                      },
                      "sample_count": {
                        "type": "integer"
                      },
                      "analysis_tier": {
                        "type": "string"
                      },
                      "excluded_features": {
                        "type": [
                          "null",
                          "array"
                        ],
                        "items": {
                          "type": "string"
                        }
                      }
                    },
                    "additionalProperties": false
                  },
                  "network_mos": {
                    "type": [
                      "null",
                      "object"
                    ],
                    "required": [
                      "target",
                      "sample_count",
                      "analysis_tier",
                      "algorithms",
                      "descriptive",
                      "correlations"
                    ],
                    "properties": {
                      "lasso": true,
                      "target": {
                        "type": "string"
                      },
                      "algorithms": {
                        "type": [
                          "null",
                          "array"
                        ],
                        "items": {
                          "type": "string"
                        }
                      },
                      "regression": true,
                      "descriptive": {
                        "type": [
                          "null",
                          "array"
                        ],
                        "items": {
                          "type": "object",
                          "additionalProperties": true
                        }
                      },
                      "correlations": {
                        "type": [
                          "null",
                          "array"
                        ],
                        "items": {
                          "type": "object",
                          "additionalProperties": true
                        }
                      },
                      "sample_count": {
                        "type": "integer"
                      },
                      "analysis_tier": {
                        "type": "string"
                      },
                      "excluded_features": {
                        "type": [
                          "null",
                          "array"
                        ],
                        "items": {
                          "type": "string"
                        }
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              },
              "sip_statistics": {
                "type": [
                  "null",
                  "array"
                ],
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "value"
                  ],
                  "properties": {
                    "info": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "value": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "packet_counters": {
                "type": [
                  "null",
                  "array"
                ],
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "value"
                  ],
                  "properties": {
                    "info": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "value": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": false
          }
        },
        {
          "name": "pcap_sip_messages",
          "title": "PCAP: SIP messages",
          "description": "SIP messages of a finished PCAP analysis, exactly as captured (headers and SDP bodies), in time order. Filter by call_id; paged with cursor/limit.",
          "inputSchema": {
            "type": "object",
            "required": [
              "job_id"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "description": "messages per page (default 50, max 200)"
              },
              "cursor": {
                "type": "integer",
                "description": "index of the first message (from next_cursor)"
              },
              "job_id": {
                "type": "string",
                "description": "job_id returned by pcap_analyze"
              },
              "call_id": {
                "type": "string",
                "description": "only this call (default: all calls)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "total",
              "messages"
            ],
            "properties": {
              "total": {
                "type": "integer"
              },
              "messages": {
                "type": [
                  "null",
                  "array"
                ],
                "items": {
                  "type": "object",
                  "required": [
                    "call_id",
                    "time",
                    "us",
                    "message"
                  ],
                  "properties": {
                    "us": {
                      "type": "integer"
                    },
                    "time": {
                      "type": "string"
                    },
                    "call_id": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string",
                      "description": "the SIP message as captured, headers and body"
                    },
                    "transport": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "next_cursor": {
                "type": [
                  "null",
                  "integer"
                ]
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": false
          }
        },
        {
          "name": "pcap_summary",
          "title": "PCAP: summary",
          "description": "Overview of a finished PCAP analysis: packet totals, SIP calls with their health warnings, and streams ordered worst Sevana MOS first, each with codec, MOS, loss, jitter and impairments.",
          "inputSchema": {
            "type": "object",
            "required": [
              "job_id"
            ],
            "properties": {
              "job_id": {
                "type": "string",
                "description": "job_id returned by pcap_analyze"
              },
              "max_calls": {
                "type": "integer",
                "description": "calls to list (default 50, max 200)"
              },
              "max_streams": {
                "type": "integer",
                "description": "streams to list (default 50, max 200)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "job_id",
              "packets",
              "calls",
              "streams",
              "streams_scored",
              "call_list",
              "stream_list"
            ],
            "properties": {
              "calls": {
                "type": "integer"
              },
              "job_id": {
                "type": "string"
              },
              "omitted": {
                "type": "object",
                "description": "calls/streams left out of the lists; see pcap_full_report",
                "additionalProperties": {
                  "type": "integer"
                }
              },
              "packets": {
                "type": "object",
                "description": "main packet counters",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "streams": {
                "type": "integer"
              },
              "software": {
                "type": "string"
              },
              "call_list": {
                "type": [
                  "null",
                  "array"
                ],
                "items": {
                  "type": "object",
                  "required": [
                    "call_id",
                    "peer_a",
                    "peer_b",
                    "response_codes",
                    "media_duration_s",
                    "sip_messages",
                    "stream_ids",
                    "health"
                  ],
                  "properties": {
                    "health": {
                      "type": [
                        "null",
                        "array"
                      ],
                      "items": {
                        "type": "object",
                        "required": [
                          "tag",
                          "explanation"
                        ],
                        "properties": {
                          "tag": {
                            "type": "string"
                          },
                          "stream_ids": {
                            "type": [
                              "null",
                              "array"
                            ],
                            "items": {
                              "type": "integer"
                            }
                          },
                          "explanation": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      },
                      "description": "analyzer warnings: one-way audio, codec/ptime asymmetry, late media, ...; empty = healthy"
                    },
                    "peer_a": {
                      "type": "string"
                    },
                    "peer_b": {
                      "type": "string"
                    },
                    "call_id": {
                      "type": "string"
                    },
                    "worst_mos": {
                      "type": [
                        "null",
                        "number"
                      ],
                      "description": "lowest Sevana MOS of the call's streams"
                    },
                    "stream_ids": {
                      "type": [
                        "null",
                        "array"
                      ],
                      "items": {
                        "type": "integer"
                      }
                    },
                    "diagnostics": {
                      "type": "string"
                    },
                    "media_start": {
                      "type": "string"
                    },
                    "sip_messages": {
                      "type": "integer"
                    },
                    "response_codes": {
                      "type": "string"
                    },
                    "media_duration_s": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "worst_mos": {
                "type": [
                  "null",
                  "number"
                ]
              },
              "average_mos": {
                "type": [
                  "null",
                  "number"
                ]
              },
              "stream_list": {
                "type": [
                  "null",
                  "array"
                ],
                "items": {
                  "type": "object",
                  "required": [
                    "stream_id",
                    "src",
                    "dest",
                    "codec",
                    "mos_sevana",
                    "mos_network",
                    "packets",
                    "lost",
                    "loss_percent",
                    "duration_s",
                    "impairments",
                    "dtmf_events"
                  ],
                  "properties": {
                    "src": {
                      "type": "string"
                    },
                    "dest": {
                      "type": "string"
                    },
                    "lost": {
                      "type": "integer"
                    },
                    "codec": {
                      "type": "string"
                    },
                    "call_id": {
                      "type": "string"
                    },
                    "packets": {
                      "type": "integer"
                    },
                    "delay_ms": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "is_silent": {
                      "type": [
                        "null",
                        "boolean"
                      ]
                    },
                    "jitter_ms": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "stream_id": {
                      "type": "integer"
                    },
                    "duration_s": {
                      "type": "number"
                    },
                    "mos_sevana": {
                      "type": [
                        "null",
                        "number"
                      ],
                      "description": "listening-quality MOS from the decoded speech (1-5); 0 or null = not scored (e.g. SRTP without key)"
                    },
                    "dtmf_events": {
                      "type": "integer"
                    },
                    "impairments": {
                      "type": "object",
                      "description": "PVQA detector -> number of 0.68 s intervals where it fired",
                      "additionalProperties": {
                        "type": "integer"
                      }
                    },
                    "mos_network": {
                      "type": [
                        "null",
                        "number"
                      ],
                      "description": "MOS estimated from loss and jitter only"
                    },
                    "loss_percent": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": false
                },
                "description": "worst Sevana MOS first"
              },
              "streams_scored": {
                "type": "integer",
                "description": "streams with a Sevana MOS"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": false
          }
        },
        {
          "name": "pvqa_analyze",
          "title": "PVQA: voice quality of a recording",
          "description": "Non-intrusive voice quality analysis (Sevana PVQA) of an uploaded WAV file: predicted MOS (1-5) and the impairments found (low SNR, noise, dead air, clipping, clicks, echo, packet-loss artifacts, ...). No reference recording is needed. report_type \"extended\" adds the per-interval detector table.",
          "inputSchema": {
            "type": "object",
            "required": [
              "upload_id"
            ],
            "properties": {
              "channel": {
                "type": "integer",
                "description": "channel to analyze, from 0 (default 0); -1 mixes all channels"
              },
              "upload_id": {
                "type": "string",
                "description": "upload_id of a WAV file"
              },
              "report_type": {
                "type": "string",
                "description": "\"basic\" (default) or \"extended\" (adds the per-interval table)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "upload_id",
              "channel",
              "mos",
              "is_silent",
              "intervals",
              "impairments"
            ],
            "properties": {
              "mos": {
                "type": [
                  "null",
                  "number"
                ],
                "description": "predicted MOS (1-5); null when the file has no speech to score"
              },
              "channel": {
                "type": "integer"
              },
              "rfactor": {
                "type": [
                  "null",
                  "number"
                ],
                "description": "share of good intervals (0-1)"
              },
              "timeline": {
                "type": [
                  "null",
                  "object"
                ],
                "required": [
                  "columns",
                  "rows"
                ],
                "properties": {
                  "rows": {
                    "type": [
                      "null",
                      "array"
                    ],
                    "items": {
                      "type": [
                        "null",
                        "array"
                      ],
                      "items": {
                        "type": "string"
                      }
                    },
                    "description": "one row per 0.68 s interval, values as printed by the analyzer"
                  },
                  "columns": {
                    "type": [
                      "null",
                      "array"
                    ],
                    "items": {
                      "type": "string"
                    },
                    "description": "column names: Time, then one per detector, then Status"
                  }
                },
                "description": "per-interval detector values (report_type=extended only)",
                "additionalProperties": false
              },
              "intervals": {
                "type": "object",
                "required": [
                  "total",
                  "poor",
                  "uncertain",
                  "excluded"
                ],
                "properties": {
                  "poor": {
                    "type": "integer",
                    "description": "intervals with an impairment"
                  },
                  "total": {
                    "type": "integer",
                    "description": "number of 0.68 s analysis intervals"
                  },
                  "excluded": {
                    "type": "integer",
                    "description": "intervals excluded from the score (silence, DTMF)"
                  },
                  "uncertain": {
                    "type": "integer",
                    "description": "intervals the detectors could not classify"
                  }
                },
                "additionalProperties": false
              },
              "is_silent": {
                "type": "boolean",
                "description": "true when the file contains no signal"
              },
              "mos_model": {
                "type": "string",
                "description": "name of the learned MOS model that produced the score"
              },
              "upload_id": {
                "type": "string"
              },
              "impairments": {
                "type": [
                  "null",
                  "array"
                ],
                "items": {
                  "type": "object",
                  "required": [
                    "detector",
                    "intervals"
                  ],
                  "properties": {
                    "detector": {
                      "type": "string",
                      "description": "detector name, e.g. SNR, Echo, Click, DeadAir-00"
                    },
                    "intervals": {
                      "type": "integer",
                      "description": "number of intervals where this detector fired"
                    }
                  },
                  "additionalProperties": false
                },
                "description": "detectors that fired, with their interval counts"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": false
          }
        },
        {
          "name": "pvqa_detector",
          "title": "PVQA: raw detector values",
          "description": "Raw values of one PVQA detector over time for an uploaded WAV file. Detectors: SNR, DeadAir-00, DeadAir-01, Click, VADClip, AmpClip, DynClip, Echo, Noise, Crushed, DTMF.",
          "inputSchema": {
            "type": "object",
            "required": [
              "upload_id",
              "detector"
            ],
            "properties": {
              "channel": {
                "type": "integer",
                "description": "channel to analyze, from 0 (default 0)"
              },
              "detector": {
                "type": "string",
                "description": "detector name: SNR, DeadAir-00, DeadAir-01, Click, VADClip, AmpClip, DynClip, Echo, Noise, Crushed or DTMF"
              },
              "upload_id": {
                "type": "string",
                "description": "upload_id of a WAV file"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "upload_id",
              "detector",
              "names",
              "rows"
            ],
            "properties": {
              "rows": {
                "type": [
                  "null",
                  "array"
                ],
                "items": {
                  "type": "object",
                  "required": [
                    "offset_ms",
                    "values"
                  ],
                  "properties": {
                    "values": {
                      "type": [
                        "null",
                        "array"
                      ],
                      "items": {
                        "type": "number"
                      }
                    },
                    "offset_ms": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "names": {
                "type": [
                  "null",
                  "array"
                ],
                "items": {
                  "type": "string"
                },
                "description": "value names; the first is the detector's main value"
              },
              "detector": {
                "type": "string"
              },
              "upload_id": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": false
          }
        },
        {
          "name": "pvqa_timeline",
          "title": "PVQA: impairment timeline",
          "description": "Impairment timeline of an uploaded WAV file: which impairments PVQA detects at which time.",
          "inputSchema": {
            "type": "object",
            "required": [
              "upload_id"
            ],
            "properties": {
              "channel": {
                "type": "integer",
                "description": "channel to analyze, from 0 (default 0)"
              },
              "upload_id": {
                "type": "string",
                "description": "upload_id of a WAV file"
              },
              "resolution_ms": {
                "type": "integer",
                "description": "time step of the returned rows in ms (default 250, min 10); each row holds the maximum of every numeric column in its window. Coarsened automatically to stay within 1000 rows"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "upload_id",
              "channel",
              "resolution_ms",
              "columns",
              "rows"
            ],
            "properties": {
              "rows": {
                "type": [
                  "null",
                  "array"
                ],
                "items": {
                  "type": [
                    "null",
                    "array"
                  ],
                  "items": true
                }
              },
              "channel": {
                "type": "integer"
              },
              "columns": {
                "type": [
                  "null",
                  "array"
                ],
                "items": {
                  "type": "string"
                },
                "description": "Time (seconds, window start), then detector values"
              },
              "upload_id": {
                "type": "string"
              },
              "resolution_ms": {
                "type": "integer"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": false
          }
        },
        {
          "name": "server_info",
          "title": "Server, limits and quota",
          "description": "Analyzer versions, your tier (free or API key), your limits and how many analyses you have left.",
          "inputSchema": {
            "type": "object",
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "server",
              "analyzers",
              "tier",
              "role",
              "limits",
              "upload_ttl_seconds"
            ],
            "properties": {
              "role": {
                "type": "string"
              },
              "tier": {
                "type": "string",
                "description": "\"free\" (no API key) or \"api_key\""
              },
              "limits": {
                "type": "object",
                "required": [
                  "analyses",
                  "window_seconds",
                  "max_wav_bytes",
                  "max_wav_seconds",
                  "max_pcap_bytes",
                  "max_inline_bytes",
                  "concurrent"
                ],
                "properties": {
                  "analyses": {
                    "type": "integer",
                    "description": "analyses allowed per window (0 = unlimited)"
                  },
                  "remaining": {
                    "type": [
                      "null",
                      "integer"
                    ],
                    "description": "analyses left in the current window"
                  },
                  "concurrent": {
                    "type": "integer"
                  },
                  "max_wav_bytes": {
                    "type": "integer"
                  },
                  "max_pcap_bytes": {
                    "type": "integer"
                  },
                  "window_seconds": {
                    "type": "integer"
                  },
                  "max_wav_seconds": {
                    "type": "number"
                  },
                  "max_inline_bytes": {
                    "type": "integer"
                  }
                },
                "additionalProperties": false
              },
              "server": {
                "type": "string"
              },
              "key_name": {
                "type": "string"
              },
              "analyzers": {
                "type": "object",
                "description": "analyzer name -> version",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "upload_ttl_seconds": {
                "type": "integer"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": false
          }
        },
        {
          "name": "upload_inline",
          "title": "Upload a small file inline",
          "description": "Upload a WAV or pcap file as base64 in the tool arguments (2 MB at most after decoding). Returns an upload_id for the analysis tools. Larger files: use create_upload.",
          "inputSchema": {
            "type": "object",
            "required": [
              "content_base64"
            ],
            "properties": {
              "kind": {
                "type": "string",
                "description": "file kind: \"wav\" (default) or \"pcap\""
              },
              "filename": {
                "type": "string",
                "description": "original file name, for display only"
              },
              "content_base64": {
                "type": "string",
                "description": "the whole file, base64 encoded"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "required": [
              "upload_id",
              "size_bytes",
              "expires_at"
            ],
            "properties": {
              "wav": {
                "type": [
                  "null",
                  "object"
                ],
                "required": [
                  "format",
                  "channels",
                  "sample_rate",
                  "bits_per_sample",
                  "duration_seconds"
                ],
                "properties": {
                  "format": {
                    "type": "integer"
                  },
                  "channels": {
                    "type": "integer"
                  },
                  "sample_rate": {
                    "type": "integer"
                  },
                  "bits_per_sample": {
                    "type": "integer"
                  },
                  "duration_seconds": {
                    "type": "number"
                  }
                },
                "additionalProperties": false
              },
              "filename": {
                "type": "string"
              },
              "upload_id": {
                "type": "string"
              },
              "expires_at": {
                "type": "string",
                "description": "the file is deleted at this time"
              },
              "size_bytes": {
                "type": "integer"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [
        {
          "name": "aqua-results",
          "uri": "sevana://docs/aqua-results",
          "mimeType": "text/markdown",
          "description": "How to read the MOS, percent and fault analysis of aqua_compare"
        },
        {
          "name": "pcap-report-fields",
          "uri": "sevana://docs/pcap-report-fields",
          "mimeType": "text/markdown",
          "description": "What the stream, call and counter fields of a PCAP analysis mean"
        },
        {
          "name": "pvqa-report-fields",
          "uri": "sevana://docs/pvqa-report-fields",
          "mimeType": "text/markdown",
          "description": "What the fields and detectors in a pvqa_analyze result mean"
        }
      ],
      "prompts": []
    },
    "instructions": "Sevana voice quality analysis.\n\n1. Get a file onto the server: create_upload (returns a one-time URL; PUT the file there, e.g. with curl -T) or upload_inline (base64, small files). Use kind \"wav\" for recordings and \"pcap\" for packet captures.\n2. Analyze it with its upload_id:\n   - pvqa_analyze: MOS and impairments of one WAV recording, no reference needed.\n   - aqua_compare: compare a degraded WAV with its reference WAV (MOS, percent, fault analysis).\n   - pcap_analyze: VoIP calls in a .pcap/.pcapng: SIP calls, RTP streams, MOS per stream, loss, jitter, call health. Runs as a job; read the result with pcap_summary, pcap_get_call, pcap_get_stream, pcap_sip_messages, pcap_dtmf, pcap_network_stats. Reports never contain decoded audio.\n3. Read sevana://docs/* for what the report fields mean.\n\nWithout an API key the free tier allows 10 analyses per hour. Uploads and results are deleted after an hour."
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}