{
  "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": "packetexchange.io",
    "site": "packetexchange.io",
    "addresses": [
      {
        "address": "172.67.187.28",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.176.0/20",
          "country": "US"
        }
      },
      {
        "address": "104.21.84.58",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.21.64.0/19",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3034::6815:543a",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3034::/48",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3030::ac43:bb1c",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3030::/48",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "172.67.187.28",
          "104.21.84.58",
          "2606:4700:3034::6815:543a",
          "2606:4700:3030::ac43:bb1c"
        ],
        "first_seen": "2026-11-23T21:41:02.380Z",
        "last_seen": "2026-11-23T21:41:02.380Z",
        "checks": 1
      },
      {
        "addresses": [
          "185.217.99.74"
        ],
        "first_seen": "2026-11-21T17:54:01.670Z",
        "last_seen": "2026-11-22T21:40:03.886Z",
        "checks": 2
      }
    ],
    "hosting": [],
    "software": [],
    "server_info": {
      "name": "PacketExchange",
      "version": "2.3.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "Apache",
      "access-control-allow-origin": "*"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 0,
      "sample": []
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.packetexchange",
      "total": 0,
      "sample": []
    },
    "same_repository": {
      "repository_url": "https://github.com/PacketExchangeIO/packetexchange-mcp",
      "total": 0,
      "sample": []
    },
    "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": "41534",
    "server_name": "io.packetexchange/mcp",
    "url": "https://packetexchange.io/mcp/http",
    "host": "packetexchange.io",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-23T21:41:02.380Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "1740ceaa6b986733de01641dafd6273da7834acd3489d7865a45a5191cb5fa17",
    "first_listed_at": "2026-11-21T17:54:01.670Z",
    "created_at": "2026-11-21T12:30:07.111Z",
    "resolved_addresses": [
      "172.67.187.28",
      "104.21.84.58",
      "2606:4700:3034::6815:543a",
      "2606:4700:3030::ac43:bb1c"
    ]
  },
  "server": {
    "name": "io.packetexchange/mcp",
    "title": "PacketExchange",
    "description": "SMS, voice calls, OTP verification, phone numbers and wholesale voice routes by Minutes Network.",
    "version": "2.1.0",
    "registry_status": "active",
    "repository_url": "https://github.com/PacketExchangeIO/packetexchange-mcp",
    "website_url": "https://packetexchange.io/mcp",
    "published_at": "2026-10-11T01:13:19.397Z",
    "updated_at": "2026-10-11T01:13:19.397Z",
    "first_seen": "2026-11-21T12:30:06.419Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [
      "reads-chain",
      "sends-messages",
      "takes-payment",
      "trades",
      "x402"
    ],
    "evm_addresses": [],
    "chains": [
      "base"
    ],
    "tokens": [
      "USDC"
    ],
    "computed_at": "2026-11-22T15:55:08.759Z"
  },
  "operator": {
    "key": "packetexchange.io",
    "name": "packetexchange.io",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 3,
    "answered": 3,
    "answered_percent": 100,
    "avg_listing_latency_ms": 1636,
    "first_check_in_window": "2026-11-21T17:54:01.670Z",
    "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"
      }
    ]
  },
  "tool_list": {
    "sha256": "1740ceaa6b986733de01641dafd6273da7834acd3489d7865a45a5191cb5fa17",
    "tools": 48,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-21T17:54:03.201Z",
    "tool_names": [
      "px_list_routes",
      "px_route_details",
      "px_market_summary",
      "px_resolve_route",
      "px_purchase_route",
      "px_list_purchases",
      "px_send_sms",
      "px_make_call",
      "px_get_call",
      "px_send_voice_otp",
      "px_verify_start",
      "px_verify_check",
      "px_get_balance",
      "px_list_transactions",
      "px_topup_x402",
      "switch_preview_routing",
      "switch_analytics_overview",
      "switch_analytics_breakdown",
      "switch_list_customers",
      "switch_create_customer",
      "switch_list_suppliers",
      "switch_create_supplier",
      "switch_set_route_plan_entries",
      "switch_assign_customer_routing",
      "switch_bulk_upsert_supplier_rates",
      "switch_bulk_upsert_sell_rates",
      "switch_create_invoice",
      "switch_list_invoices",
      "switch_ar_aging",
      "switch_create_payable",
      "switch_run_netting",
      "switch_fraud_events",
      "switch_update_fraud_settings",
      "wmmn_list_routes",
      "wmmn_route_details",
      "wmmn_market_summary",
      "wmmn_resolve_route",
      "wmmn_purchase_route",
      "wmmn_list_purchases",
      "wmmn_send_sms",
      "wmmn_make_call",
      "wmmn_get_call",
      "wmmn_send_voice_otp",
      "wmmn_verify_start",
      "wmmn_verify_check",
      "wmmn_get_balance",
      "wmmn_list_transactions",
      "wmmn_topup_x402"
    ],
    "declared": {
      "tools": [
        {
          "name": "px_list_routes",
          "description": "Read-only, free, no key needed. Search and filter live voice/SMS termination routes on the PacketExchange marketplace. By default it returns what the website shows: one row per route and mobile network, routes we have PROVEN first (tested_desc), each with two platform-measured marks: route_status (proven = a real call or our test connected to that network recently; weak = it connects but few calls do; at_risk = the latest test failed; untested = no evidence yet, not a fault) and caller_id (full = the caller ID arrived intact on a real phone on that network; replaced; none; untested). Every listing also carries a verification tier for the whole route (owner, 16 Oct 2026), and every view lists the best tier first: cli = \"International CLI\" (our international caller-ID test showed the exact number we sent, in full), ncli = \"NCLI\" (the test reached the phone with a different number or none), connected = \"Qualified\" (a real answered call or passed test, no caller-ID result), not_verified = \"Untested\" (not tested by us yet, or the latest test failed; new listings start here; still buyable). Quoted names are what the marketplace shows; the values are stable keys. Use verification=<tier> to keep one tier, or tested=true / verified_cli=true to keep only proven rows. Prices are USD per minute (voice) or per message (SMS). ASR/ACD figures are the SELLER-DECLARED expected values, not platform-measured. Route quality tiers (route_type): direct | premium | standard | ncli (NCLI = no caller ID: lowest cost, more intermediate carriers, and the called party does not see the number). Set per_network=false for one row per listing (a multi-destination A-Z deck then shows only its cheapest \"from\" rate, so check px_route_details). CALLER ID ORIGIN: some sellers price by where the call originates, judged by the caller ID sent (From and P-Asserted-Identity). origin_policy \"dual\" = two prices: origin_price applies when the call presents a VALID caller ID from origin_group (EEA = the 27 EU countries, Iceland, Liechtenstein, Norway), price applies to every other call (another country, no caller ID, or an invalid one). \"origin_only\" = the route carries only calls with a caller ID from origin_group; other calls go to your next route. Filter with origin_policy.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "sort": {
                "enum": [
                  "tested_desc",
                  "cli_desc",
                  "price_asc",
                  "price_desc",
                  "asr_desc",
                  "asr_asc",
                  "acd_desc",
                  "acd_asc",
                  "pdd_asc",
                  "pdd_desc",
                  "capacity_desc",
                  "created_desc",
                  "country_asc",
                  "score_desc",
                  "score_asc"
                ],
                "type": "string",
                "description": "Sort order. Default tested_desc: proven rows first (full caller ID ahead), then cheapest. cli_desc: verified caller ID first. tested_desc and cli_desc need per_network (the default). ASR/ACD/PDD sorts use the seller-declared values; score = Exchange Score"
              },
              "type": {
                "enum": [
                  "voice",
                  "sms"
                ],
                "type": "string",
                "description": "Traffic type: voice or sms"
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Max results, 1-100 (default 25)"
              },
              "search": {
                "type": "string",
                "description": "Search by country, dial code or number, mobile/fixed, tier (premium/direct/standard/ncli) or an operator name (e.g. \"Safaricom\")"
              },
              "tested": {
                "type": "boolean",
                "description": "Only rows proven to connect to their network (a real call or our test). Needs per_network"
              },
              "country": {
                "type": "string",
                "description": "Filter by country name, substring match (e.g. \"United Kingdom\")"
              },
              "min_asr": {
                "type": "string",
                "description": "Minimum seller-declared expected ASR in percent, e.g. \"40\""
              },
              "network": {
                "type": "string",
                "description": "Only this network, exact name as returned (e.g. \"Vodafone\"). Needs per_network"
              },
              "cli_type": {
                "enum": [
                  "full_cli",
                  "local_cli",
                  "mixed_cli",
                  "ncli"
                ],
                "type": "string",
                "description": "Caller-ID handling: full_cli (your CLI passed through), local_cli (a local number presented), mixed_cli (CLI passed on some calls), ncli (no CLI)"
              },
              "max_price": {
                "type": "string",
                "description": "Max price per unit in USD (per minute for voice, per message for SMS), e.g. \"0.0100\""
              },
              "route_type": {
                "enum": [
                  "direct",
                  "premium",
                  "standard",
                  "ncli"
                ],
                "type": "string",
                "description": "Route quality tier"
              },
              "per_network": {
                "type": "boolean",
                "description": "One row per route and mobile network, with the measured marks (default true). false = one row per listing, without marks"
              },
              "verification": {
                "enum": [
                  "cli",
                  "ncli",
                  "connected",
                  "not_verified"
                ],
                "type": "string",
                "description": "Only listings in this verification tier (voice): cli = International CLI, ncli = NCLI, connected = Qualified, not_verified = Untested. Omitted = every tier, best first"
              },
              "verified_cli": {
                "type": "boolean",
                "description": "Only rows where the caller ID arrived intact on a real phone on that network. Needs per_network"
              },
              "origin_policy": {
                "enum": [
                  "any",
                  "dual",
                  "origin_only"
                ],
                "type": "string",
                "description": "Caller ID origin: dual = listings with a separate (usually lower) price for an EEA caller ID; origin_only = listings that take EEA caller IDs only; any = one price for every caller. Omitted = all"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "count": {
                "description": "integer: number of routes returned"
              },
              "routes": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Route UUID, for px_route_details and px_purchase_route"
                    },
                    "cli": {
                      "description": "Caller ID handling, e.g. full_cli"
                    },
                    "ref": {
                      "description": "Short public listing reference, or null"
                    },
                    "type": {
                      "description": "voice or sms"
                    },
                    "price": {
                      "description": "Price per minute (voice) or per message (sms) in USD, \"from\" when the route has a per-destination deck"
                    },
                    "country": {
                      "description": "Country name"
                    },
                    "network": {
                      "description": "Mobile network this row covers (per-network rows), e.g. \"Vodafone\""
                    },
                    "quality": {
                      "description": "Route tier: direct, premium or standard"
                    },
                    "capacity": {
                      "description": "Maximum simultaneous calls or messages"
                    },
                    "caller_id": {
                      "description": "Caller ID seen on a real phone on this network: full, replaced, none or untested"
                    },
                    "proven_at": {
                      "description": "ISO time of the latest connected call or passed test, or null"
                    },
                    "destination": {
                      "description": "Destination name as listed"
                    },
                    "signal_bars": {
                      "description": "integer 0-4: the signal bars the marketplace draws for this row"
                    },
                    "expected_acd": {
                      "description": "Seller-declared average call duration in minutes, or N/A"
                    },
                    "expected_asr": {
                      "description": "Seller-declared answer-seizure ratio, or N/A"
                    },
                    "origin_basis": {
                      "description": "Plain sentence stating which price applies to which caller ID"
                    },
                    "origin_group": {
                      "description": "Origin group key, e.g. EEA, or null"
                    },
                    "origin_price": {
                      "description": "Lowest price for calls with a valid caller ID from origin_group, or null"
                    },
                    "route_status": {
                      "description": "Measured by the platform: proven, weak, at_risk or untested (untested is not a fault)"
                    },
                    "verification": {
                      "description": "Verification tier of the whole listing, measured by the platform: cli (International CLI), ncli (NCLI), connected (Qualified) or not_verified (Untested); null on SMS"
                    },
                    "origin_policy": {
                      "description": "Caller ID origin: any (one price), dual (origin_price for a valid caller ID from origin_group, price for every other call), origin_only (carries only caller IDs from origin_group)"
                    }
                  },
                  "additionalProperties": true
                },
                "description": "Matching rows: by default one per route and network, best verification tier first, then proven first"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Search marketplace routes",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "px_route_details",
          "description": "PacketExchange: Read-only, free, no key needed. Full details for one route — USD pricing, billing increment, seller-declared expected ASR/ACD/PDD, CLI type, capacity, and the first-party Exchange Score plus seller trust profile. originPolicy / originGroup / originPricing say whether the route is priced by caller ID origin: with \"dual\", originPricing.originFrom is the lowest price for calls presenting a valid caller ID from originGroup (EEA), and pricePerUnit / the deck rates are the International price for every other call; \"origin_only\" carries only calls with a caller ID from originGroup.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "route_id"
            ],
            "properties": {
              "route_id": {
                "type": "string",
                "format": "uuid",
                "description": "Route UUID (from px_list_routes)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "id": {
                "description": "string"
              },
              "kind": {
                "description": "string: One of: single, blend."
              },
              "type": {
                "description": "string: One of: voice, sms."
              },
              "prefix": {
                "description": "array: Dial prefixes the route covers"
              },
              "status": {
                "description": "string: One of: active, paused, suspended, pending_review."
              },
              "cliType": {
                "description": "string: One of: full_cli, ncli, partial_cli, local_cli, mixed_cli."
              },
              "country": {
                "description": "string"
              },
              "smsType": {
                "description": "string: One of: a2p, p2p, both."
              },
              "capacity": {
                "description": "integer: Channels (voice) or messages per second (SMS)"
              },
              "measured": {
                "description": "Measured quality from real calls; null until the listing has enough traffic from enough buyers"
              },
              "rateCount": {
                "description": "integer: Active per-destination deck rows; > 0 means an A-Z deck"
              },
              "routeType": {
                "description": "string: Quality tier One of: direct, premium, standard, ncli."
              },
              "listingRef": {
                "description": "string: Anonymous short reference of the listing (4 characters, e.g. \"7K2Q\"): stable for the life of the listing, unique enough to tell two same-named listings apart, and derived from the listing alone (it says nothing about the seller). Absent on your own listings."
              },
              "visibility": {
                "description": "string: One of: public, private."
              },
              "countryCode": {
                "description": "string: E.164 country calling code, digits only"
              },
              "expectedAcd": {
                "description": "string: Seller-stated ACD in seconds"
              },
              "expectedAsr": {
                "description": "string: Seller-stated ASR %. The measured figure is in `measured.asr`"
              },
              "expectedPdd": {
                "description": "string: Seller-stated PDD in seconds"
              },
              "originGroup": {
                "description": "string: Origin group key (EEA) when originPolicy is not any, else null"
              },
              "routeChecks": {
                "description": "Route checks on this listing in the last 7 days. Null when there were none."
              },
              "originPolicy": {
                "description": "string: Caller ID origin. One of: any, dual, origin_only."
              },
              "pricePerUnit": {
                "description": "USD per minute (voice) or per message segment (SMS). On an A-Z deck (rateCount > 0) the per-destination rates apply instead. On a route priced by caller ID origin (originPolicy dual) this is the International price; see originPricing."
              },
              "exchangeScore": {
                "description": "integer: Exchange Score 1-100, null until the route has carried real traffic. Uses the measured ASR, NER, ACD and PDD in place of the stated ones when the listing has recent measured figures"
              },
              "originPricing": {
                "description": "object: { policy, group, originFrom, internationalFrom, basis }: the lowest price for a valid caller ID from the group, the lowest price for every other call, and the rule in one sentence. null on a one-price route"
              },
              "otpCompatible": {
                "description": "boolean"
              },
              "destinationName": {
                "description": "string: The listing name. For anyone but the seller it is GENERATED by the platform from its own data, never the seller's text: \"<Country> <Operator?> <Mobile|Fixed|All Networks>\" for one destination (e.g. \"Niger Mobile\", \"Kenya Safaricom Mobile\"), \"A-Z Voice · <tier> · <CLI> · Ref XXXX\" or \"A-Z SMS"
              },
              "billingIncrement": {
                "description": "string: First/subsequent increment in seconds, e.g. \"60/60\""
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Route details",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "px_market_summary",
          "description": "PacketExchange: Read-only, free. Live marketplace snapshot: total routes, destinations, voice and SMS route counts, market status and as-of time. When the connection carries an API key, the averages are included too (capacity, average and measured ASR, ACD and USD price); without a key only the counts are returned. 24h trading volumes are not part of this summary.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "asOf": {
                "description": "string: Start of the 24h activity window"
              },
              "avgAcd": {
                "description": "number"
              },
              "avgAsr": {
                "description": "number"
              },
              "routes": {
                "description": "integer"
              },
              "avgPrice": {
                "description": "number: Display figure"
              },
              "capacity": {
                "description": "integer"
              },
              "hasRoutes": {
                "description": "boolean"
              },
              "smsRoutes": {
                "description": "integer"
              },
              "topMovers": {
                "description": "array"
              },
              "measuredAsr": {
                "description": "number"
              },
              "voiceRoutes": {
                "description": "integer"
              },
              "destinations": {
                "description": "integer"
              },
              "marketStatus": {
                "description": "string"
              },
              "hasActivityData": {
                "description": "boolean"
              },
              "measuredAsrSample": {
                "description": "integer"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Marketplace summary",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "px_resolve_route",
          "description": "PacketExchange: Read-only, free, no call placed. Preview which route Smart Routing would pick for a destination, plus up to 4 ranked alternatives. It ranks every active public marketplace route for that destination together with any private routes you have purchased. Requires an API key with the routes:read scope (full-access keys have it).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "to"
            ],
            "properties": {
              "to": {
                "type": "string",
                "description": "Destination number, E.164 (e.g. \"+447700900123\")"
              },
              "type": {
                "enum": [
                  "voice",
                  "sms"
                ],
                "type": "string",
                "default": "voice",
                "description": "Which traffic to route: a voice call or an SMS. Defaults to voice."
              },
              "strategy": {
                "enum": [
                  "cheapest",
                  "balanced",
                  "best_quality"
                ],
                "type": "string",
                "default": "balanced",
                "description": "How Smart Routing ranks the candidates: lowest price, a balance of price and quality, or quality first. Defaults to balanced."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "count": {
                "description": "integer"
              },
              "selected": {},
              "strategy": {
                "description": "string: One of: cheapest, best_quality, balanced."
              },
              "alternatives": {
                "description": "array"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Preview Smart Routing for a number",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "px_purchase_route",
          "description": "PacketExchange: PROVISIONING ACTION (not read-only). Connect a marketplace route to your account. Connecting is free, with no upfront charge, but it provisions live SIP credentials, and any traffic you then send over the route CHARGES your balance per minute/message at the route price. Requires a LIVE key with the purchases:write scope: a test key (px_test_sk_..., or wmmn_test_sk_... on older keys) is refused with 400 \"Route purchases require a LIVE API key\". Your email must be verified; a private route needs an access grant from its seller; US voice routes need a complete STIR/SHAKEN profile and start as pending_review; connecting a route you already hold returns 409. The response includes your SIP username and password, shown once here (also retrievable later with px_list_purchases on a full-access key).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "route_id"
            ],
            "properties": {
              "route_id": {
                "type": "string",
                "description": "Route UUID to connect"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "id": {
                "description": "string"
              },
              "route": {
                "description": "object"
              },
              "status": {
                "description": "string: One of: active, paused, cancelled, pending_review."
              },
              "buyerId": {
                "description": "string: Your account id"
              },
              "offerId": {
                "description": "string: The accepted offer that set agreedPrice"
              },
              "routeId": {
                "description": "string"
              },
              "createdAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "reviewNote": {
                "description": "string: The compliance reviewer's note to you, if any"
              },
              "reviewedAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "agreedPrice": {
                "description": "Negotiated price (from an accepted offer) that overrides the list price"
              },
              "cancelledAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "heldNewRate": {
                "description": "The increased rate waiting for your acceptance"
              },
              "heldOldRate": {
                "description": "Set while the purchase is paused by a seller rate increase: the rate you were paying"
              },
              "sipPassword": {
                "description": "string: Plaintext SIP password, returned once here"
              },
              "sipPublicIp": {
                "description": "string: Where to send your SIP traffic"
              },
              "sipUsername": {
                "description": "string"
              },
              "smppSystemId": {
                "description": "string"
              },
              "sipPasswordSet": {
                "description": "boolean: Whether a SIP password exists. The value is not returned here: it is shown once at purchase, on your purchased-routes list and on Interconnections."
              },
              "routingPriority": {
                "description": "integer: Your routing position (1 = first); null = unranked"
              },
              "pendingCompliance": {
                "description": "boolean: True when US STIR/SHAKEN compliance review must finish before traffic flows"
              },
              "requiresUsCompliance": {
                "description": "boolean: A US voice route that needs STIR/SHAKEN review before traffic flows"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Connect a marketplace route",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "px_list_purchases",
          "description": "PacketExchange: Read-only. List the routes you have connected (your purchases, newest 50), with status, per-unit USD pricing and your SIP credentials (username + password) for each. Requires a FULL-ACCESS API key (one created with no scope restrictions): because the response contains SIP passwords, every scoped key is refused with 403.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "items"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "description": "string"
                    },
                    "route": {
                      "description": "object"
                    },
                    "status": {
                      "description": "string: One of: active, paused, cancelled, pending_review."
                    },
                    "buyerId": {
                      "description": "string: Your account id"
                    },
                    "routeId": {
                      "description": "string"
                    },
                    "createdAt": {
                      "description": "string: ISO-8601 timestamp (UTC)"
                    },
                    "agreedPrice": {
                      "description": "Negotiated price (from an accepted offer) that overrides the list price"
                    },
                    "cancelledAt": {
                      "description": "string: ISO-8601 timestamp (UTC)"
                    },
                    "heldNewRate": {
                      "description": "The increased rate waiting for your acceptance"
                    },
                    "heldOldRate": {
                      "description": "Set while the purchase is paused by a seller rate increase: the rate you were paying"
                    },
                    "sipPassword": {
                      "description": "string: Your own SIP password, for your connection card"
                    },
                    "sipUsername": {
                      "description": "string"
                    },
                    "heldDeckVersion": {
                      "description": "string: Deck fingerprint to pass as deckVersion when accepting a deck increase"
                    },
                    "routingPriority": {
                      "description": "integer: Your routing position (1 = first); null = unranked"
                    }
                  },
                  "additionalProperties": true
                },
                "description": "One entry per result."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "List connected routes",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "px_send_sms",
          "description": "PacketExchange: SPENDS MONEY. Sends a REAL SMS and CHARGES your balance: the route price per segment, plus a platform fee of 2% of the carrier cost, capped at $0.001 per call or message (0.5%, same cap, when the traffic runs over your own SIP trunk; no fee when the carrier cost is 0). Long messages are split into segments (160 GSM-7 characters, 153 per part when split; 70 Unicode, 67 per part). Returns message id, segment count and exact USD cost. The returned status is carrier ACCEPTANCE, not handset delivery; delivery receipts are not returned by this tool. Omit route_id to Smart-Route across the public marketplace (no purchase needed); a route_id must be a route you have purchased. A test key (px_test_sk_..., or wmmn_test_sk_... on older keys) simulates against test credit with no real delivery. Requires the sms:send scope.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "to",
              "from",
              "message"
            ],
            "properties": {
              "to": {
                "type": "string",
                "description": "Destination number, E.164 (e.g. \"+447700900123\")"
              },
              "from": {
                "type": "string",
                "description": "Sender ID — alphanumeric (e.g. \"MyBrand\"; max 30 chars, letters/digits/spaces/.+_- only) or an E.164 number"
              },
              "message": {
                "type": "string",
                "description": "Message text (max 1600 chars; billed per segment)"
              },
              "route_id": {
                "type": "string",
                "description": "A route you have purchased; omit for Smart Routing"
              },
              "strategy": {
                "enum": [
                  "cheapest",
                  "balanced",
                  "best_quality"
                ],
                "type": "string",
                "description": "Smart Routing strategy when route_id is omitted (default balanced)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "to": {
                "description": "string"
              },
              "cost": {
                "description": "string: US dollars as a decimal string with exactly 6 decimal places, e.g. \"0.012500\". Do money arithmetic with a decimal type, not floating point."
              },
              "from": {
                "description": "string"
              },
              "status": {
                "description": "string: Send-time outcome when we forwarded the message, not a handset delivery receipt One of: sent, delivered, failed, pending, accepted."
              },
              "network": {
                "description": "object: Present when the route prices SMS to this country per destination network. The network is determined from the number's range (ported numbers may be priced at the network the range belongs to)"
              },
              "segments": {
                "description": "integer: Billed segments (160 GSM-7 / 70 UCS-2 characters each, fewer when concatenated)"
              },
              "messageId": {
                "description": "string: Use with GET /comms/sms/{messageId}"
              },
              "simulated": {
                "description": "boolean: Present and true for test-key messages: nothing was sent"
              },
              "submittedAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Send an SMS",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "px_make_call",
          "description": "PacketExchange: SPENDS MONEY. Places a REAL outbound phone call and CHARGES your balance for a connected call: billable minutes (per the route billing increment) at the route price, plus a platform fee of 2% of the carrier cost, capped at $0.001 per call or message (0.5%, same cap, when the traffic runs over your own SIP trunk; no fee when the carrier cost is 0). Unanswered calls cost nothing. The worst-case cost for max_duration is reserved from your balance up front and the unused part refunded on hangup. The call is placed ASYNCHRONOUSLY: this tool waits up to wait_seconds (default 20) for it to finish, then returns either the final result (status completed, no_answer, busy or failed, with duration, cost, plain-words hangup reason and any gathered digits) or, if the call is still running, its call_id and live status - check it later with px_get_call. Optional actions make the answered call speak (say, in en/es/fr/de/pt/hi), play an https MP3, collect keypad digits (gather), pause or hang up, in order; the call ends when they finish; no charge for the speech. Omit route_id to Smart-Route across the public marketplace (no purchase needed); a route_id must be a route you have purchased. A test key (px_test_sk_..., or wmmn_test_sk_... on older keys) simulates against test credit with no real telephony and runs no actions. Requires the voice:send scope.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "to",
              "from"
            ],
            "properties": {
              "to": {
                "type": "string",
                "description": "Destination number, E.164 (e.g. \"+447700900123\")"
              },
              "from": {
                "type": "string",
                "description": "Caller ID, E.164"
              },
              "actions": {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "say"
                      ],
                      "properties": {
                        "say": {
                          "type": "string",
                          "maxLength": 500,
                          "minLength": 1
                        },
                        "language": {
                          "enum": [
                            "en",
                            "es",
                            "fr",
                            "de",
                            "pt",
                            "hi"
                          ],
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "play"
                      ],
                      "properties": {
                        "play": {
                          "type": "string",
                          "format": "uri",
                          "description": "https URL of an MP3, max 2 MB"
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "gather"
                      ],
                      "properties": {
                        "gather": {
                          "type": "object",
                          "properties": {
                            "say": {
                              "type": "string",
                              "maxLength": 500,
                              "minLength": 1,
                              "description": "Prompt spoken while listening"
                            },
                            "play": {
                              "type": "string",
                              "format": "uri"
                            },
                            "tries": {
                              "type": "integer",
                              "maximum": 3,
                              "minimum": 1
                            },
                            "digits": {
                              "type": "integer",
                              "maximum": 20,
                              "minimum": 1,
                              "description": "Most keys to collect (default 1)"
                            },
                            "timeout": {
                              "type": "integer",
                              "maximum": 30,
                              "minimum": 1,
                              "description": "Seconds to wait for the first key (default 5)"
                            },
                            "language": {
                              "enum": [
                                "en",
                                "es",
                                "fr",
                                "de",
                                "pt",
                                "hi"
                              ],
                              "type": "string"
                            },
                            "finishOnKey": {
                              "enum": [
                                "#",
                                "*",
                                ""
                              ],
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "pause"
                      ],
                      "properties": {
                        "pause": {
                          "type": "integer",
                          "maximum": 10,
                          "minimum": 1
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "hangup"
                      ],
                      "properties": {
                        "hangup": {
                          "type": "boolean",
                          "const": true
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                },
                "maxItems": 10,
                "minItems": 1,
                "description": "What the answered call does, in order. E.g. [{\"say\":\"Press 1 to confirm\"},{\"gather\":{\"digits\":1,\"timeout\":5}}]"
              },
              "language": {
                "enum": [
                  "en",
                  "es",
                  "fr",
                  "de",
                  "pt",
                  "hi"
                ],
                "type": "string",
                "description": "Default language for say actions (default en)"
              },
              "route_id": {
                "type": "string",
                "description": "A route you have purchased; omit for Smart Routing"
              },
              "strategy": {
                "enum": [
                  "cheapest",
                  "balanced",
                  "best_quality"
                ],
                "type": "string",
                "description": "Smart Routing strategy when route_id is omitted (default balanced)"
              },
              "max_duration": {
                "type": "integer",
                "maximum": 3600,
                "minimum": 10,
                "description": "Max call duration in SECONDS, 10-3600 (default 300). Your balance must cover the worst-case cost of this duration"
              },
              "wait_seconds": {
                "type": "integer",
                "maximum": 50,
                "minimum": 0,
                "description": "How long to wait for the call to finish before returning its call_id (default 20, max 50)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "to": {
                "description": "string"
              },
              "cost": {
                "description": "What the call cost you, platform fee included. Null until it ends"
              },
              "from": {
                "description": "string"
              },
              "mode": {
                "description": "string: One of: sync, async."
              },
              "note": {
                "type": "string",
                "description": "Present while the call is still running: how to follow it with px_get_call."
              },
              "error": {
                "description": "string: Why the call could not be placed, when it failed before reaching the network"
              },
              "callId": {
                "description": "string"
              },
              "status": {
                "description": "string: queued, ringing and answered are live states; completed (answered, then ended), no_answer, busy and failed are final One of: queued, ringing, answered, completed, no_answer, busy, failed."
              },
              "actions": {
                "description": "array: The call actions as you sent them"
              },
              "endedAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "routeId": {
                "description": "string: Present when the call was placed over a failover chain: the route that carried it, or the last one tried"
              },
              "attempts": {
                "description": "array: Present when the call was tried on more than one route: every attempt in order. Only the attempt that connected is billed"
              },
              "gathered": {
                "description": "array: Keypad input from gather actions, filled in when the call ends"
              },
              "createdAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "ringingAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "simulated": {
                "description": "boolean: True for test-key calls: nothing was dialled"
              },
              "answeredAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "hangupCause": {
                "description": "string: The switch cause code, e.g. NORMAL_CLEARING or USER_BUSY"
              },
              "hangupReason": {
                "description": "string: Why the call ended, in plain words. Null while it is live"
              },
              "billableSeconds": {
                "description": "integer: Duration rounded up to the route billing increment"
              },
              "durationSeconds": {
                "description": "integer"
              },
              "sipResponseCode": {
                "description": "integer"
              },
              "billingIncrement": {
                "description": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Place a voice call",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "px_get_call",
          "description": "PacketExchange: Returns one call placed with px_make_call (or POST /comms/calls): live status (queued, ringing, answered, then completed, no_answer, busy or failed), timestamps, duration, exact USD cost, the hangup reason in plain words, and the keypad digits collected by gather actions. Free. Requires the voice:send scope.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "call_id"
            ],
            "properties": {
              "call_id": {
                "type": "string",
                "format": "uuid",
                "description": "The callId returned by px_make_call"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "to": {
                "description": "string"
              },
              "cost": {
                "description": "What the call cost you, platform fee included. Null until it ends"
              },
              "from": {
                "description": "string"
              },
              "mode": {
                "description": "string: One of: sync, async."
              },
              "error": {
                "description": "string: Why the call could not be placed, when it failed before reaching the network"
              },
              "callId": {
                "description": "string"
              },
              "status": {
                "description": "string: queued, ringing and answered are live states; completed (answered, then ended), no_answer, busy and failed are final One of: queued, ringing, answered, completed, no_answer, busy, failed."
              },
              "actions": {
                "description": "array: The call actions as you sent them"
              },
              "endedAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "routeId": {
                "description": "string: Present when the call was placed over a failover chain: the route that carried it, or the last one tried"
              },
              "attempts": {
                "description": "array: Present when the call was tried on more than one route: every attempt in order. Only the attempt that connected is billed"
              },
              "gathered": {
                "description": "array: Keypad input from gather actions, filled in when the call ends"
              },
              "createdAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "ringingAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "simulated": {
                "description": "boolean: True for test-key calls: nothing was dialled"
              },
              "answeredAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "hangupCause": {
                "description": "string: The switch cause code, e.g. NORMAL_CLEARING or USER_BUSY"
              },
              "hangupReason": {
                "description": "string: Why the call ended, in plain words. Null while it is live"
              },
              "billableSeconds": {
                "description": "integer: Duration rounded up to the route billing increment"
              },
              "durationSeconds": {
                "description": "integer"
              },
              "sipResponseCode": {
                "description": "integer"
              },
              "billingIncrement": {
                "description": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get call status",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "px_send_voice_otp",
          "description": "PacketExchange: SPENDS MONEY. Places a REAL short phone call (capped at 120 seconds) and speaks a one-time passcode digit by digit (\"Your {brand} verification code is 4, 8, 2, 9, 1, 3. Again, ...\"), repeated (default twice), then hangs up. Billed like any API call: billable minutes at the route price, plus a platform fee of 2% of the carrier cost, capped at $0.001 per call or message (0.5%, same cap, when the traffic runs over your own SIP trunk; no fee when the carrier cost is 0); no text-to-speech surcharge. Returns as soon as the call is dialled (status \"initiated\") with a voice_otp id; the final outcome and cost are recorded later (GET /api/v1/comms/voice-otp/{id} in the REST API). Omit code to have one generated; it is returned only when return_code is true. Limits: 5 per number per hour, 30 second resend cooldown, 20 per number range per hour, 1000 per account per day; embargoed, high-risk and do-not-contact numbers are refused. A test key (px_test_sk_..., or wmmn_test_sk_... on older keys) simulates with no real call and returns status \"accepted\" with simulated: true. Requires the voice:send scope. For send-and-check, prefer px_verify_start with channel \"voice\".",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "to"
            ],
            "properties": {
              "to": {
                "type": "string",
                "description": "Destination number, E.164 (e.g. \"+447700900123\")"
              },
              "code": {
                "type": "string",
                "pattern": "^[0-9]{4,10}$",
                "description": "The code to speak, 4-10 digits. Omit to generate one"
              },
              "from": {
                "type": "string",
                "description": "Caller ID, E.164. May be omitted only when the platform has a default caller ID configured; otherwise the call is refused with 400"
              },
              "brand": {
                "type": "string",
                "maxLength": 30,
                "description": "Name spoken in \"Your {brand} verification code is\" (letters, digits, spaces; max 30). Defaults to your company name"
              },
              "length": {
                "type": "integer",
                "maximum": 10,
                "minimum": 4,
                "description": "Length of a generated code, 4-10 (default 6). Ignored when code is given"
              },
              "repeat": {
                "type": "integer",
                "maximum": 3,
                "minimum": 1,
                "description": "How many times the code is spoken, 1-3 (default 2)"
              },
              "language": {
                "enum": [
                  "en",
                  "es",
                  "fr",
                  "de",
                  "pt",
                  "hi"
                ],
                "type": "string",
                "description": "Spoken language (default en)"
              },
              "strategy": {
                "enum": [
                  "cheapest",
                  "balanced",
                  "best_quality"
                ],
                "type": "string",
                "description": "Smart Routing strategy (default balanced)"
              },
              "return_code": {
                "type": "boolean",
                "description": "Return a GENERATED code in the response (default false)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "to": {
                "description": "string"
              },
              "code": {
                "description": "string: Present only when we generated the code AND you sent `returnCode: true`"
              },
              "cost": {
                "description": "Test keys: the simulated charge. Live: null here; the final cost arrives with call.completed and on GET"
              },
              "from": {
                "description": "string: The caller ID presented"
              },
              "callId": {
                "description": "string: The call carrying the code; it also appears in GET /comms/calls and the call.completed webhook"
              },
              "repeat": {
                "description": "integer: How many times the code is read"
              },
              "status": {
                "description": "string: `initiated`: the call is ringing. `accepted`: simulated on a test key One of: initiated, accepted."
              },
              "language": {
                "description": "string"
              },
              "createdAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "simulated": {
                "description": "boolean: Present and true for test keys: nothing was dialled"
              },
              "codeLength": {
                "description": "integer"
              },
              "voiceOtpId": {
                "description": "string: Use with GET /comms/voice-otp/{id}"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Send a one-time code by voice call",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "px_verify_start",
          "description": "PacketExchange: SPENDS MONEY. Starts a phone-number verification: generates a one-time code, stores only a keyed hash of it, and sends it by SMS or by a voice call that speaks it. Billed exactly like a normal SMS or API call: the route price, plus a platform fee of 2% of the carrier cost, capped at $0.001 per call or message (0.5%, same cap, when the traffic runs over your own SIP trunk; no fee when the carrier cost is 0). Returns a verification_id (never the code on a live key). The code expires after expiry_seconds (default 600), allows 5 check attempts and approves once. Rate limited: 5 starts per number per hour, 30 second resend cooldown, 20 per number range per hour, and 1000 per account per day; embargoed, high-risk premium and do-not-contact destinations are refused. A test key simulates the send and returns testCode so the flow can be completed. Requires the verify:write scope.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "to",
              "channel"
            ],
            "properties": {
              "to": {
                "type": "string",
                "description": "Number to verify, E.164 (e.g. \"+447700900123\")"
              },
              "from": {
                "type": "string",
                "description": "SMS sender ID, 1-30 characters (default: your brand, or \"Verify\"), or the caller ID in E.164 for the voice channel"
              },
              "brand": {
                "type": "string",
                "maxLength": 30,
                "description": "Name used in the message (max 30). Defaults to your company name"
              },
              "length": {
                "type": "integer",
                "maximum": 10,
                "minimum": 4,
                "description": "Code length, 4-10 (default 6)"
              },
              "channel": {
                "enum": [
                  "sms",
                  "voice"
                ],
                "type": "string",
                "description": "Deliver the code by SMS or by a voice call"
              },
              "language": {
                "enum": [
                  "en",
                  "es",
                  "fr",
                  "de",
                  "pt",
                  "hi",
                  "ar"
                ],
                "type": "string",
                "description": "Message language (default en). ar is SMS only"
              },
              "strategy": {
                "enum": [
                  "cheapest",
                  "balanced",
                  "best_quality"
                ],
                "type": "string",
                "description": "Smart Routing strategy (default balanced)"
              },
              "expiry_seconds": {
                "type": "integer",
                "maximum": 3600,
                "minimum": 60,
                "description": "How long the code stays valid, 60-3600 seconds (default 600)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "to": {
                "description": "string"
              },
              "status": {
                "description": "string: One of: pending."
              },
              "channel": {
                "description": "string: One of: sms, voice."
              },
              "sendRef": {
                "description": "string: The messageId (SMS) or callId (voice) that carried the code"
              },
              "testCode": {
                "description": "string: Test keys ONLY: the code, so a sandbox can complete the check. Never present on a live key"
              },
              "createdAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "expiresAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "simulated": {
                "description": "boolean: Present and true for test keys: nothing was sent"
              },
              "sendStatus": {
                "description": "string: SMS send-time status, or `initiated` for a voice call"
              },
              "maxAttempts": {
                "description": "integer: Wrong guesses allowed before the verification is dead (5)"
              },
              "verificationId": {
                "description": "string: Pass to POST /verify/check"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Start a 2FA verification",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "px_verify_check",
          "description": "PacketExchange: Free, no send. Checks a code the user entered against a verification from px_verify_start. Returns status approved | denied | expired | max_attempts and attemptsRemaining. Only \"approved\" proves the user holds the number. Each wrong code uses one of 5 attempts; an approved verification cannot be approved again (a repeat check is denied with reason already_used). Check with the same kind of key (test or live) that started the verification. Requires the verify:write scope.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "verification_id",
              "code"
            ],
            "properties": {
              "code": {
                "type": "string",
                "maxLength": 32,
                "description": "The code the user entered"
              },
              "verification_id": {
                "type": "string",
                "description": "The verificationId returned by px_verify_start"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "reason": {
                "description": "string: Why a check was not approved, when it is not obvious from `status` One of: wrong_code, already_used, not_pending."
              },
              "status": {
                "description": "string: One of: approved, denied, expired, max_attempts."
              },
              "verificationId": {
                "description": "string"
              },
              "attemptsRemaining": {
                "description": "integer"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Check a 2FA code",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "px_get_balance",
          "description": "PacketExchange: Read-only. Current account balance and test credit, in USD, plus their sum for reference. Only the balance pays for live calls and messages; test credit covers test API keys (simulated traffic) only. Requires the account:read scope (full-access keys have it).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "total": {
                "description": "balance + testCredit"
              },
              "balance": {
                "description": "string: US dollars as a decimal string with exactly 6 decimal places, e.g. \"0.012500\". Do money arithmetic with a decimal type, not floating point."
              },
              "testCredit": {
                "description": "string: US dollars as a decimal string with exactly 6 decimal places, e.g. \"0.012500\". Do money arithmetic with a decimal type, not floating point."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Account balance",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "px_list_transactions",
          "description": "PacketExchange: Read-only. Recent billing transactions for your account, newest first, amounts in USD (charges are negative, credits/top-ups positive). Types: topup, charge, credit, payout, platform_fee, test_credit. Requires the account:read scope.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Max rows, 1-100 (default 20)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "items"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "description": "string"
                    },
                    "type": {
                      "description": "string: charge = usage you paid for; credit = seller earnings or a grant; platform_fee = the exchange fee One of: topup, charge, credit, payout, platform_fee, test_credit, chargeback, refund_reversal, refund, transfer."
                    },
                    "amount": {
                      "description": "Signed: negative for money out (charges, fees, payouts), positive for money in"
                    },
                    "callId": {
                      "description": "string: The call or message this line bills; equals the CDR callUuid"
                    },
                    "userId": {
                      "description": "string"
                    },
                    "createdAt": {
                      "description": "string: ISO-8601 timestamp (UTC)"
                    },
                    "reference": {
                      "description": "string"
                    },
                    "balanceAfter": {
                      "description": "string: US dollars as a decimal string with exactly 6 decimal places, e.g. \"0.012500\". Do money arithmetic with a decimal type, not floating point."
                    },
                    "relatedEntityId": {
                      "description": "string"
                    },
                    "relatedEntityType": {
                      "description": "string"
                    }
                  },
                  "additionalProperties": true
                },
                "description": "One entry per result."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Billing transactions",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "px_topup_x402",
          "description": "SPENDS MONEY FROM AN ON-CHAIN WALLET. Funds your PacketExchange balance with real USDC on Base over the x402 protocol. Step 1 is safe/read-only: call with just amount_usd to receive the payment requirements (HTTP 402 challenge naming the network, USDC amount and payTo address; nothing is charged). Step 2 MOVES FUNDS: sign the EIP-3009 USDC transferWithAuthorization, base64-encode it, and call again passing it as payment_header; the transfer settles on-chain and your balance is credited. Amounts are USD, min $5, max $50,000, subject to account verification (KYC) and top-up velocity limits. The credit goes to your LIVE balance: there is no simulated top-up. Test keys are refused, except the sandbox key from agent sign-up (POST /api/v1/agent/signup), which may fund its own account; the account holder then signs in, completes the ID check and creates a live key to use the balance (the response carries next_step with those URLs). Requires the billing:write scope.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "amount_usd"
            ],
            "properties": {
              "amount_usd": {
                "type": "number",
                "maximum": 50000,
                "minimum": 5,
                "description": "Amount to add to your balance, in USD (paid 1:1 in USDC). Min 5, max 50000"
              },
              "payment_header": {
                "type": "string",
                "description": "Only on the SECOND call: the base64-encoded X-PAYMENT payload (your signed USDC authorization) from step 1. Providing it authorizes an on-chain transfer"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "status": {
                "description": "Step 2: confirmed once the transfer has settled"
              },
              "txHash": {
                "description": "Step 2: the on-chain transaction hash"
              },
              "already": {
                "description": "Step 2: true when this payment had already been credited"
              },
              "network": {
                "description": "Step 2: the chain the USDC moved on"
              },
              "topupId": {
                "description": "Step 2: the top-up record"
              },
              "amountUsd": {
                "description": "Step 2: the amount credited, in USD"
              },
              "next_step": {
                "description": "Step 1 only: what to sign and send back as payment_header"
              },
              "payment_required": {
                "description": "Step 1 only: the HTTP 402 payment requirements (network, USDC amount, payTo address)"
              },
              "paymentResponseHeader": {
                "description": "Step 2: the settlement receipt (X-PAYMENT-RESPONSE)"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Top up with USDC (x402)",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "switch_preview_routing",
          "description": "Read-only routing preview for a dialed number: resolves the dialplan (matched rule, block verdict, translated number, out-CLI) and returns the ordered supplier failover chain with per-attempt price and prefix match. No side effects: the single best tool to sanity-check routing before real traffic. Optionally scope to a customer via sub_account_id (their assigned dialplan) and customer_trunk_id (that trunk's restrictions; default is the customer's single active trunk). Requires an active Switch subscription (402 SWITCH_SUBSCRIPTION_REQUIRED otherwise) and a full-access API key (scoped keys need switch:manage). Test keys are NOT sandboxed here: they read and change your live Switch data.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "to"
            ],
            "properties": {
              "to": {
                "type": "string",
                "description": "Destination/dialed number (required)"
              },
              "cli": {
                "type": "string",
                "description": "Calling line identity"
              },
              "type": {
                "enum": [
                  "voice",
                  "sms"
                ],
                "type": "string",
                "description": "Traffic type; defaults to voice"
              },
              "sub_account_id": {
                "type": "string",
                "description": "Customer (sub-account) UUID to preview under, using its assigned dialplan"
              },
              "customer_trunk_id": {
                "type": "string",
                "description": "Customer trunk UUID, for an exact restriction preview when the customer has several trunks"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "kind": {
                "description": "string: fixed route or route group"
              },
              "outCli": {
                "description": "string"
              },
              "ruleId": {
                "description": "string"
              },
              "blocked": {
                "description": "boolean"
              },
              "matched": {
                "description": "boolean"
              },
              "refusal": {
                "description": "object: Why the chain is empty on purpose"
              },
              "skipped": {
                "description": "array"
              },
              "ruleLabel": {
                "description": "string"
              },
              "blockCause": {
                "description": "integer"
              },
              "candidates": {
                "description": "array"
              },
              "dialplanId": {
                "description": "string"
              },
              "maxAttempts": {
                "description": "integer"
              },
              "restriction": {
                "description": "object: A customer or trunk restriction that would refuse this call"
              },
              "dialplanName": {
                "description": "string"
              },
              "failoverMode": {
                "description": "string: One of: sequential."
              },
              "routeGroupId": {
                "description": "string"
              },
              "selectionMode": {
                "description": "string"
              },
              "routeGroupName": {
                "description": "string"
              },
              "failoverSipCodes": {
                "description": "array"
              },
              "translatedNumber": {
                "description": "string"
              },
              "setupBudgetSeconds": {
                "description": "number"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Switch: preview routing for a number",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "switch_analytics_overview",
          "description": "Unified P&L + quality KPIs (revenue, cost, margin, marginPct, calls, answered, minutes, ASR, ACD, SMS count, avg PDD) across all operator CDR traffic for a date range. The go-to health snapshot. Requires an active Switch subscription (402 SWITCH_SUBSCRIPTION_REQUIRED otherwise) and a full-access API key (scoped keys need switch:manage). Test keys are NOT sandboxed here: they read and change your live Switch data.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "to": {
                "type": "string",
                "description": "Range end, ISO date; default now"
              },
              "from": {
                "type": "string",
                "description": "Range start, ISO date; default (to − 30d)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "asr": {
                "description": "number: Answer rate in percent; null when there were no calls"
              },
              "cost": {
                "description": "number: US dollars as a JSON number rounded to 6 decimals (a computed figure, not a ledger string)"
              },
              "calls": {
                "description": "integer"
              },
              "margin": {
                "description": "number: US dollars as a JSON number rounded to 6 decimals (a computed figure, not a ledger string)"
              },
              "rating": {
                "description": "object"
              },
              "window": {
                "description": "object"
              },
              "minutes": {
                "description": "number"
              },
              "revenue": {
                "description": "number: US dollars as a JSON number rounded to 6 decimals (a computed figure, not a ledger string)"
              },
              "answered": {
                "description": "integer"
              },
              "freshness": {
                "description": "object"
              },
              "marginPct": {
                "description": "number: null when there was no revenue"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Switch: P&L and quality overview",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "switch_analytics_breakdown",
          "description": "Top-100 metric breakdown grouped by customer, supplier, or destination (the first 3 digits of the dialled number). Find the most/least profitable customers, worst-quality suppliers, or costliest destinations. Requires an active Switch subscription (402 SWITCH_SUBSCRIPTION_REQUIRED otherwise) and a full-access API key (scoped keys need switch:manage). Test keys are NOT sandboxed here: they read and change your live Switch data.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "by": {
                "enum": [
                  "customer",
                  "supplier",
                  "destination"
                ],
                "type": "string",
                "description": "Grouping; defaults to customer"
              },
              "to": {
                "type": "string",
                "description": "Range end, ISO date; default now"
              },
              "from": {
                "type": "string",
                "description": "Range start, ISO date; default (to − 30d)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "items"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "asr": {
                      "description": "number: Answer rate in percent; null when there were no calls"
                    },
                    "key": {
                      "description": "string"
                    },
                    "cost": {
                      "description": "number: US dollars as a JSON number rounded to 6 decimals (a computed figure, not a ledger string)"
                    },
                    "calls": {
                      "description": "integer"
                    },
                    "label": {
                      "description": "string"
                    },
                    "margin": {
                      "description": "number: US dollars as a JSON number rounded to 6 decimals (a computed figure, not a ledger string)"
                    },
                    "minutes": {
                      "description": "number"
                    },
                    "revenue": {
                      "description": "number: US dollars as a JSON number rounded to 6 decimals (a computed figure, not a ledger string)"
                    },
                    "answered": {
                      "description": "integer"
                    },
                    "external": {
                      "description": "boolean"
                    },
                    "marginPct": {
                      "description": "number: null when there was no revenue"
                    }
                  },
                  "additionalProperties": true
                },
                "description": "One entry per result."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Switch: breakdown by customer, supplier or destination",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "switch_list_customers",
          "description": "List all sell-side customers (sub-accounts) with balance, credit limit, markup, margin floor, spend caps, concurrency, and status. Core inventory read for who is connected. Requires an active Switch subscription (402 SWITCH_SUBSCRIPTION_REQUIRED otherwise) and a full-access API key (scoped keys need switch:manage). Test keys are NOT sandboxed here: they read and change your live Switch data.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "items"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "description": "string"
                    },
                    "flags": {
                      "description": "array: Filterable problem and state flags, e.g. \"problem:no_traffic\""
                    },
                    "label": {
                      "description": "string"
                    },
                    "setup": {
                      "description": "object"
                    },
                    "asr24h": {
                      "description": "number: Percent; null when no calls ran (not 0)"
                    },
                    "source": {
                      "description": "string: One of: marketplace, external."
                    },
                    "status": {
                      "description": "string: One of: draft, active, suspended, closed."
                    },
                    "balance": {
                      "description": "string: US dollars as a decimal string with exactly 6 decimal places, e.g. \"0.012500\". Do money arithmetic with a decimal type, not floating point."
                    },
                    "contact": {
                      "description": "object"
                    },
                    "calls24h": {
                      "description": "integer"
                    },
                    "currency": {
                      "description": "string"
                    },
                    "pddMs24h": {
                      "description": "number"
                    },
                    "trunksUp": {
                      "description": "integer"
                    },
                    "attention": {
                      "description": "object: Open operational issues. Null means the check could not run, not that nothing is wrong."
                    },
                    "createdAt": {
                      "description": "string: ISO-8601 timestamp (UTC)"
                    },
                    "liveCalls": {
                      "description": "integer"
                    },
                    "margin24h": {
                      "description": "number: US dollars as a JSON number (computed figure)"
                    },
                    "refused24h": {
                      "description": "object"
                    },
                    "revenue24h": {
                      "description": "number: US dollars as a JSON number (computed figure)"
                    },
                    "trunkCount": {
                      "description": "integer: Trunks excluding archived ones"
                    },
                    "trunksDown": {
                      "description": "integer"
                    },
                    "answered24h": {
                      "description": "integer"
                    },
                    "creditLimit": {
                      "description": "string: USD decimal string as stored (2 decimal places), e.g. \"5000.00\""
                    },
                    "externalRef": {
                      "description": "string"
                    },
                    "portalEmail": {
                      "description": "string"
                    },
                    "sipUsername": {
                      "description": "string"
                    },
                    "marginPct24h": {
                      "description": "number"
                    },
                    "creditUsedPct": {
                      "description": "number"
                    }
                  },
                  "additionalProperties": true
                },
                "description": "One entry per result."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Switch: list customers",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "switch_create_customer",
          "description": "MUTATES STATE. Create a switch-native customer and mint its first API key (returned ONCE, with sipPassword). Set markupPct, credit limit, margin floor, spend and concurrency caps, CPS, blocked prefixes, tax details and portalEmail. externalRef is an idempotency key: repeating a create with the same externalRef returns the existing customer WITHOUT a new API key or sipPassword. The provisioning entry point for onboarding a buyer. Requires an active Switch subscription (402 SWITCH_SUBSCRIPTION_REQUIRED otherwise) and a full-access API key (scoped keys need switch:manage). Test keys are NOT sandboxed here: they read and change your live Switch data.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "label"
            ],
            "properties": {
              "label": {
                "type": "string",
                "maxLength": 160,
                "minLength": 1,
                "description": "Customer name"
              },
              "taxId": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 64
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Customer tax / VAT id"
              },
              "maxCps": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Max calls per second, enforced at call admission"
              },
              "source": {
                "enum": [
                  "marketplace",
                  "external"
                ],
                "type": "string",
                "description": "Defaults to marketplace"
              },
              "status": {
                "enum": [
                  "draft",
                  "active"
                ],
                "type": "string",
                "description": "Create dormant (draft) or live (active, the default)"
              },
              "currency": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 3,
                    "minLength": 3
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "ISO 4217 currency code (default USD)"
              },
              "markupPct": {
                "anyOf": [
                  {
                    "type": "number",
                    "maximum": 100000,
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Retail markup percent over your cost"
              },
              "taxCountry": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 2
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Tax country, ISO 3166-1 alpha-2"
              },
              "creditLimit": {
                "anyOf": [
                  {
                    "type": "number",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Postpaid credit limit in USD"
              },
              "externalRef": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 255
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Your reference id; also an idempotency key (a repeat create returns the existing customer)"
              },
              "portalEmail": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "email",
                    "maxLength": 255
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Self-service portal login email"
              },
              "minMarginPct": {
                "anyOf": [
                  {
                    "type": "number",
                    "maximum": 100000,
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Minimum margin percent"
              },
              "dailySpendCap": {
                "anyOf": [
                  {
                    "type": "number",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Daily spend cap in USD — enforced: further traffic is blocked once the day's spend reaches it"
              },
              "blockedPrefixes": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^[0-9]+$",
                  "maxLength": 24
                },
                "maxItems": 200,
                "description": "Destination prefixes this customer may not call (digits only, max 200)"
              },
              "billingIncrement": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 10
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Billing increment in seconds as \"initial/subsequent\", e.g. 60/60"
              },
              "marginFloorAction": {
                "anyOf": [
                  {
                    "enum": [
                      "block",
                      "alert"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Action when margin below floor"
              },
              "maxConcurrentCalls": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Concurrent call limit"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "id": {
                "description": "string"
              },
              "label": {
                "description": "string"
              },
              "taxId": {
                "description": "string"
              },
              "apiKey": {
                "description": "string: The customer's first API key. Returned ONCE, here."
              },
              "maxCps": {
                "description": "integer"
              },
              "source": {
                "description": "string: One of: marketplace, external."
              },
              "status": {
                "description": "string: One of: draft, active, suspended, closed."
              },
              "balance": {
                "description": "Prepaid wallet balance (negative = owed), 6-decimal USD string"
              },
              "currency": {
                "description": "string"
              },
              "createdAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "markupPct": {
                "description": "string: Default markup over cost, percent as a decimal string"
              },
              "updatedAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "taxCountry": {
                "description": "string"
              },
              "creditLimit": {
                "description": "string: USD decimal string as stored (2 decimal places), e.g. \"5000.00\""
              },
              "externalRef": {
                "description": "string"
              },
              "portalEmail": {
                "description": "string"
              },
              "sipPassword": {
                "description": "string: The inbound SIP password in plain text. Returned ONCE, here."
              },
              "sipUsername": {
                "description": "string"
              },
              "apiKeyPrefix": {
                "description": "string"
              },
              "minMarginPct": {
                "description": "string"
              },
              "dailySpendCap": {
                "description": "string: USD decimal string as stored (2 decimal places), e.g. \"5000.00\""
              },
              "defaultTrunkId": {
                "description": "string: The \"Default\" trunk created with every customer"
              },
              "blockedPrefixes": {
                "description": "array"
              },
              "billingIncrement": {
                "description": "string: e.g. \"60/60\" or \"6/6\""
              },
              "marginFloorAction": {
                "description": "string: One of: block, alert."
              },
              "maxConcurrentCalls": {
                "description": "integer"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Switch: create a customer",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "switch_list_suppliers",
          "description": "List all buy-side supplier vendor trunks with SIP egress config, default rate, capacity, CPS, settlement mode, and status. Core inventory read for termination options. Requires an active Switch subscription (402 SWITCH_SUBSCRIPTION_REQUIRED otherwise) and a full-access API key (scoped keys need switch:manage). Test keys are NOT sandboxed here: they read and change your live Switch data.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "items"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "description": "string"
                    },
                    "label": {
                      "description": "string"
                    },
                    "maxCps": {
                      "description": "integer"
                    },
                    "source": {
                      "description": "string: \"external\" for a carrier you entered; \"marketplace\" for a trunk promoted from a marketplace purchase"
                    },
                    "status": {
                      "description": "string: One of: active, disabled, draft, testing, draining, fault."
                    },
                    "balance": {
                      "description": "Prepaid credit remaining with this supplier (prepaid settlement)"
                    },
                    "sipHost": {
                      "description": "string: Null on a marketplace trunk: the seller address is never disclosed"
                    },
                    "sipPort": {
                      "description": "integer"
                    },
                    "capacity": {
                      "description": "integer: Max concurrent channels"
                    },
                    "currency": {
                      "description": "string"
                    },
                    "createdAt": {
                      "description": "string: ISO-8601 timestamp (UTC)"
                    },
                    "mediaMode": {
                      "description": "string: One of: proxy, direct."
                    },
                    "reachable": {
                      "description": "boolean"
                    },
                    "transport": {
                      "description": "string: One of: udp, tcp, tls."
                    },
                    "updatedAt": {
                      "description": "string: ISO-8601 timestamp (UTC)"
                    },
                    "supplierId": {
                      "description": "string: The owning provider; null = ungrouped"
                    },
                    "techPrefix": {
                      "description": "string"
                    },
                    "reachCheckedAt": {
                      "description": "string: ISO-8601 timestamp (UTC)"
                    },
                    "settlementMode": {
                      "description": "string: One of: ap, prepaid."
                    },
                    "sipAuthUsername": {
                      "description": "string"
                    },
                    "smppPasswordSet": {
                      "description": "boolean"
                    },
                    "billingIncrement": {
                      "description": "string"
                    },
                    "smsDeliveryMethod": {
                      "description": "string: One of: http, smpp."
                    },
                    "defaultRatePerUnit": {
                      "description": "Cost per minute used when no deck row matches"
                    },
                    "sipAuthPasswordSet": {
                      "description": "boolean: Whether a SIP password is stored. The value is only readable via GET /switch/suppliers/{id}/credentials"
                    }
                  },
                  "additionalProperties": true
                },
                "description": "One entry per result."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Switch: list suppliers",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "switch_create_supplier",
          "description": "MUTATES STATE. Create an external supplier vendor trunk (SIP host/port/transport, auth, codecs, default rate, capacity, CPS, settlement mode) and/or its SMS delivery (HTTP URL or SMPP bind). Needs a label plus at least one way to deliver traffic: sipHost, smsDeliveryUrl, or smppHost with smppSystemId. A new trunk may be held as draft until it passes readiness checks. The provisioning entry point for a termination vendor. Requires an active Switch subscription (402 SWITCH_SUBSCRIPTION_REQUIRED otherwise) and a full-access API key (scoped keys need switch:manage). Test keys are NOT sandboxed here: they read and change your live Switch data.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "label"
            ],
            "properties": {
              "label": {
                "type": "string",
                "maxLength": 160,
                "minLength": 1,
                "description": "Supplier name"
              },
              "maxCps": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Max calls per second"
              },
              "status": {
                "enum": [
                  "active",
                  "disabled",
                  "draft",
                  "testing",
                  "draining",
                  "fault"
                ],
                "type": "string",
                "description": "Trunk status"
              },
              "balance": {
                "anyOf": [
                  {
                    "type": "number",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Prepaid credit remaining, in USD"
              },
              "sipHost": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 255
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "SIP host IP/hostname (voice termination)"
              },
              "sipPort": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 65535,
                    "minimum": 1
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "SIP port"
              },
              "smppTps": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 1000,
                    "minimum": 1
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "SMPP throughput cap, messages per second"
              },
              "capacity": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Channel capacity (concurrent calls)"
              },
              "currency": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 3,
                    "minLength": 3
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "ISO 4217 currency code (default USD)"
              },
              "smppHost": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 255
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "SMPP SMSC host"
              },
              "smppPort": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 65535,
                    "minimum": 1
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "SMPP port"
              },
              "transport": {
                "anyOf": [
                  {
                    "enum": [
                      "udp",
                      "tcp",
                      "tls"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Transport; defaults udp"
              },
              "techPrefix": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 24
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Tech prefix (digits/*/# only)"
              },
              "portalEmail": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "email",
                    "maxLength": 255
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Supplier portal login email"
              },
              "smppBindType": {
                "anyOf": [
                  {
                    "enum": [
                      "transceiver",
                      "transmitter"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "SMPP bind type"
              },
              "smppPassword": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "SMPP password (stored sealed, never returned)"
              },
              "smppSystemId": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 16
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "SMPP system_id (max 16)"
              },
              "settlementMode": {
                "enum": [
                  "ap",
                  "prepaid"
                ],
                "type": "string",
                "description": "AP payable or prepaid wallet draw"
              },
              "smsDeliveryUrl": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uri",
                    "maxLength": 500
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "HTTP SMS delivery URL"
              },
              "sipAuthPassword": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 128
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "SIP auth password"
              },
              "sipAuthUsername": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 128
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "SIP auth username"
              },
              "supportedCodecs": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 24
                    },
                    "maxItems": 16
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Codec list"
              },
              "billingIncrement": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 10
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Billing increment in seconds as \"initial/subsequent\", e.g. 60/60"
              },
              "smsDeliveryMethod": {
                "anyOf": [
                  {
                    "enum": [
                      "http",
                      "smpp"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "SMS termination: http (smsDeliveryUrl) or smpp (bind to the SMSC below)"
              },
              "defaultRatePerUnit": {
                "anyOf": [
                  {
                    "type": "number",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Default cost rate per unit in USD (per minute for voice, per message for SMS)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "id": {
                "description": "string"
              },
              "label": {
                "description": "string"
              },
              "maxCps": {
                "description": "integer"
              },
              "source": {
                "description": "string: \"external\" for a carrier you entered; \"marketplace\" for a trunk promoted from a marketplace purchase"
              },
              "status": {
                "description": "string: One of: active, disabled, draft, testing, draining, fault."
              },
              "balance": {
                "description": "Prepaid credit remaining with this supplier (prepaid settlement)"
              },
              "sipHost": {
                "description": "string: Null on a marketplace trunk: the seller address is never disclosed"
              },
              "sipPort": {
                "description": "integer"
              },
              "capacity": {
                "description": "integer: Max concurrent channels"
              },
              "currency": {
                "description": "string"
              },
              "createdAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "mediaMode": {
                "description": "string: One of: proxy, direct."
              },
              "reachable": {
                "description": "boolean"
              },
              "transport": {
                "description": "string: One of: udp, tcp, tls."
              },
              "updatedAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "supplierId": {
                "description": "string: The owning provider; null = ungrouped"
              },
              "techPrefix": {
                "description": "string"
              },
              "reachCheckedAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "settlementMode": {
                "description": "string: One of: ap, prepaid."
              },
              "sipAuthUsername": {
                "description": "string"
              },
              "smppPasswordSet": {
                "description": "boolean"
              },
              "billingIncrement": {
                "description": "string"
              },
              "smsDeliveryMethod": {
                "description": "string: One of: http, smpp."
              },
              "defaultRatePerUnit": {
                "description": "Cost per minute used when no deck row matches"
              },
              "sipAuthPasswordSet": {
                "description": "boolean: Whether a SIP password is stored. The value is only readable via GET /switch/suppliers/{id}/credentials"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Switch: add a supplier trunk",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "switch_set_route_plan_entries",
          "description": "MUTATES STATE. Replace ALL entries of a route group with an ordered supplier list (per-prefix, with failover priority, load-balance weight, and ASR/PDD gates). The primary tool to (re)configure LCR/failover routing. Enforces exactly-one-target (routeId XOR vendorTrunkId) and ownership. Requires an active Switch subscription (402 SWITCH_SUBSCRIPTION_REQUIRED otherwise) and a full-access API key (scoped keys need switch:manage). Test keys are NOT sandboxed here: they read and change your live Switch data.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id",
              "entries"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "description": "Route plan (route group) UUID"
              },
              "entries": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "maxPdd": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Max PDD gate in MILLISECONDS (entry skipped when live PDD exceeds this)"
                    },
                    "minAsr": {
                      "anyOf": [
                        {
                          "type": "number",
                          "maximum": 100,
                          "minimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Min ASR gate, percent (entry skipped when the target's live ASR is below this)"
                    },
                    "prefix": {
                      "type": "string",
                      "maxLength": 24,
                      "description": "Digit prefix; empty = any"
                    },
                    "enabled": {
                      "type": "boolean",
                      "description": "Entry enabled (default true)"
                    },
                    "routeId": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Marketplace route target (exactly one of routeId/vendorTrunkId)"
                    },
                    "priority": {
                      "type": "integer",
                      "maximum": 99,
                      "minimum": 1,
                      "description": "Failover priority (default 1)"
                    },
                    "weightPct": {
                      "anyOf": [
                        {
                          "type": "integer",
                          "maximum": 100,
                          "minimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Load-balance weight percent"
                    },
                    "vendorTrunkId": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "External vendor trunk target (exactly one of routeId/vendorTrunkId)"
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 200,
                "description": "Full replacement entry list (max 200)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "id": {
                "description": "string"
              },
              "name": {
                "description": "string"
              },
              "enabled": {
                "description": "boolean"
              },
              "entries": {
                "description": "array"
              },
              "createdAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "updatedAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "operatorId": {
                "description": "string"
              },
              "description": {
                "description": "string"
              },
              "maxAttempts": {
                "description": "integer: 1 to 6"
              },
              "selectionMode": {
                "description": "string: How the first supplier is picked; failover is always sequential One of: priority, least_cost, weighted."
              },
              "failoverSipCodes": {
                "description": "array: SIP results that move the call to the next supplier"
              },
              "failoverTimeoutSeconds": {
                "description": "integer: null = the platform budget"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Switch: replace a route plan",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "switch_assign_customer_routing",
          "description": "MUTATES STATE. Point a customer at its routing: dialplan, route group, failover route group, LCR strategy override (cheapest|best_quality|balanced), or a direct supplier (one marketplace route OR one vendor trunk, not both). Only the fields you pass change: omitted fields keep their current value, and null clears a field. Writes the customer's first trunk (a customer with no trunk is refused); multi-trunk customers are configured per trunk in the dashboard. Requires an active Switch subscription (402 SWITCH_SUBSCRIPTION_REQUIRED otherwise) and a full-access API key (scoped keys need switch:manage). Test keys are NOT sandboxed here: they read and change your live Switch data.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "description": "Customer (sub-account) UUID"
              },
              "dialplanId": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Dialplan to assign (must be owned)"
              },
              "routePlanId": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Route plan/group to assign (must be owned)"
              },
              "directRouteId": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Send all traffic straight to this purchased marketplace route"
              },
              "strategyOverride": {
                "anyOf": [
                  {
                    "enum": [
                      "cheapest",
                      "best_quality",
                      "balanced"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "LCR strategy override"
              },
              "directVendorTrunkId": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Send all traffic straight to this vendor trunk"
              },
              "failoverRoutePlanId": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Failover route group (must be owned)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "dialplanId": {
                "description": "string"
              },
              "routePlanId": {
                "description": "string"
              },
              "subAccountId": {
                "description": "string"
              },
              "directRouteId": {
                "description": "string"
              },
              "customerTrunkId": {
                "description": "string"
              },
              "strategyOverride": {
                "description": "string"
              },
              "directVendorTrunkId": {
                "description": "string"
              },
              "failoverRoutePlanId": {
                "description": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Switch: set a customer's routing",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "switch_bulk_upsert_supplier_rates",
          "description": "MUTATES STATE. Bulk upsert a supplier trunk's A-Z COST deck (paste/CSV rows), de-duped last-wins, up to 50000 rows. Price increases may be queued until the supplier's rate-notice period ends instead of applying at once. The efficient way to load or refresh vendor pricing. Requires an active Switch subscription (402 SWITCH_SUBSCRIPTION_REQUIRED otherwise) and a full-access API key (scoped keys need switch:manage). Test keys are NOT sandboxed here: they read and change your live Switch data.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id",
              "rows"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "description": "Vendor trunk UUID"
              },
              "rows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "prefix",
                    "rate"
                  ],
                  "properties": {
                    "rate": {
                      "type": "number",
                      "minimum": 0,
                      "description": "Cost per unit in USD (per minute for voice)"
                    },
                    "prefix": {
                      "type": "string",
                      "maxLength": 24
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 50000,
                "description": "Deck rows { prefix, rate }; prefixes cleaned to digits (max 50000)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "applied": {
                "description": "integer"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Switch: load supplier rates",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "switch_bulk_upsert_sell_rates",
          "description": "MUTATES STATE. Bulk upsert the operator's retail SELL deck (A-Z), de-duped last-wins, up to 50000 rows. Fires the sell_rate.changed webhook. The efficient way to load or refresh retail pricing. Requires an active Switch subscription (402 SWITCH_SUBSCRIPTION_REQUIRED otherwise) and a full-access API key (scoped keys need switch:manage). Test keys are NOT sandboxed here: they read and change your live Switch data.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "rows"
            ],
            "properties": {
              "rows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "prefix",
                    "rate"
                  ],
                  "properties": {
                    "rate": {
                      "type": "number",
                      "minimum": 0,
                      "description": "Retail sell price per unit in USD (per minute for voice) — this is what your customers are billed"
                    },
                    "prefix": {
                      "type": "string",
                      "maxLength": 24
                    }
                  },
                  "additionalProperties": false
                },
                "maxItems": 50000,
                "description": "Deck rows { prefix, rate }; prefixes cleaned to digits (max 50000)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "applied": {
                "description": "integer"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Switch: load sell rates",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "switch_create_invoice",
          "description": "Two steps, like a human review. Step 1 (read-only, writes nothing): call WITHOUT review_token to get a preview of the AR invoice for a customer over a period from settled CDR usage (itemized voice + SMS lines, totals, anything unrated) plus a reviewToken. Step 2 (MUTATES STATE, irreversible): call again with the SAME arguments and review_token to issue it; this allocates the invoice number, claims the usage and emits invoice.created. If the usage changed since the preview the issue is refused (409) with a fresh preview. Issuing does not send the invoice to the customer. Requires an active Switch subscription (402 SWITCH_SUBSCRIPTION_REQUIRED otherwise) and a full-access API key (scoped keys need switch:manage). Test keys are NOT sandboxed here: they read and change your live Switch data.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "customerId",
              "periodStart",
              "periodEnd"
            ],
            "properties": {
              "notes": {
                "type": "string",
                "maxLength": 2000,
                "description": "Optional invoice notes"
              },
              "periodEnd": {
                "type": "string",
                "description": "Billing period end, ISO date (must be > periodStart)"
              },
              "customerId": {
                "type": "string",
                "description": "Customer to bill (must be owned)"
              },
              "periodStart": {
                "type": "string",
                "description": "Billing period start, ISO date e.g. \"2026-07-01\" (must be < periodEnd)"
              },
              "applyCredits": {
                "type": "boolean",
                "description": "Consume the customer's open credit notes on this invoice"
              },
              "review_token": {
                "type": "string",
                "maxLength": 120,
                "minLength": 8,
                "description": "Only on step 2: the reviewToken from the step-1 preview. Providing it ISSUES the invoice"
              },
              "includeBroughtForward": {
                "type": "boolean",
                "description": "Also bill priced usage from BEFORE the period that is still unbilled"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "id": {
                "description": "string"
              },
              "tax": {
                "description": "string: US dollars as a decimal string with exactly 6 decimal places, e.g. \"0.012500\". Do money arithmetic with a decimal type, not floating point."
              },
              "lines": {
                "description": "array"
              },
              "notes": {
                "description": "string"
              },
              "total": {
                "description": "string: US dollars as a decimal string with exactly 6 decimal places, e.g. \"0.012500\". Do money arithmetic with a decimal type, not floating point."
              },
              "usage": {
                "description": "object: Billable, rated-at-zero, by-trunk and by-channel usage"
              },
              "period": {
                "description": "object"
              },
              "sentAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "status": {
                "description": "string: One of: draft, open, partial, paid, overdue, void."
              },
              "charges": {
                "description": "number: US dollars as a JSON number rounded to 6 decimals (a computed figure, not a ledger string)"
              },
              "credits": {
                "description": "object"
              },
              "dueDate": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "overdue": {
                "description": "boolean"
              },
              "preview": {
                "description": "object"
              },
              "unrated": {
                "description": "object: Usage that could not be priced. Blocks issue unless excluded with a reason."
              },
              "currency": {
                "description": "string"
              },
              "customer": {
                "description": "object"
              },
              "subtotal": {
                "description": "string: US dollars as a decimal string with exactly 6 decimal places, e.g. \"0.012500\". Do money arithmetic with a decimal type, not floating point."
              },
              "issueDate": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "periodEnd": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "sendCount": {
                "description": "integer"
              },
              "amountPaid": {
                "description": "string: US dollars as a decimal string with exactly 6 decimal places, e.g. \"0.012500\". Do money arithmetic with a decimal type, not floating point."
              },
              "customerId": {
                "description": "string"
              },
              "provenance": {
                "description": "object"
              },
              "periodStart": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "reviewToken": {
                "description": "string: Pass to POST /switch/invoices to issue exactly what was reviewed"
              },
              "reviewDigest": {
                "description": "string"
              },
              "customerLabel": {
                "description": "string: On list rows"
              },
              "invoiceNumber": {
                "description": "string: Sequential per operator, gap-free"
              },
              "broughtForward": {
                "description": "object"
              },
              "paymentTermsDays": {
                "description": "integer"
              },
              "replacesInvoiceId": {
                "description": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Switch: preview and issue an invoice",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "switch_list_invoices",
          "description": "List AR invoices with customer/status filters, pagination, and computed overdue flag. Survey receivables. Requires an active Switch subscription (402 SWITCH_SUBSCRIPTION_REQUIRED otherwise) and a full-access API key (scoped keys need switch:manage). Test keys are NOT sandboxed here: they read and change your live Switch data.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "integer",
                "description": "Page size (1..500, default 50)"
              },
              "offset": {
                "type": "integer",
                "description": "Page offset (default 0)"
              },
              "status": {
                "enum": [
                  "draft",
                  "open",
                  "partial",
                  "paid",
                  "overdue",
                  "void"
                ],
                "type": "string",
                "description": "Filter by status"
              },
              "customerId": {
                "type": "string",
                "description": "Filter by customer UUID"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "rows": {
                "description": "array"
              },
              "limit": {
                "description": "integer"
              },
              "total": {
                "description": "integer"
              },
              "offset": {
                "description": "integer"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Switch: list invoices",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "switch_ar_aging",
          "description": "AR aging summary: total outstanding, open count, and current/1-30/31-60/61-90/90+ buckets across open/partial/overdue invoices. Key collections-health read. Requires an active Switch subscription (402 SWITCH_SUBSCRIPTION_REQUIRED otherwise) and a full-access API key (scoped keys need switch:manage). Test keys are NOT sandboxed here: they read and change your live Switch data.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "buckets": {
                "description": "object"
              },
              "openCount": {
                "description": "integer"
              },
              "creditNotesOpen": {
                "description": "number: US dollars as a JSON number rounded to 6 decimals (a computed figure, not a ledger string)"
              },
              "grossOutstanding": {
                "description": "number: US dollars as a JSON number rounded to 6 decimals (a computed figure, not a ledger string)"
              },
              "totalOutstanding": {
                "description": "number: US dollars as a JSON number rounded to 6 decimals (a computed figure, not a ledger string)"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Switch: receivables aging",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "switch_create_payable",
          "description": "MUTATES STATE. Generate an AP payable for a supplier trunk over a period from CDR seller-credit cost. The core settlement action for what the operator owes vendors. Requires an active Switch subscription (402 SWITCH_SUBSCRIPTION_REQUIRED otherwise) and a full-access API key (scoped keys need switch:manage). Test keys are NOT sandboxed here: they read and change your live Switch data.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "vendorTrunkId",
              "periodStart",
              "periodEnd"
            ],
            "properties": {
              "notes": {
                "type": "string",
                "maxLength": 2000,
                "description": "Optional payable notes"
              },
              "periodEnd": {
                "type": "string",
                "description": "Period end, ISO date"
              },
              "periodStart": {
                "type": "string",
                "description": "Period start, ISO date e.g. \"2026-07-01\" (must be < periodEnd)"
              },
              "vendorTrunkId": {
                "type": "string",
                "description": "Supplier vendor trunk UUID to bill cost for"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "id": {
                "description": "string"
              },
              "notes": {
                "description": "string"
              },
              "total": {
                "description": "string: US dollars as a decimal string with exactly 6 decimal places, e.g. \"0.012500\". Do money arithmetic with a decimal type, not floating point."
              },
              "status": {
                "description": "string: One of: draft, open, partial, paid, overdue, void."
              },
              "dueDate": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "overdue": {
                "description": "boolean"
              },
              "currency": {
                "description": "string"
              },
              "subtotal": {
                "description": "string: US dollars as a decimal string with exactly 6 decimal places, e.g. \"0.012500\". Do money arithmetic with a decimal type, not floating point."
              },
              "createdAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "issueDate": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "periodEnd": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "updatedAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "amountPaid": {
                "description": "string: US dollars as a decimal string with exactly 6 decimal places, e.g. \"0.012500\". Do money arithmetic with a decimal type, not floating point."
              },
              "trunkLabel": {
                "description": "string: On list rows"
              },
              "periodStart": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "payableNumber": {
                "description": "string"
              },
              "vendorTrunkId": {
                "description": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Switch: create a supplier payable",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "switch_run_netting",
          "description": "MUTATES STATE. Run bilateral netting for a counterparty over a period: offsets AR (their invoices) against AP (their payables), returning net amount and direction (settled|receivable|payable). Key settlement automation. Requires an active Switch subscription (402 SWITCH_SUBSCRIPTION_REQUIRED otherwise) and a full-access API key (scoped keys need switch:manage). Test keys are NOT sandboxed here: they read and change your live Switch data.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "id",
              "periodStart",
              "periodEnd"
            ],
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "description": "Counterparty UUID"
              },
              "notes": {
                "type": "string",
                "maxLength": 2000,
                "description": "Optional netting-run notes"
              },
              "periodEnd": {
                "type": "string",
                "description": "Period end, ISO date"
              },
              "periodStart": {
                "type": "string",
                "description": "Period start, ISO date e.g. \"2026-07-01\""
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "id": {
                "description": "string"
              },
              "notes": {
                "description": "string"
              },
              "status": {
                "description": "string"
              },
              "apTotal": {
                "description": "string: US dollars as a decimal string with exactly 6 decimal places, e.g. \"0.012500\". Do money arithmetic with a decimal type, not floating point."
              },
              "arTotal": {
                "description": "string: US dollars as a decimal string with exactly 6 decimal places, e.g. \"0.012500\". Do money arithmetic with a decimal type, not floating point."
              },
              "createdAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "direction": {
                "description": "string: One of: receivable, payable, settled."
              },
              "netAmount": {
                "description": "Absolute net amount; see direction"
              },
              "periodEnd": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "periodStart": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "counterpartyId": {
                "description": "string"
              },
              "counterpartyName": {
                "description": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Switch: net off what you and a counterparty owe",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "switch_fraud_events",
          "description": "List the 100 most recent fraud events (newest first) with score, action (flag|block), destination, reasons, and customer label. Monitor and triage abuse. Requires an active Switch subscription (402 SWITCH_SUBSCRIPTION_REQUIRED otherwise) and a full-access API key (scoped keys need switch:manage). Test keys are NOT sandboxed here: they read and change your live Switch data.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "items"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "description": "string"
                    },
                    "createdAt": {
                      "description": "string: ISO-8601 timestamp (UTC)"
                    },
                    "customerLabel": {
                      "description": "string"
                    }
                  },
                  "additionalProperties": true
                },
                "description": "One entry per result."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Switch: recent fraud events",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "switch_update_fraud_settings",
          "description": "MUTATES STATE. Update per-operator fraud screening: enable/disable, block/alert score thresholds (1-100), and high-risk destination prefixes. highRiskPrefixes REPLACES the whole list; an empty list reverts to the platform defaults. Tune protection. Requires an active Switch subscription (402 SWITCH_SUBSCRIPTION_REQUIRED otherwise) and a full-access API key (scoped keys need switch:manage). Test keys are NOT sandboxed here: they read and change your live Switch data.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "fraudEnabled": {
                "type": "boolean",
                "description": "Enable/disable per-operator fraud screening"
              },
              "fraudAlertScore": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Flag threshold (1-100)"
              },
              "fraudBlockScore": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Block threshold (1-100)"
              },
              "highRiskPrefixes": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 24
                },
                "maxItems": 500,
                "description": "Full replacement list of high-risk destination prefixes (cleaned to digits, max 500)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "fraudEnabled": {
                "description": "boolean"
              },
              "fraudAlertScore": {
                "description": "integer: Risk score at or above which a call is flagged"
              },
              "fraudBlockScore": {
                "description": "integer: Risk score at or above which a call is refused"
              },
              "highRiskPrefixes": {
                "description": "array"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Switch: update fraud screening",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "wmmn_list_routes",
          "description": "Legacy name of px_list_routes, kept so existing PacketExchange MCP set-ups keep working. Same tool, same arguments; prefer px_list_routes. Read-only, free, no key needed. Search and filter live voice/SMS termination routes on the PacketExchange marketplace.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "sort": {
                "enum": [
                  "tested_desc",
                  "cli_desc",
                  "price_asc",
                  "price_desc",
                  "asr_desc",
                  "asr_asc",
                  "acd_desc",
                  "acd_asc",
                  "pdd_asc",
                  "pdd_desc",
                  "capacity_desc",
                  "created_desc",
                  "country_asc",
                  "score_desc",
                  "score_asc"
                ],
                "type": "string",
                "description": "Sort order. Default tested_desc: proven rows first (full caller ID ahead), then cheapest. cli_desc: verified caller ID first. tested_desc and cli_desc need per_network (the default). ASR/ACD/PDD sorts use the seller-declared values; score = Exchange Score"
              },
              "type": {
                "enum": [
                  "voice",
                  "sms"
                ],
                "type": "string",
                "description": "Traffic type: voice or sms"
              },
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Max results, 1-100 (default 25)"
              },
              "search": {
                "type": "string",
                "description": "Search by country, dial code or number, mobile/fixed, tier (premium/direct/standard/ncli) or an operator name (e.g. \"Safaricom\")"
              },
              "tested": {
                "type": "boolean",
                "description": "Only rows proven to connect to their network (a real call or our test). Needs per_network"
              },
              "country": {
                "type": "string",
                "description": "Filter by country name, substring match (e.g. \"United Kingdom\")"
              },
              "min_asr": {
                "type": "string",
                "description": "Minimum seller-declared expected ASR in percent, e.g. \"40\""
              },
              "network": {
                "type": "string",
                "description": "Only this network, exact name as returned (e.g. \"Vodafone\"). Needs per_network"
              },
              "cli_type": {
                "enum": [
                  "full_cli",
                  "local_cli",
                  "mixed_cli",
                  "ncli"
                ],
                "type": "string",
                "description": "Caller-ID handling: full_cli (your CLI passed through), local_cli (a local number presented), mixed_cli (CLI passed on some calls), ncli (no CLI)"
              },
              "max_price": {
                "type": "string",
                "description": "Max price per unit in USD (per minute for voice, per message for SMS), e.g. \"0.0100\""
              },
              "route_type": {
                "enum": [
                  "direct",
                  "premium",
                  "standard",
                  "ncli"
                ],
                "type": "string",
                "description": "Route quality tier"
              },
              "per_network": {
                "type": "boolean",
                "description": "One row per route and mobile network, with the measured marks (default true). false = one row per listing, without marks"
              },
              "verification": {
                "enum": [
                  "cli",
                  "ncli",
                  "connected",
                  "not_verified"
                ],
                "type": "string",
                "description": "Only listings in this verification tier (voice): cli = International CLI, ncli = NCLI, connected = Qualified, not_verified = Untested. Omitted = every tier, best first"
              },
              "verified_cli": {
                "type": "boolean",
                "description": "Only rows where the caller ID arrived intact on a real phone on that network. Needs per_network"
              },
              "origin_policy": {
                "enum": [
                  "any",
                  "dual",
                  "origin_only"
                ],
                "type": "string",
                "description": "Caller ID origin: dual = listings with a separate (usually lower) price for an EEA caller ID; origin_only = listings that take EEA caller IDs only; any = one price for every caller. Omitted = all"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "count": {
                "description": "integer: number of routes returned"
              },
              "routes": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Route UUID, for px_route_details and px_purchase_route"
                    },
                    "cli": {
                      "description": "Caller ID handling, e.g. full_cli"
                    },
                    "ref": {
                      "description": "Short public listing reference, or null"
                    },
                    "type": {
                      "description": "voice or sms"
                    },
                    "price": {
                      "description": "Price per minute (voice) or per message (sms) in USD, \"from\" when the route has a per-destination deck"
                    },
                    "country": {
                      "description": "Country name"
                    },
                    "network": {
                      "description": "Mobile network this row covers (per-network rows), e.g. \"Vodafone\""
                    },
                    "quality": {
                      "description": "Route tier: direct, premium or standard"
                    },
                    "capacity": {
                      "description": "Maximum simultaneous calls or messages"
                    },
                    "caller_id": {
                      "description": "Caller ID seen on a real phone on this network: full, replaced, none or untested"
                    },
                    "proven_at": {
                      "description": "ISO time of the latest connected call or passed test, or null"
                    },
                    "destination": {
                      "description": "Destination name as listed"
                    },
                    "signal_bars": {
                      "description": "integer 0-4: the signal bars the marketplace draws for this row"
                    },
                    "expected_acd": {
                      "description": "Seller-declared average call duration in minutes, or N/A"
                    },
                    "expected_asr": {
                      "description": "Seller-declared answer-seizure ratio, or N/A"
                    },
                    "origin_basis": {
                      "description": "Plain sentence stating which price applies to which caller ID"
                    },
                    "origin_group": {
                      "description": "Origin group key, e.g. EEA, or null"
                    },
                    "origin_price": {
                      "description": "Lowest price for calls with a valid caller ID from origin_group, or null"
                    },
                    "route_status": {
                      "description": "Measured by the platform: proven, weak, at_risk or untested (untested is not a fault)"
                    },
                    "verification": {
                      "description": "Verification tier of the whole listing, measured by the platform: cli (International CLI), ncli (NCLI), connected (Qualified) or not_verified (Untested); null on SMS"
                    },
                    "origin_policy": {
                      "description": "Caller ID origin: any (one price), dual (origin_price for a valid caller ID from origin_group, price for every other call), origin_only (carries only caller IDs from origin_group)"
                    }
                  },
                  "additionalProperties": true
                },
                "description": "Matching rows: by default one per route and network, best verification tier first, then proven first"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Search marketplace routes (legacy name)",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "wmmn_route_details",
          "description": "Legacy name of px_route_details, kept so existing PacketExchange MCP set-ups keep working. Same tool, same arguments; prefer px_route_details. PacketExchange: Read-only, free, no key needed. Full details for one route — USD pricing, billing increment, seller-declared expected ASR/ACD/PDD, CLI type, capacity, and the first-party Exchange Score plus seller trust profile.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "route_id"
            ],
            "properties": {
              "route_id": {
                "type": "string",
                "format": "uuid",
                "description": "Route UUID (from px_list_routes)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "id": {
                "description": "string"
              },
              "kind": {
                "description": "string: One of: single, blend."
              },
              "type": {
                "description": "string: One of: voice, sms."
              },
              "prefix": {
                "description": "array: Dial prefixes the route covers"
              },
              "status": {
                "description": "string: One of: active, paused, suspended, pending_review."
              },
              "cliType": {
                "description": "string: One of: full_cli, ncli, partial_cli, local_cli, mixed_cli."
              },
              "country": {
                "description": "string"
              },
              "smsType": {
                "description": "string: One of: a2p, p2p, both."
              },
              "capacity": {
                "description": "integer: Channels (voice) or messages per second (SMS)"
              },
              "measured": {
                "description": "Measured quality from real calls; null until the listing has enough traffic from enough buyers"
              },
              "rateCount": {
                "description": "integer: Active per-destination deck rows; > 0 means an A-Z deck"
              },
              "routeType": {
                "description": "string: Quality tier One of: direct, premium, standard, ncli."
              },
              "listingRef": {
                "description": "string: Anonymous short reference of the listing (4 characters, e.g. \"7K2Q\"): stable for the life of the listing, unique enough to tell two same-named listings apart, and derived from the listing alone (it says nothing about the seller). Absent on your own listings."
              },
              "visibility": {
                "description": "string: One of: public, private."
              },
              "countryCode": {
                "description": "string: E.164 country calling code, digits only"
              },
              "expectedAcd": {
                "description": "string: Seller-stated ACD in seconds"
              },
              "expectedAsr": {
                "description": "string: Seller-stated ASR %. The measured figure is in `measured.asr`"
              },
              "expectedPdd": {
                "description": "string: Seller-stated PDD in seconds"
              },
              "originGroup": {
                "description": "string: Origin group key (EEA) when originPolicy is not any, else null"
              },
              "routeChecks": {
                "description": "Route checks on this listing in the last 7 days. Null when there were none."
              },
              "originPolicy": {
                "description": "string: Caller ID origin. One of: any, dual, origin_only."
              },
              "pricePerUnit": {
                "description": "USD per minute (voice) or per message segment (SMS). On an A-Z deck (rateCount > 0) the per-destination rates apply instead. On a route priced by caller ID origin (originPolicy dual) this is the International price; see originPricing."
              },
              "exchangeScore": {
                "description": "integer: Exchange Score 1-100, null until the route has carried real traffic. Uses the measured ASR, NER, ACD and PDD in place of the stated ones when the listing has recent measured figures"
              },
              "originPricing": {
                "description": "object: { policy, group, originFrom, internationalFrom, basis }: the lowest price for a valid caller ID from the group, the lowest price for every other call, and the rule in one sentence. null on a one-price route"
              },
              "otpCompatible": {
                "description": "boolean"
              },
              "destinationName": {
                "description": "string: The listing name. For anyone but the seller it is GENERATED by the platform from its own data, never the seller's text: \"<Country> <Operator?> <Mobile|Fixed|All Networks>\" for one destination (e.g. \"Niger Mobile\", \"Kenya Safaricom Mobile\"), \"A-Z Voice · <tier> · <CLI> · Ref XXXX\" or \"A-Z SMS"
              },
              "billingIncrement": {
                "description": "string: First/subsequent increment in seconds, e.g. \"60/60\""
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Route details (legacy name)",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "wmmn_market_summary",
          "description": "Legacy name of px_market_summary, kept so existing PacketExchange MCP set-ups keep working. Same tool, same arguments; prefer px_market_summary. PacketExchange: Read-only, free. Live marketplace snapshot: total routes, destinations, voice and SMS route counts, market status and as-of time. When the connection carries an API key, the averages are included too (capacity, average and measured ASR, ACD and USD price); without a key only the counts are returned.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "asOf": {
                "description": "string: Start of the 24h activity window"
              },
              "avgAcd": {
                "description": "number"
              },
              "avgAsr": {
                "description": "number"
              },
              "routes": {
                "description": "integer"
              },
              "avgPrice": {
                "description": "number: Display figure"
              },
              "capacity": {
                "description": "integer"
              },
              "hasRoutes": {
                "description": "boolean"
              },
              "smsRoutes": {
                "description": "integer"
              },
              "topMovers": {
                "description": "array"
              },
              "measuredAsr": {
                "description": "number"
              },
              "voiceRoutes": {
                "description": "integer"
              },
              "destinations": {
                "description": "integer"
              },
              "marketStatus": {
                "description": "string"
              },
              "hasActivityData": {
                "description": "boolean"
              },
              "measuredAsrSample": {
                "description": "integer"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Marketplace summary (legacy name)",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "wmmn_resolve_route",
          "description": "Legacy name of px_resolve_route, kept so existing PacketExchange MCP set-ups keep working. Same tool, same arguments; prefer px_resolve_route. PacketExchange: Read-only, free, no call placed. Preview which route Smart Routing would pick for a destination, plus up to 4 ranked alternatives. It ranks every active public marketplace route for that destination together with any private routes you have purchased.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "to"
            ],
            "properties": {
              "to": {
                "type": "string",
                "description": "Destination number, E.164 (e.g. \"+447700900123\")"
              },
              "type": {
                "enum": [
                  "voice",
                  "sms"
                ],
                "type": "string",
                "default": "voice",
                "description": "Which traffic to route: a voice call or an SMS. Defaults to voice."
              },
              "strategy": {
                "enum": [
                  "cheapest",
                  "balanced",
                  "best_quality"
                ],
                "type": "string",
                "default": "balanced",
                "description": "How Smart Routing ranks the candidates: lowest price, a balance of price and quality, or quality first. Defaults to balanced."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "count": {
                "description": "integer"
              },
              "selected": {},
              "strategy": {
                "description": "string: One of: cheapest, best_quality, balanced."
              },
              "alternatives": {
                "description": "array"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Preview Smart Routing for a number (legacy name)",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "wmmn_purchase_route",
          "description": "Legacy name of px_purchase_route, kept so existing PacketExchange MCP set-ups keep working. Same tool, same arguments; prefer px_purchase_route. PacketExchange: PROVISIONING ACTION (not read-only). Connect a marketplace route to your account. Connecting is free, with no upfront charge, but it provisions live SIP credentials, and any traffic you then send over the route CHARGES your balance per minute/message at the route price.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "route_id"
            ],
            "properties": {
              "route_id": {
                "type": "string",
                "description": "Route UUID to connect"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "id": {
                "description": "string"
              },
              "route": {
                "description": "object"
              },
              "status": {
                "description": "string: One of: active, paused, cancelled, pending_review."
              },
              "buyerId": {
                "description": "string: Your account id"
              },
              "offerId": {
                "description": "string: The accepted offer that set agreedPrice"
              },
              "routeId": {
                "description": "string"
              },
              "createdAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "reviewNote": {
                "description": "string: The compliance reviewer's note to you, if any"
              },
              "reviewedAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "agreedPrice": {
                "description": "Negotiated price (from an accepted offer) that overrides the list price"
              },
              "cancelledAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "heldNewRate": {
                "description": "The increased rate waiting for your acceptance"
              },
              "heldOldRate": {
                "description": "Set while the purchase is paused by a seller rate increase: the rate you were paying"
              },
              "sipPassword": {
                "description": "string: Plaintext SIP password, returned once here"
              },
              "sipPublicIp": {
                "description": "string: Where to send your SIP traffic"
              },
              "sipUsername": {
                "description": "string"
              },
              "smppSystemId": {
                "description": "string"
              },
              "sipPasswordSet": {
                "description": "boolean: Whether a SIP password exists. The value is not returned here: it is shown once at purchase, on your purchased-routes list and on Interconnections."
              },
              "routingPriority": {
                "description": "integer: Your routing position (1 = first); null = unranked"
              },
              "pendingCompliance": {
                "description": "boolean: True when US STIR/SHAKEN compliance review must finish before traffic flows"
              },
              "requiresUsCompliance": {
                "description": "boolean: A US voice route that needs STIR/SHAKEN review before traffic flows"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Connect a marketplace route (legacy name)",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "wmmn_list_purchases",
          "description": "Legacy name of px_list_purchases, kept so existing PacketExchange MCP set-ups keep working. Same tool, same arguments; prefer px_list_purchases. PacketExchange: Read-only. List the routes you have connected (your purchases, newest 50), with status, per-unit USD pricing and your SIP credentials (username + password) for each.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "items"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "description": "string"
                    },
                    "route": {
                      "description": "object"
                    },
                    "status": {
                      "description": "string: One of: active, paused, cancelled, pending_review."
                    },
                    "buyerId": {
                      "description": "string: Your account id"
                    },
                    "routeId": {
                      "description": "string"
                    },
                    "createdAt": {
                      "description": "string: ISO-8601 timestamp (UTC)"
                    },
                    "agreedPrice": {
                      "description": "Negotiated price (from an accepted offer) that overrides the list price"
                    },
                    "cancelledAt": {
                      "description": "string: ISO-8601 timestamp (UTC)"
                    },
                    "heldNewRate": {
                      "description": "The increased rate waiting for your acceptance"
                    },
                    "heldOldRate": {
                      "description": "Set while the purchase is paused by a seller rate increase: the rate you were paying"
                    },
                    "sipPassword": {
                      "description": "string: Your own SIP password, for your connection card"
                    },
                    "sipUsername": {
                      "description": "string"
                    },
                    "heldDeckVersion": {
                      "description": "string: Deck fingerprint to pass as deckVersion when accepting a deck increase"
                    },
                    "routingPriority": {
                      "description": "integer: Your routing position (1 = first); null = unranked"
                    }
                  },
                  "additionalProperties": true
                },
                "description": "One entry per result."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "List connected routes (legacy name)",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "wmmn_send_sms",
          "description": "Legacy name of px_send_sms, kept so existing PacketExchange MCP set-ups keep working. Same tool, same arguments; prefer px_send_sms. PacketExchange: SPENDS MONEY. Sends a REAL SMS and CHARGES your balance: the route price per segment, plus a platform fee of 2% of the carrier cost, capped at $0.001 per call or message (0.5%, same cap, when the traffic runs over your own SIP trunk; no fee when the carrier cost is 0).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "to",
              "from",
              "message"
            ],
            "properties": {
              "to": {
                "type": "string",
                "description": "Destination number, E.164 (e.g. \"+447700900123\")"
              },
              "from": {
                "type": "string",
                "description": "Sender ID — alphanumeric (e.g. \"MyBrand\"; max 30 chars, letters/digits/spaces/.+_- only) or an E.164 number"
              },
              "message": {
                "type": "string",
                "description": "Message text (max 1600 chars; billed per segment)"
              },
              "route_id": {
                "type": "string",
                "description": "A route you have purchased; omit for Smart Routing"
              },
              "strategy": {
                "enum": [
                  "cheapest",
                  "balanced",
                  "best_quality"
                ],
                "type": "string",
                "description": "Smart Routing strategy when route_id is omitted (default balanced)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "to": {
                "description": "string"
              },
              "cost": {
                "description": "string: US dollars as a decimal string with exactly 6 decimal places, e.g. \"0.012500\". Do money arithmetic with a decimal type, not floating point."
              },
              "from": {
                "description": "string"
              },
              "status": {
                "description": "string: Send-time outcome when we forwarded the message, not a handset delivery receipt One of: sent, delivered, failed, pending, accepted."
              },
              "network": {
                "description": "object: Present when the route prices SMS to this country per destination network. The network is determined from the number's range (ported numbers may be priced at the network the range belongs to)"
              },
              "segments": {
                "description": "integer: Billed segments (160 GSM-7 / 70 UCS-2 characters each, fewer when concatenated)"
              },
              "messageId": {
                "description": "string: Use with GET /comms/sms/{messageId}"
              },
              "simulated": {
                "description": "boolean: Present and true for test-key messages: nothing was sent"
              },
              "submittedAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Send an SMS (legacy name)",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "wmmn_make_call",
          "description": "Legacy name of px_make_call, kept so existing PacketExchange MCP set-ups keep working. Same tool, same arguments; prefer px_make_call. PacketExchange: SPENDS MONEY. Places a REAL outbound phone call and CHARGES your balance for a connected call: billable minutes (per the route billing increment) at the route price, plus a platform fee of 2% of the carrier cost, capped at $0.001 per call or message (0.5%, same cap, when the traffic runs over your own...",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "to",
              "from"
            ],
            "properties": {
              "to": {
                "type": "string",
                "description": "Destination number, E.164 (e.g. \"+447700900123\")"
              },
              "from": {
                "type": "string",
                "description": "Caller ID, E.164"
              },
              "actions": {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "object",
                      "required": [
                        "say"
                      ],
                      "properties": {
                        "say": {
                          "type": "string",
                          "maxLength": 500,
                          "minLength": 1
                        },
                        "language": {
                          "enum": [
                            "en",
                            "es",
                            "fr",
                            "de",
                            "pt",
                            "hi"
                          ],
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "play"
                      ],
                      "properties": {
                        "play": {
                          "type": "string",
                          "format": "uri",
                          "description": "https URL of an MP3, max 2 MB"
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "gather"
                      ],
                      "properties": {
                        "gather": {
                          "type": "object",
                          "properties": {
                            "say": {
                              "type": "string",
                              "maxLength": 500,
                              "minLength": 1,
                              "description": "Prompt spoken while listening"
                            },
                            "play": {
                              "type": "string",
                              "format": "uri"
                            },
                            "tries": {
                              "type": "integer",
                              "maximum": 3,
                              "minimum": 1
                            },
                            "digits": {
                              "type": "integer",
                              "maximum": 20,
                              "minimum": 1,
                              "description": "Most keys to collect (default 1)"
                            },
                            "timeout": {
                              "type": "integer",
                              "maximum": 30,
                              "minimum": 1,
                              "description": "Seconds to wait for the first key (default 5)"
                            },
                            "language": {
                              "enum": [
                                "en",
                                "es",
                                "fr",
                                "de",
                                "pt",
                                "hi"
                              ],
                              "type": "string"
                            },
                            "finishOnKey": {
                              "enum": [
                                "#",
                                "*",
                                ""
                              ],
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "pause"
                      ],
                      "properties": {
                        "pause": {
                          "type": "integer",
                          "maximum": 10,
                          "minimum": 1
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "required": [
                        "hangup"
                      ],
                      "properties": {
                        "hangup": {
                          "type": "boolean",
                          "const": true
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                },
                "maxItems": 10,
                "minItems": 1,
                "description": "What the answered call does, in order. E.g. [{\"say\":\"Press 1 to confirm\"},{\"gather\":{\"digits\":1,\"timeout\":5}}]"
              },
              "language": {
                "enum": [
                  "en",
                  "es",
                  "fr",
                  "de",
                  "pt",
                  "hi"
                ],
                "type": "string",
                "description": "Default language for say actions (default en)"
              },
              "route_id": {
                "type": "string",
                "description": "A route you have purchased; omit for Smart Routing"
              },
              "strategy": {
                "enum": [
                  "cheapest",
                  "balanced",
                  "best_quality"
                ],
                "type": "string",
                "description": "Smart Routing strategy when route_id is omitted (default balanced)"
              },
              "max_duration": {
                "type": "integer",
                "maximum": 3600,
                "minimum": 10,
                "description": "Max call duration in SECONDS, 10-3600 (default 300). Your balance must cover the worst-case cost of this duration"
              },
              "wait_seconds": {
                "type": "integer",
                "maximum": 50,
                "minimum": 0,
                "description": "How long to wait for the call to finish before returning its call_id (default 20, max 50)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "to": {
                "description": "string"
              },
              "cost": {
                "description": "What the call cost you, platform fee included. Null until it ends"
              },
              "from": {
                "description": "string"
              },
              "mode": {
                "description": "string: One of: sync, async."
              },
              "note": {
                "type": "string",
                "description": "Present while the call is still running: how to follow it with px_get_call."
              },
              "error": {
                "description": "string: Why the call could not be placed, when it failed before reaching the network"
              },
              "callId": {
                "description": "string"
              },
              "status": {
                "description": "string: queued, ringing and answered are live states; completed (answered, then ended), no_answer, busy and failed are final One of: queued, ringing, answered, completed, no_answer, busy, failed."
              },
              "actions": {
                "description": "array: The call actions as you sent them"
              },
              "endedAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "routeId": {
                "description": "string: Present when the call was placed over a failover chain: the route that carried it, or the last one tried"
              },
              "attempts": {
                "description": "array: Present when the call was tried on more than one route: every attempt in order. Only the attempt that connected is billed"
              },
              "gathered": {
                "description": "array: Keypad input from gather actions, filled in when the call ends"
              },
              "createdAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "ringingAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "simulated": {
                "description": "boolean: True for test-key calls: nothing was dialled"
              },
              "answeredAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "hangupCause": {
                "description": "string: The switch cause code, e.g. NORMAL_CLEARING or USER_BUSY"
              },
              "hangupReason": {
                "description": "string: Why the call ended, in plain words. Null while it is live"
              },
              "billableSeconds": {
                "description": "integer: Duration rounded up to the route billing increment"
              },
              "durationSeconds": {
                "description": "integer"
              },
              "sipResponseCode": {
                "description": "integer"
              },
              "billingIncrement": {
                "description": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Place a voice call (legacy name)",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "wmmn_get_call",
          "description": "Legacy name of px_get_call, kept so existing PacketExchange MCP set-ups keep working. Same tool, same arguments; prefer px_get_call. PacketExchange: Returns one call placed with px_make_call (or POST /comms/calls): live status (queued, ringing, answered, then completed, no_answer, busy or failed), timestamps, duration, exact USD cost, the hangup reason in plain words, and the keypad digits collected by gather actions. Free.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "call_id"
            ],
            "properties": {
              "call_id": {
                "type": "string",
                "format": "uuid",
                "description": "The callId returned by px_make_call"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "to": {
                "description": "string"
              },
              "cost": {
                "description": "What the call cost you, platform fee included. Null until it ends"
              },
              "from": {
                "description": "string"
              },
              "mode": {
                "description": "string: One of: sync, async."
              },
              "error": {
                "description": "string: Why the call could not be placed, when it failed before reaching the network"
              },
              "callId": {
                "description": "string"
              },
              "status": {
                "description": "string: queued, ringing and answered are live states; completed (answered, then ended), no_answer, busy and failed are final One of: queued, ringing, answered, completed, no_answer, busy, failed."
              },
              "actions": {
                "description": "array: The call actions as you sent them"
              },
              "endedAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "routeId": {
                "description": "string: Present when the call was placed over a failover chain: the route that carried it, or the last one tried"
              },
              "attempts": {
                "description": "array: Present when the call was tried on more than one route: every attempt in order. Only the attempt that connected is billed"
              },
              "gathered": {
                "description": "array: Keypad input from gather actions, filled in when the call ends"
              },
              "createdAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "ringingAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "simulated": {
                "description": "boolean: True for test-key calls: nothing was dialled"
              },
              "answeredAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "hangupCause": {
                "description": "string: The switch cause code, e.g. NORMAL_CLEARING or USER_BUSY"
              },
              "hangupReason": {
                "description": "string: Why the call ended, in plain words. Null while it is live"
              },
              "billableSeconds": {
                "description": "integer: Duration rounded up to the route billing increment"
              },
              "durationSeconds": {
                "description": "integer"
              },
              "sipResponseCode": {
                "description": "integer"
              },
              "billingIncrement": {
                "description": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get call status (legacy name)",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "wmmn_send_voice_otp",
          "description": "Legacy name of px_send_voice_otp, kept so existing PacketExchange MCP set-ups keep working. Same tool, same arguments; prefer px_send_voice_otp. PacketExchange: SPENDS MONEY. Places a REAL short phone call (capped at 120 seconds) and speaks a one-time passcode digit by digit (\"Your {brand} verification code is 4, 8, 2, 9, 1, 3. Again, ...\"), repeated (default twice), then hangs up.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "to"
            ],
            "properties": {
              "to": {
                "type": "string",
                "description": "Destination number, E.164 (e.g. \"+447700900123\")"
              },
              "code": {
                "type": "string",
                "pattern": "^[0-9]{4,10}$",
                "description": "The code to speak, 4-10 digits. Omit to generate one"
              },
              "from": {
                "type": "string",
                "description": "Caller ID, E.164. May be omitted only when the platform has a default caller ID configured; otherwise the call is refused with 400"
              },
              "brand": {
                "type": "string",
                "maxLength": 30,
                "description": "Name spoken in \"Your {brand} verification code is\" (letters, digits, spaces; max 30). Defaults to your company name"
              },
              "length": {
                "type": "integer",
                "maximum": 10,
                "minimum": 4,
                "description": "Length of a generated code, 4-10 (default 6). Ignored when code is given"
              },
              "repeat": {
                "type": "integer",
                "maximum": 3,
                "minimum": 1,
                "description": "How many times the code is spoken, 1-3 (default 2)"
              },
              "language": {
                "enum": [
                  "en",
                  "es",
                  "fr",
                  "de",
                  "pt",
                  "hi"
                ],
                "type": "string",
                "description": "Spoken language (default en)"
              },
              "strategy": {
                "enum": [
                  "cheapest",
                  "balanced",
                  "best_quality"
                ],
                "type": "string",
                "description": "Smart Routing strategy (default balanced)"
              },
              "return_code": {
                "type": "boolean",
                "description": "Return a GENERATED code in the response (default false)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "to": {
                "description": "string"
              },
              "code": {
                "description": "string: Present only when we generated the code AND you sent `returnCode: true`"
              },
              "cost": {
                "description": "Test keys: the simulated charge. Live: null here; the final cost arrives with call.completed and on GET"
              },
              "from": {
                "description": "string: The caller ID presented"
              },
              "callId": {
                "description": "string: The call carrying the code; it also appears in GET /comms/calls and the call.completed webhook"
              },
              "repeat": {
                "description": "integer: How many times the code is read"
              },
              "status": {
                "description": "string: `initiated`: the call is ringing. `accepted`: simulated on a test key One of: initiated, accepted."
              },
              "language": {
                "description": "string"
              },
              "createdAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "simulated": {
                "description": "boolean: Present and true for test keys: nothing was dialled"
              },
              "codeLength": {
                "description": "integer"
              },
              "voiceOtpId": {
                "description": "string: Use with GET /comms/voice-otp/{id}"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Send a one-time code by voice call (legacy name)",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "wmmn_verify_start",
          "description": "Legacy name of px_verify_start, kept so existing PacketExchange MCP set-ups keep working. Same tool, same arguments; prefer px_verify_start. PacketExchange: SPENDS MONEY. Starts a phone-number verification: generates a one-time code, stores only a keyed hash of it, and sends it by SMS or by a voice call that speaks it.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "to",
              "channel"
            ],
            "properties": {
              "to": {
                "type": "string",
                "description": "Number to verify, E.164 (e.g. \"+447700900123\")"
              },
              "from": {
                "type": "string",
                "description": "SMS sender ID, 1-30 characters (default: your brand, or \"Verify\"), or the caller ID in E.164 for the voice channel"
              },
              "brand": {
                "type": "string",
                "maxLength": 30,
                "description": "Name used in the message (max 30). Defaults to your company name"
              },
              "length": {
                "type": "integer",
                "maximum": 10,
                "minimum": 4,
                "description": "Code length, 4-10 (default 6)"
              },
              "channel": {
                "enum": [
                  "sms",
                  "voice"
                ],
                "type": "string",
                "description": "Deliver the code by SMS or by a voice call"
              },
              "language": {
                "enum": [
                  "en",
                  "es",
                  "fr",
                  "de",
                  "pt",
                  "hi",
                  "ar"
                ],
                "type": "string",
                "description": "Message language (default en). ar is SMS only"
              },
              "strategy": {
                "enum": [
                  "cheapest",
                  "balanced",
                  "best_quality"
                ],
                "type": "string",
                "description": "Smart Routing strategy (default balanced)"
              },
              "expiry_seconds": {
                "type": "integer",
                "maximum": 3600,
                "minimum": 60,
                "description": "How long the code stays valid, 60-3600 seconds (default 600)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "to": {
                "description": "string"
              },
              "status": {
                "description": "string: One of: pending."
              },
              "channel": {
                "description": "string: One of: sms, voice."
              },
              "sendRef": {
                "description": "string: The messageId (SMS) or callId (voice) that carried the code"
              },
              "testCode": {
                "description": "string: Test keys ONLY: the code, so a sandbox can complete the check. Never present on a live key"
              },
              "createdAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "expiresAt": {
                "description": "string: ISO-8601 timestamp (UTC)"
              },
              "simulated": {
                "description": "boolean: Present and true for test keys: nothing was sent"
              },
              "sendStatus": {
                "description": "string: SMS send-time status, or `initiated` for a voice call"
              },
              "maxAttempts": {
                "description": "integer: Wrong guesses allowed before the verification is dead (5)"
              },
              "verificationId": {
                "description": "string: Pass to POST /verify/check"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Start a 2FA verification (legacy name)",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "wmmn_verify_check",
          "description": "Legacy name of px_verify_check, kept so existing PacketExchange MCP set-ups keep working. Same tool, same arguments; prefer px_verify_check. PacketExchange: Free, no send. Checks a code the user entered against a verification from px_verify_start. Returns status approved | denied | expired | max_attempts and attemptsRemaining. Only \"approved\" proves the user holds the number.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "verification_id",
              "code"
            ],
            "properties": {
              "code": {
                "type": "string",
                "maxLength": 32,
                "description": "The code the user entered"
              },
              "verification_id": {
                "type": "string",
                "description": "The verificationId returned by px_verify_start"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "reason": {
                "description": "string: Why a check was not approved, when it is not obvious from `status` One of: wrong_code, already_used, not_pending."
              },
              "status": {
                "description": "string: One of: approved, denied, expired, max_attempts."
              },
              "verificationId": {
                "description": "string"
              },
              "attemptsRemaining": {
                "description": "integer"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Check a 2FA code (legacy name)",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "wmmn_get_balance",
          "description": "Legacy name of px_get_balance, kept so existing PacketExchange MCP set-ups keep working. Same tool, same arguments; prefer px_get_balance. PacketExchange: Read-only. Current account balance and test credit, in USD, plus their sum for reference. Only the balance pays for live calls and messages; test credit covers test API keys (simulated traffic) only. Requires the account:read scope (full-access keys have it).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "total": {
                "description": "balance + testCredit"
              },
              "balance": {
                "description": "string: US dollars as a decimal string with exactly 6 decimal places, e.g. \"0.012500\". Do money arithmetic with a decimal type, not floating point."
              },
              "testCredit": {
                "description": "string: US dollars as a decimal string with exactly 6 decimal places, e.g. \"0.012500\". Do money arithmetic with a decimal type, not floating point."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Account balance (legacy name)",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "wmmn_list_transactions",
          "description": "Legacy name of px_list_transactions, kept so existing PacketExchange MCP set-ups keep working. Same tool, same arguments; prefer px_list_transactions. PacketExchange: Read-only. Recent billing transactions for your account, newest first, amounts in USD (charges are negative, credits/top-ups positive). Types: topup, charge, credit, payout, platform_fee, test_credit. Requires the account:read scope.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Max rows, 1-100 (default 20)"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "items"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "description": "string"
                    },
                    "type": {
                      "description": "string: charge = usage you paid for; credit = seller earnings or a grant; platform_fee = the exchange fee One of: topup, charge, credit, payout, platform_fee, test_credit, chargeback, refund_reversal, refund, transfer."
                    },
                    "amount": {
                      "description": "Signed: negative for money out (charges, fees, payouts), positive for money in"
                    },
                    "callId": {
                      "description": "string: The call or message this line bills; equals the CDR callUuid"
                    },
                    "userId": {
                      "description": "string"
                    },
                    "createdAt": {
                      "description": "string: ISO-8601 timestamp (UTC)"
                    },
                    "reference": {
                      "description": "string"
                    },
                    "balanceAfter": {
                      "description": "string: US dollars as a decimal string with exactly 6 decimal places, e.g. \"0.012500\". Do money arithmetic with a decimal type, not floating point."
                    },
                    "relatedEntityId": {
                      "description": "string"
                    },
                    "relatedEntityType": {
                      "description": "string"
                    }
                  },
                  "additionalProperties": true
                },
                "description": "One entry per result."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Billing transactions (legacy name)",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "wmmn_topup_x402",
          "description": "Legacy name of px_topup_x402, kept so existing PacketExchange MCP set-ups keep working. Same tool, same arguments; prefer px_topup_x402. SPENDS MONEY FROM AN ON-CHAIN WALLET. Funds your PacketExchange balance with real USDC on Base over the x402 protocol. Step 1 is safe/read-only: call with just amount_usd to receive the payment requirements (HTTP 402 challenge naming the network, USDC amount and payTo address; nothing is charged).",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "amount_usd"
            ],
            "properties": {
              "amount_usd": {
                "type": "number",
                "maximum": 50000,
                "minimum": 5,
                "description": "Amount to add to your balance, in USD (paid 1:1 in USDC). Min 5, max 50000"
              },
              "payment_header": {
                "type": "string",
                "description": "Only on the SECOND call: the base64-encoded X-PAYMENT payload (your signed USDC authorization) from step 1. Providing it authorizes an on-chain transfer"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "properties": {
              "status": {
                "description": "Step 2: confirmed once the transfer has settled"
              },
              "txHash": {
                "description": "Step 2: the on-chain transaction hash"
              },
              "already": {
                "description": "Step 2: true when this payment had already been credited"
              },
              "network": {
                "description": "Step 2: the chain the USDC moved on"
              },
              "topupId": {
                "description": "Step 2: the top-up record"
              },
              "amountUsd": {
                "description": "Step 2: the amount credited, in USD"
              },
              "next_step": {
                "description": "Step 1 only: what to sign and send back as payment_header"
              },
              "payment_required": {
                "description": "Step 1 only: the HTTP 402 payment requirements (network, USDC amount, payTo address)"
              },
              "paymentResponseHeader": {
                "description": "Step 2: the settlement receipt (X-PAYMENT-RESPONSE)"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Top up with USDC (x402) (legacy name)",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": null
  },
  "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."
}