{
  "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": "mypricinglab.com",
    "site": "mypricinglab.com",
    "addresses": [
      {
        "address": "89.167.71.47",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 24940,
          "name": "HETZNER-AS - Hetzner Online GmbH",
          "prefix": "89.167.0.0/17",
          "country": "DE"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "89.167.71.47"
        ],
        "first_seen": "2026-11-22T15:27:01.894Z",
        "last_seen": "2026-11-23T15:28:07.796Z",
        "checks": 2
      }
    ],
    "hosting": [],
    "software": [],
    "server_info": {
      "name": "MatLogica Demo",
      "version": "0.4.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {},
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 1,
      "sample": [
        {
          "id": "12562",
          "url": "https://mypricinglab.com/lab/mcp",
          "server_name": "com.matlogica/pricinglab",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T15:29:02.307Z"
        }
      ]
    },
    "same_site": {
      "total": 1,
      "sample": [
        {
          "id": "12562",
          "url": "https://mypricinglab.com/lab/mcp",
          "server_name": "com.matlogica/pricinglab",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T15:29:02.307Z"
        }
      ]
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "com.matlogica",
      "total": 2,
      "sample": [
        {
          "name": "com.matlogica/aadc-mcp",
          "title": "MatLogica AADC: AAD, Greeks and the AADC Tracer"
        },
        {
          "name": "com.matlogica/pricinglab",
          "title": "PricingLab"
        }
      ]
    },
    "same_repository": null,
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "12561",
    "server_name": "com.matlogica/demo-workspace",
    "url": "https://mypricinglab.com/mcp/demo",
    "host": "mypricinglab.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-23T15:28:07.796Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "b1cff94f538bbc5b69182dc8102e1f5fa9d85cbace1dd8e340afe1c90ad50ef7",
    "first_listed_at": "2026-11-21T09:38:00.869Z",
    "created_at": "2026-11-21T06:10:10.612Z",
    "resolved_addresses": [
      "89.167.71.47"
    ]
  },
  "server": {
    "name": "com.matlogica/demo-workspace",
    "title": "MatLogica Demo",
    "description": "Price sample option and gas storage books with AADC sensitivities, explain P&L and trace a trade",
    "version": "0.4.0",
    "registry_status": "active",
    "repository_url": null,
    "website_url": "https://mypricinglab.com",
    "published_at": "2026-11-16T13:08:31.900Z",
    "updated_at": "2026-11-16T13:08:31.900Z",
    "first_seen": "2026-11-21T06:10:09.987Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:14:13.410Z"
  },
  "operator": {
    "key": "mypricinglab.com",
    "name": "mypricinglab.com",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 3,
    "answered": 3,
    "answered_percent": 100,
    "avg_listing_latency_ms": 954,
    "first_check_in_window": "2026-11-21T09:38:00.869Z",
    "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": "b1cff94f538bbc5b69182dc8102e1f5fa9d85cbace1dd8e340afe1c90ad50ef7",
    "tools": 31,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-21T09:38:01.871Z",
    "tool_names": [
      "demo_start_session",
      "demo_end_session",
      "demo_capabilities",
      "demo_prepared_case",
      "demo_workbench",
      "demo_list_entities",
      "demo_get_version",
      "demo_create_book",
      "demo_edit_position",
      "demo_create_market",
      "demo_replace_market",
      "demo_market_factors",
      "demo_stress_market",
      "demo_advance_market",
      "demo_export_case",
      "demo_price_book",
      "demo_get_job",
      "demo_cancel_job",
      "demo_replay_job",
      "demo_export_result",
      "demo_inspect_result",
      "demo_explain_market_change",
      "demo_revaluation_waterfall",
      "demo_explain_gas_date_change",
      "demo_trace_trade",
      "demo_get_trace",
      "demo_export_trace",
      "demo_cancel_trace",
      "demo_compare_traces",
      "demo_inspect_trace",
      "demo_compare_trace_values"
    ],
    "declared": {
      "tools": [
        {
          "name": "demo_start_session",
          "description": "Open an isolated temporary demo portfolio workspace. No login required. Call once per conversation; retain guest_session for later tools.",
          "inputSchema": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "demo_end_session",
          "description": "Delete this temporary demo workspace.",
          "inputSchema": {
            "type": "object",
            "required": [
              "guest_session"
            ],
            "properties": {
              "guest_session": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "demo_capabilities",
          "description": "Read the actual tool catalogue, storage limits and currently enabled calculation methods.",
          "inputSchema": {
            "type": "object",
            "title": "Empty",
            "required": [
              "guest_session"
            ],
            "properties": {
              "guest_session": {
                "type": "string",
                "description": "Workspace returned by demo_start_session in this conversation."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "demo_prepared_case",
          "description": "Read the synthetic six-position input template when prepared_case_available is true; this computes no price.",
          "inputSchema": {
            "type": "object",
            "title": "Empty",
            "required": [
              "guest_session"
            ],
            "properties": {
              "guest_session": {
                "type": "string",
                "description": "Workspace returned by demo_start_session in this conversation."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "demo_workbench",
          "description": "Open the owned portfolio/market workbench and show valid next actions.",
          "inputSchema": {
            "type": "object",
            "title": "Empty",
            "required": [
              "guest_session"
            ],
            "properties": {
              "guest_session": {
                "type": "string",
                "description": "Workspace returned by demo_start_session in this conversation."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "demo_list_entities",
          "description": "List your saved book/market heads without rendering a new workbench.",
          "inputSchema": {
            "type": "object",
            "title": "Empty",
            "required": [
              "guest_session"
            ],
            "properties": {
              "guest_session": {
                "type": "string",
                "description": "Workspace returned by demo_start_session in this conversation."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "demo_get_version",
          "description": "Read your immutable book or market snapshot; omit version for its current head.",
          "inputSchema": {
            "type": "object",
            "title": "Read",
            "required": [
              "entity_id",
              "guest_session"
            ],
            "properties": {
              "version": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 1
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Version",
                "default": null
              },
              "entity_id": {
                "type": "string",
                "title": "Entity Id",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
              },
              "guest_session": {
                "type": "string",
                "description": "Workspace returned by demo_start_session in this conversation."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "demo_create_book",
          "description": "Create a bounded sandbox portfolio; this does not book a production trade.",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "Book": {
                "type": "object",
                "title": "Book",
                "required": [
                  "name",
                  "currency",
                  "positions"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "title": "Name",
                    "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                  },
                  "currency": {
                    "type": "string",
                    "const": "USD",
                    "title": "Currency"
                  },
                  "positions": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/Position"
                    },
                    "title": "Positions",
                    "maxItems": 12
                  }
                },
                "additionalProperties": false
              },
              "GasTrade": {
                "type": "object",
                "title": "GasTrade",
                "required": [
                  "product",
                  "facility_id",
                  "policy_id",
                  "policy_sha256",
                  "curve_id",
                  "start_date",
                  "end_date",
                  "contract_days",
                  "risk_semantics",
                  "currency",
                  "volume_unit"
                ],
                "properties": {
                  "product": {
                    "type": "string",
                    "const": "gas_storage",
                    "title": "Product"
                  },
                  "currency": {
                    "type": "string",
                    "const": "USD",
                    "title": "Currency"
                  },
                  "curve_id": {
                    "type": "string",
                    "title": "Curve Id",
                    "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                  },
                  "end_date": {
                    "type": "string",
                    "title": "End Date"
                  },
                  "policy_id": {
                    "type": "string",
                    "title": "Policy Id",
                    "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                  },
                  "start_date": {
                    "type": "string",
                    "title": "Start Date"
                  },
                  "facility_id": {
                    "type": "string",
                    "title": "Facility Id",
                    "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                  },
                  "volume_unit": {
                    "type": "string",
                    "const": "MMBtu",
                    "title": "Volume Unit"
                  },
                  "contract_days": {
                    "type": "integer",
                    "const": 180,
                    "title": "Contract Days"
                  },
                  "policy_sha256": {
                    "type": "string",
                    "title": "Policy Sha256",
                    "pattern": "^[0-9a-f]{64}$"
                  },
                  "risk_semantics": {
                    "type": "string",
                    "const": "fixed_policy_fixed_ou_parameters",
                    "title": "Risk Semantics"
                  }
                },
                "additionalProperties": false
              },
              "Position": {
                "type": "object",
                "title": "Position",
                "required": [
                  "trade_id",
                  "group",
                  "quantity",
                  "instrument"
                ],
                "properties": {
                  "group": {
                    "type": "string",
                    "title": "Group",
                    "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                  },
                  "quantity": {
                    "type": "number",
                    "title": "Quantity"
                  },
                  "trade_id": {
                    "type": "string",
                    "title": "Trade Id",
                    "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                  },
                  "instrument": {
                    "oneOf": [
                      {
                        "$ref": "#/$defs/AsianTrade"
                      },
                      {
                        "$ref": "#/$defs/BasketTrade"
                      },
                      {
                        "$ref": "#/$defs/GasTrade"
                      }
                    ],
                    "title": "Instrument",
                    "discriminator": {
                      "mapping": {
                        "asian": "#/$defs/AsianTrade",
                        "basket": "#/$defs/BasketTrade",
                        "gas_storage": "#/$defs/GasTrade"
                      },
                      "propertyName": "product"
                    }
                  }
                },
                "additionalProperties": false
              },
              "AsianTrade": {
                "type": "object",
                "title": "AsianTrade",
                "required": [
                  "product",
                  "asset_id",
                  "strike",
                  "fixing_dates",
                  "settlement_date",
                  "option_type",
                  "averaging",
                  "day_count",
                  "currency"
                ],
                "properties": {
                  "strike": {
                    "type": "number",
                    "title": "Strike",
                    "exclusiveMinimum": 0
                  },
                  "product": {
                    "type": "string",
                    "const": "asian",
                    "title": "Product"
                  },
                  "asset_id": {
                    "type": "string",
                    "title": "Asset Id",
                    "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                  },
                  "currency": {
                    "type": "string",
                    "const": "USD",
                    "title": "Currency"
                  },
                  "averaging": {
                    "type": "string",
                    "const": "arithmetic",
                    "title": "Averaging"
                  },
                  "day_count": {
                    "type": "string",
                    "const": "ACT/365F",
                    "title": "Day Count"
                  },
                  "option_type": {
                    "type": "string",
                    "const": "call",
                    "title": "Option Type"
                  },
                  "fixing_dates": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Fixing Dates",
                    "maxItems": 366,
                    "minItems": 1
                  },
                  "settlement_date": {
                    "type": "string",
                    "title": "Settlement Date"
                  }
                },
                "additionalProperties": false
              },
              "BasketTrade": {
                "type": "object",
                "title": "BasketTrade",
                "required": [
                  "product",
                  "asset_ids",
                  "strike",
                  "maturity_date",
                  "settlement_date",
                  "option_type",
                  "weights",
                  "day_count",
                  "currency"
                ],
                "properties": {
                  "strike": {
                    "type": "number",
                    "title": "Strike",
                    "exclusiveMinimum": 0
                  },
                  "product": {
                    "type": "string",
                    "const": "basket",
                    "title": "Product"
                  },
                  "weights": {
                    "type": "array",
                    "title": "Weights",
                    "maxItems": 2,
                    "minItems": 2,
                    "prefixItems": [
                      {
                        "type": "number",
                        "const": 0.5
                      },
                      {
                        "type": "number",
                        "const": 0.5
                      }
                    ]
                  },
                  "currency": {
                    "type": "string",
                    "const": "USD",
                    "title": "Currency"
                  },
                  "asset_ids": {
                    "type": "array",
                    "title": "Asset Ids",
                    "maxItems": 2,
                    "minItems": 2,
                    "prefixItems": [
                      {
                        "type": "string",
                        "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                      },
                      {
                        "type": "string",
                        "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                      }
                    ]
                  },
                  "day_count": {
                    "type": "string",
                    "const": "ACT/365F",
                    "title": "Day Count"
                  },
                  "option_type": {
                    "enum": [
                      "call",
                      "put"
                    ],
                    "type": "string",
                    "title": "Option Type"
                  },
                  "maturity_date": {
                    "type": "string",
                    "title": "Maturity Date"
                  },
                  "settlement_date": {
                    "type": "string",
                    "title": "Settlement Date"
                  }
                },
                "additionalProperties": false
              }
            },
            "title": "CreateBook",
            "required": [
              "book",
              "idempotency_key",
              "guest_session"
            ],
            "properties": {
              "book": {
                "$ref": "#/$defs/Book"
              },
              "guest_session": {
                "type": "string",
                "description": "Workspace returned by demo_start_session in this conversation."
              },
              "idempotency_key": {
                "type": "string",
                "title": "Idempotency Key",
                "pattern": "^[A-Za-z0-9_.:-]{1,128}$"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "demo_edit_position",
          "description": "Add, replace, remove or clone a position using an exact book-version guard.",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "GasTrade": {
                "type": "object",
                "title": "GasTrade",
                "required": [
                  "product",
                  "facility_id",
                  "policy_id",
                  "policy_sha256",
                  "curve_id",
                  "start_date",
                  "end_date",
                  "contract_days",
                  "risk_semantics",
                  "currency",
                  "volume_unit"
                ],
                "properties": {
                  "product": {
                    "type": "string",
                    "const": "gas_storage",
                    "title": "Product"
                  },
                  "currency": {
                    "type": "string",
                    "const": "USD",
                    "title": "Currency"
                  },
                  "curve_id": {
                    "type": "string",
                    "title": "Curve Id",
                    "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                  },
                  "end_date": {
                    "type": "string",
                    "title": "End Date"
                  },
                  "policy_id": {
                    "type": "string",
                    "title": "Policy Id",
                    "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                  },
                  "start_date": {
                    "type": "string",
                    "title": "Start Date"
                  },
                  "facility_id": {
                    "type": "string",
                    "title": "Facility Id",
                    "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                  },
                  "volume_unit": {
                    "type": "string",
                    "const": "MMBtu",
                    "title": "Volume Unit"
                  },
                  "contract_days": {
                    "type": "integer",
                    "const": 180,
                    "title": "Contract Days"
                  },
                  "policy_sha256": {
                    "type": "string",
                    "title": "Policy Sha256",
                    "pattern": "^[0-9a-f]{64}$"
                  },
                  "risk_semantics": {
                    "type": "string",
                    "const": "fixed_policy_fixed_ou_parameters",
                    "title": "Risk Semantics"
                  }
                },
                "additionalProperties": false
              },
              "Position": {
                "type": "object",
                "title": "Position",
                "required": [
                  "trade_id",
                  "group",
                  "quantity",
                  "instrument"
                ],
                "properties": {
                  "group": {
                    "type": "string",
                    "title": "Group",
                    "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                  },
                  "quantity": {
                    "type": "number",
                    "title": "Quantity"
                  },
                  "trade_id": {
                    "type": "string",
                    "title": "Trade Id",
                    "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                  },
                  "instrument": {
                    "oneOf": [
                      {
                        "$ref": "#/$defs/AsianTrade"
                      },
                      {
                        "$ref": "#/$defs/BasketTrade"
                      },
                      {
                        "$ref": "#/$defs/GasTrade"
                      }
                    ],
                    "title": "Instrument",
                    "discriminator": {
                      "mapping": {
                        "asian": "#/$defs/AsianTrade",
                        "basket": "#/$defs/BasketTrade",
                        "gas_storage": "#/$defs/GasTrade"
                      },
                      "propertyName": "product"
                    }
                  }
                },
                "additionalProperties": false
              },
              "AsianTrade": {
                "type": "object",
                "title": "AsianTrade",
                "required": [
                  "product",
                  "asset_id",
                  "strike",
                  "fixing_dates",
                  "settlement_date",
                  "option_type",
                  "averaging",
                  "day_count",
                  "currency"
                ],
                "properties": {
                  "strike": {
                    "type": "number",
                    "title": "Strike",
                    "exclusiveMinimum": 0
                  },
                  "product": {
                    "type": "string",
                    "const": "asian",
                    "title": "Product"
                  },
                  "asset_id": {
                    "type": "string",
                    "title": "Asset Id",
                    "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                  },
                  "currency": {
                    "type": "string",
                    "const": "USD",
                    "title": "Currency"
                  },
                  "averaging": {
                    "type": "string",
                    "const": "arithmetic",
                    "title": "Averaging"
                  },
                  "day_count": {
                    "type": "string",
                    "const": "ACT/365F",
                    "title": "Day Count"
                  },
                  "option_type": {
                    "type": "string",
                    "const": "call",
                    "title": "Option Type"
                  },
                  "fixing_dates": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Fixing Dates",
                    "maxItems": 366,
                    "minItems": 1
                  },
                  "settlement_date": {
                    "type": "string",
                    "title": "Settlement Date"
                  }
                },
                "additionalProperties": false
              },
              "BasketTrade": {
                "type": "object",
                "title": "BasketTrade",
                "required": [
                  "product",
                  "asset_ids",
                  "strike",
                  "maturity_date",
                  "settlement_date",
                  "option_type",
                  "weights",
                  "day_count",
                  "currency"
                ],
                "properties": {
                  "strike": {
                    "type": "number",
                    "title": "Strike",
                    "exclusiveMinimum": 0
                  },
                  "product": {
                    "type": "string",
                    "const": "basket",
                    "title": "Product"
                  },
                  "weights": {
                    "type": "array",
                    "title": "Weights",
                    "maxItems": 2,
                    "minItems": 2,
                    "prefixItems": [
                      {
                        "type": "number",
                        "const": 0.5
                      },
                      {
                        "type": "number",
                        "const": 0.5
                      }
                    ]
                  },
                  "currency": {
                    "type": "string",
                    "const": "USD",
                    "title": "Currency"
                  },
                  "asset_ids": {
                    "type": "array",
                    "title": "Asset Ids",
                    "maxItems": 2,
                    "minItems": 2,
                    "prefixItems": [
                      {
                        "type": "string",
                        "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                      },
                      {
                        "type": "string",
                        "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                      }
                    ]
                  },
                  "day_count": {
                    "type": "string",
                    "const": "ACT/365F",
                    "title": "Day Count"
                  },
                  "option_type": {
                    "enum": [
                      "call",
                      "put"
                    ],
                    "type": "string",
                    "title": "Option Type"
                  },
                  "maturity_date": {
                    "type": "string",
                    "title": "Maturity Date"
                  },
                  "settlement_date": {
                    "type": "string",
                    "title": "Settlement Date"
                  }
                },
                "additionalProperties": false
              }
            },
            "title": "EditPosition",
            "required": [
              "book_id",
              "expected_version",
              "action",
              "trade_id",
              "idempotency_key",
              "guest_session"
            ],
            "properties": {
              "action": {
                "enum": [
                  "add",
                  "replace",
                  "remove",
                  "clone"
                ],
                "type": "string",
                "title": "Action"
              },
              "book_id": {
                "type": "string",
                "title": "Book Id",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
              },
              "position": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Position"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "trade_id": {
                "type": "string",
                "title": "Trade Id",
                "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
              },
              "new_trade_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "New Trade Id",
                "default": null
              },
              "guest_session": {
                "type": "string",
                "description": "Workspace returned by demo_start_session in this conversation."
              },
              "idempotency_key": {
                "type": "string",
                "title": "Idempotency Key",
                "pattern": "^[A-Za-z0-9_.:-]{1,128}$"
              },
              "expected_version": {
                "type": "integer",
                "title": "Expected Version",
                "minimum": 1
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "demo_create_market",
          "description": "Save a complete immutable market/fixing snapshot with explicit conventions.",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "Fixing": {
                "type": "object",
                "title": "Fixing",
                "required": [
                  "asset_id",
                  "fixing_date",
                  "value"
                ],
                "properties": {
                  "value": {
                    "type": "number",
                    "title": "Value",
                    "exclusiveMinimum": 0
                  },
                  "asset_id": {
                    "type": "string",
                    "title": "Asset Id",
                    "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                  },
                  "fixing_date": {
                    "type": "string",
                    "title": "Fixing Date"
                  }
                },
                "additionalProperties": false
              },
              "GasCurve": {
                "type": "object",
                "title": "GasCurve",
                "required": [
                  "curve_id",
                  "forwards_usd_per_mmbtu"
                ],
                "properties": {
                  "curve_id": {
                    "type": "string",
                    "title": "Curve Id",
                    "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                  },
                  "forwards_usd_per_mmbtu": {
                    "type": "array",
                    "items": {
                      "type": "number",
                      "exclusiveMinimum": 0
                    },
                    "title": "Forwards Usd Per Mmbtu",
                    "maxItems": 12,
                    "minItems": 12
                  }
                },
                "additionalProperties": false
              },
              "Correlation": {
                "type": "object",
                "title": "Correlation",
                "required": [
                  "asset_ids",
                  "value"
                ],
                "properties": {
                  "value": {
                    "type": "number",
                    "title": "Value",
                    "exclusiveMaximum": 1,
                    "exclusiveMinimum": -1
                  },
                  "asset_ids": {
                    "type": "array",
                    "title": "Asset Ids",
                    "maxItems": 2,
                    "minItems": 2,
                    "prefixItems": [
                      {
                        "type": "string",
                        "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                      },
                      {
                        "type": "string",
                        "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "EquityMarket": {
                "type": "object",
                "title": "EquityMarket",
                "required": [
                  "asset_id",
                  "spot",
                  "flat_volatility",
                  "continuous_dividend_yield"
                ],
                "properties": {
                  "spot": {
                    "type": "number",
                    "title": "Spot",
                    "exclusiveMinimum": 0
                  },
                  "asset_id": {
                    "type": "string",
                    "title": "Asset Id",
                    "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                  },
                  "flat_volatility": {
                    "type": "number",
                    "title": "Flat Volatility",
                    "minimum": 0
                  },
                  "continuous_dividend_yield": {
                    "type": "number",
                    "title": "Continuous Dividend Yield"
                  }
                },
                "additionalProperties": false
              },
              "MarketSnapshot": {
                "type": "object",
                "title": "MarketSnapshot",
                "required": [
                  "valuation_date",
                  "annual_continuous_rate",
                  "day_count",
                  "currency",
                  "equities",
                  "correlations",
                  "gas_curves",
                  "fixings"
                ],
                "properties": {
                  "fixings": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/Fixing"
                    },
                    "title": "Fixings",
                    "maxItems": 12000
                  },
                  "currency": {
                    "type": "string",
                    "const": "USD",
                    "title": "Currency"
                  },
                  "equities": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/EquityMarket"
                    },
                    "title": "Equities",
                    "maxItems": 32
                  },
                  "day_count": {
                    "type": "string",
                    "const": "ACT/365F",
                    "title": "Day Count"
                  },
                  "gas_curves": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/GasCurve"
                    },
                    "title": "Gas Curves",
                    "maxItems": 12
                  },
                  "correlations": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/Correlation"
                    },
                    "title": "Correlations",
                    "maxItems": 32
                  },
                  "valuation_date": {
                    "type": "string",
                    "title": "Valuation Date"
                  },
                  "annual_continuous_rate": {
                    "type": "number",
                    "title": "Annual Continuous Rate"
                  }
                },
                "additionalProperties": false
              }
            },
            "title": "CreateMarket",
            "required": [
              "market",
              "idempotency_key",
              "guest_session"
            ],
            "properties": {
              "market": {
                "$ref": "#/$defs/MarketSnapshot"
              },
              "guest_session": {
                "type": "string",
                "description": "Workspace returned by demo_start_session in this conversation."
              },
              "idempotency_key": {
                "type": "string",
                "title": "Idempotency Key",
                "pattern": "^[A-Za-z0-9_.:-]{1,128}$"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "demo_replace_market",
          "description": "Create a new market version while retaining the original snapshot.",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "Fixing": {
                "type": "object",
                "title": "Fixing",
                "required": [
                  "asset_id",
                  "fixing_date",
                  "value"
                ],
                "properties": {
                  "value": {
                    "type": "number",
                    "title": "Value",
                    "exclusiveMinimum": 0
                  },
                  "asset_id": {
                    "type": "string",
                    "title": "Asset Id",
                    "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                  },
                  "fixing_date": {
                    "type": "string",
                    "title": "Fixing Date"
                  }
                },
                "additionalProperties": false
              },
              "GasCurve": {
                "type": "object",
                "title": "GasCurve",
                "required": [
                  "curve_id",
                  "forwards_usd_per_mmbtu"
                ],
                "properties": {
                  "curve_id": {
                    "type": "string",
                    "title": "Curve Id",
                    "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                  },
                  "forwards_usd_per_mmbtu": {
                    "type": "array",
                    "items": {
                      "type": "number",
                      "exclusiveMinimum": 0
                    },
                    "title": "Forwards Usd Per Mmbtu",
                    "maxItems": 12,
                    "minItems": 12
                  }
                },
                "additionalProperties": false
              },
              "Correlation": {
                "type": "object",
                "title": "Correlation",
                "required": [
                  "asset_ids",
                  "value"
                ],
                "properties": {
                  "value": {
                    "type": "number",
                    "title": "Value",
                    "exclusiveMaximum": 1,
                    "exclusiveMinimum": -1
                  },
                  "asset_ids": {
                    "type": "array",
                    "title": "Asset Ids",
                    "maxItems": 2,
                    "minItems": 2,
                    "prefixItems": [
                      {
                        "type": "string",
                        "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                      },
                      {
                        "type": "string",
                        "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "EquityMarket": {
                "type": "object",
                "title": "EquityMarket",
                "required": [
                  "asset_id",
                  "spot",
                  "flat_volatility",
                  "continuous_dividend_yield"
                ],
                "properties": {
                  "spot": {
                    "type": "number",
                    "title": "Spot",
                    "exclusiveMinimum": 0
                  },
                  "asset_id": {
                    "type": "string",
                    "title": "Asset Id",
                    "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                  },
                  "flat_volatility": {
                    "type": "number",
                    "title": "Flat Volatility",
                    "minimum": 0
                  },
                  "continuous_dividend_yield": {
                    "type": "number",
                    "title": "Continuous Dividend Yield"
                  }
                },
                "additionalProperties": false
              },
              "MarketSnapshot": {
                "type": "object",
                "title": "MarketSnapshot",
                "required": [
                  "valuation_date",
                  "annual_continuous_rate",
                  "day_count",
                  "currency",
                  "equities",
                  "correlations",
                  "gas_curves",
                  "fixings"
                ],
                "properties": {
                  "fixings": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/Fixing"
                    },
                    "title": "Fixings",
                    "maxItems": 12000
                  },
                  "currency": {
                    "type": "string",
                    "const": "USD",
                    "title": "Currency"
                  },
                  "equities": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/EquityMarket"
                    },
                    "title": "Equities",
                    "maxItems": 32
                  },
                  "day_count": {
                    "type": "string",
                    "const": "ACT/365F",
                    "title": "Day Count"
                  },
                  "gas_curves": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/GasCurve"
                    },
                    "title": "Gas Curves",
                    "maxItems": 12
                  },
                  "correlations": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/Correlation"
                    },
                    "title": "Correlations",
                    "maxItems": 32
                  },
                  "valuation_date": {
                    "type": "string",
                    "title": "Valuation Date"
                  },
                  "annual_continuous_rate": {
                    "type": "number",
                    "title": "Annual Continuous Rate"
                  }
                },
                "additionalProperties": false
              }
            },
            "title": "ReplaceMarket",
            "required": [
              "market",
              "idempotency_key",
              "entity_id",
              "expected_version",
              "guest_session"
            ],
            "properties": {
              "market": {
                "$ref": "#/$defs/MarketSnapshot"
              },
              "entity_id": {
                "type": "string",
                "title": "Entity Id",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
              },
              "guest_session": {
                "type": "string",
                "description": "Workspace returned by demo_start_session in this conversation."
              },
              "idempotency_key": {
                "type": "string",
                "title": "Idempotency Key",
                "pattern": "^[A-Za-z0-9_.:-]{1,128}$"
              },
              "expected_version": {
                "type": "integer",
                "title": "Expected Version",
                "minimum": 1
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "demo_market_factors",
          "description": "List exact shockable factors and raw input units in your selected market version.",
          "inputSchema": {
            "type": "object",
            "title": "MarketFactors",
            "required": [
              "market_id",
              "market_version",
              "guest_session"
            ],
            "properties": {
              "market_id": {
                "type": "string",
                "title": "Market Id",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
              },
              "guest_session": {
                "type": "string",
                "description": "Workspace returned by demo_start_session in this conversation."
              },
              "market_version": {
                "type": "integer",
                "title": "Market Version",
                "minimum": 1
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "demo_stress_market",
          "description": "Save an explicit market-shock case. No price or stress P&L is calculated by this operation.",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "Shift": {
                "type": "object",
                "title": "Shift",
                "required": [
                  "factor",
                  "operation",
                  "amount"
                ],
                "properties": {
                  "amount": {
                    "type": "number",
                    "title": "Amount"
                  },
                  "factor": {
                    "type": "string",
                    "title": "Factor",
                    "maxLength": 256,
                    "minLength": 1
                  },
                  "operation": {
                    "enum": [
                      "add",
                      "multiply"
                    ],
                    "type": "string",
                    "title": "Operation"
                  }
                },
                "additionalProperties": false
              },
              "Scenario": {
                "type": "object",
                "title": "Scenario",
                "required": [
                  "name",
                  "shifts"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "title": "Name",
                    "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                  },
                  "shifts": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/Shift"
                    },
                    "title": "Shifts",
                    "maxItems": 64,
                    "minItems": 1
                  }
                },
                "additionalProperties": false
              }
            },
            "title": "StressMarket",
            "required": [
              "market_id",
              "market_version",
              "scenario",
              "idempotency_key",
              "guest_session"
            ],
            "properties": {
              "scenario": {
                "$ref": "#/$defs/Scenario"
              },
              "market_id": {
                "type": "string",
                "title": "Market Id",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
              },
              "guest_session": {
                "type": "string",
                "description": "Workspace returned by demo_start_session in this conversation."
              },
              "market_version": {
                "type": "integer",
                "title": "Market Version",
                "minimum": 1
              },
              "idempotency_key": {
                "type": "string",
                "title": "Idempotency Key",
                "pattern": "^[A-Za-z0-9_.:-]{1,128}$"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "demo_advance_market",
          "description": "Save an advanced valuation date with supplied fixings. Each product still needs dated-state qualification.",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "Fixing": {
                "type": "object",
                "title": "Fixing",
                "required": [
                  "asset_id",
                  "fixing_date",
                  "value"
                ],
                "properties": {
                  "value": {
                    "type": "number",
                    "title": "Value",
                    "exclusiveMinimum": 0
                  },
                  "asset_id": {
                    "type": "string",
                    "title": "Asset Id",
                    "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                  },
                  "fixing_date": {
                    "type": "string",
                    "title": "Fixing Date"
                  }
                },
                "additionalProperties": false
              },
              "DateCase": {
                "type": "object",
                "title": "DateCase",
                "required": [
                  "valuation_date",
                  "new_fixings"
                ],
                "properties": {
                  "new_fixings": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/Fixing"
                    },
                    "title": "New Fixings",
                    "maxItems": 12000
                  },
                  "valuation_date": {
                    "type": "string",
                    "title": "Valuation Date"
                  }
                },
                "additionalProperties": false
              }
            },
            "title": "AdvanceMarket",
            "required": [
              "market_id",
              "market_version",
              "dated_case",
              "idempotency_key",
              "guest_session"
            ],
            "properties": {
              "market_id": {
                "type": "string",
                "title": "Market Id",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
              },
              "dated_case": {
                "$ref": "#/$defs/DateCase"
              },
              "guest_session": {
                "type": "string",
                "description": "Workspace returned by demo_start_session in this conversation."
              },
              "market_version": {
                "type": "integer",
                "title": "Market Version",
                "minimum": 1
              },
              "idempotency_key": {
                "type": "string",
                "title": "Idempotency Key",
                "pattern": "^[A-Za-z0-9_.:-]{1,128}$"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "demo_export_case",
          "description": "Export exact owned book/market versions and their hashes for reproduction, with input-binding status.",
          "inputSchema": {
            "type": "object",
            "title": "ExportCase",
            "required": [
              "book_id",
              "book_version",
              "market_id",
              "market_version",
              "guest_session"
            ],
            "properties": {
              "book_id": {
                "type": "string",
                "title": "Book Id",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
              },
              "market_id": {
                "type": "string",
                "title": "Market Id",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
              },
              "book_version": {
                "type": "integer",
                "title": "Book Version",
                "minimum": 1
              },
              "guest_session": {
                "type": "string",
                "description": "Workspace returned by demo_start_session in this conversation."
              },
              "market_version": {
                "type": "integer",
                "title": "Market Version",
                "minimum": 1
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "demo_price_book",
          "description": "Queue the selected portfolio using exact saved versions and an admitted method. Read actual per-trade kernel and timings from demo_get_job; use matching work when comparing timings.",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "ExecutionSettings": {
                "type": "object",
                "title": "ExecutionSettings",
                "required": [
                  "paths",
                  "seed",
                  "native_threads",
                  "method",
                  "payoff_sharpness"
                ],
                "properties": {
                  "seed": {
                    "type": "integer",
                    "title": "Seed",
                    "maximum": 4294967295,
                    "minimum": 0
                  },
                  "paths": {
                    "type": "integer",
                    "title": "Paths",
                    "maximum": 4096,
                    "minimum": 2
                  },
                  "method": {
                    "enum": [
                      "native_price",
                      "native_fd_audit",
                      "aadc_forward",
                      "aadc_fd_benchmark",
                      "aadc_reverse"
                    ],
                    "type": "string",
                    "title": "Method"
                  },
                  "native_threads": {
                    "type": "integer",
                    "const": 1,
                    "title": "Native Threads"
                  },
                  "payoff_sharpness": {
                    "type": "number",
                    "const": 1000000,
                    "title": "Payoff Sharpness"
                  }
                },
                "additionalProperties": false
              }
            },
            "title": "PriceBook",
            "required": [
              "book_id",
              "book_version",
              "market_id",
              "market_version",
              "settings",
              "idempotency_key",
              "guest_session"
            ],
            "properties": {
              "book_id": {
                "type": "string",
                "title": "Book Id",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
              },
              "settings": {
                "$ref": "#/$defs/ExecutionSettings"
              },
              "market_id": {
                "type": "string",
                "title": "Market Id",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
              },
              "book_version": {
                "type": "integer",
                "title": "Book Version",
                "minimum": 1
              },
              "guest_session": {
                "type": "string",
                "description": "Workspace returned by demo_start_session in this conversation."
              },
              "market_version": {
                "type": "integer",
                "title": "Market Version",
                "minimum": 1
              },
              "idempotency_key": {
                "type": "string",
                "title": "Idempotency Key",
                "pattern": "^[A-Za-z0-9_.:-]{1,128}$"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "demo_get_job",
          "description": "Read immutable portfolio/trade results and measured kernel/timing evidence. recording_count is cumulative per kernel; kernel.kind and this job recording/workspace timings show whether it recorded.",
          "inputSchema": {
            "type": "object",
            "title": "JobReference",
            "required": [
              "job_id",
              "guest_session"
            ],
            "properties": {
              "job_id": {
                "type": "string",
                "title": "Job Id",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
              },
              "guest_session": {
                "type": "string",
                "description": "Workspace returned by demo_start_session in this conversation."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "demo_cancel_job",
          "description": "Cancel your queued/running calculation; late worker results cannot be published.",
          "inputSchema": {
            "type": "object",
            "title": "JobReference",
            "required": [
              "job_id",
              "guest_session"
            ],
            "properties": {
              "job_id": {
                "type": "string",
                "title": "Job Id",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
              },
              "guest_session": {
                "type": "string",
                "description": "Workspace returned by demo_start_session in this conversation."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "demo_replay_job",
          "description": "Queue the saved numerical recipe as a new calculation. It may reuse a retained kernel or record again; verify actual kernel/timing evidence. An admitted cache-policy-only release change carries explicit replay_source provenance.",
          "inputSchema": {
            "type": "object",
            "title": "ReplayJob",
            "required": [
              "job_id",
              "idempotency_key",
              "guest_session"
            ],
            "properties": {
              "job_id": {
                "type": "string",
                "title": "Job Id",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
              },
              "guest_session": {
                "type": "string",
                "description": "Workspace returned by demo_start_session in this conversation."
              },
              "idempotency_key": {
                "type": "string",
                "title": "Idempotency Key",
                "pattern": "^[A-Za-z0-9_.:-]{1,128}$"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "demo_export_result",
          "description": "Export your completed result, exact saved recipe and content hashes for reproduction.",
          "inputSchema": {
            "type": "object",
            "title": "JobReference",
            "required": [
              "job_id",
              "guest_session"
            ],
            "properties": {
              "job_id": {
                "type": "string",
                "title": "Job Id",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
              },
              "guest_session": {
                "type": "string",
                "description": "Workspace returned by demo_start_session in this conversation."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "demo_inspect_result",
          "description": "Inspect your saved complete portfolio, selected group or trade: unit results, signed values/first risks, timing and memory with exact saved versions.",
          "inputSchema": {
            "type": "object",
            "title": "InspectResult",
            "required": [
              "job_id",
              "guest_session"
            ],
            "properties": {
              "group": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Group",
                "default": null
              },
              "job_id": {
                "type": "string",
                "title": "Job Id",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
              },
              "trade_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Trade Id",
                "default": null
              },
              "guest_session": {
                "type": "string",
                "description": "Workspace returned by demo_start_session in this conversation."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "demo_explain_market_change",
          "description": "Explain the same-date market change between two owned complete AADC results using their actual first risks, full revaluation and retained residual.",
          "inputSchema": {
            "type": "object",
            "title": "CompareResults",
            "required": [
              "a",
              "b",
              "guest_session"
            ],
            "properties": {
              "a": {
                "type": "string",
                "title": "A",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
              },
              "b": {
                "type": "string",
                "title": "B",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
              },
              "guest_session": {
                "type": "string",
                "description": "Workspace returned by demo_start_session in this conversation."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "demo_revaluation_waterfall",
          "description": "Reconcile an explicitly ordered same-date sequence of your saved complete revaluations, including market and position changes.",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "OrderedResult": {
                "type": "object",
                "title": "OrderedResult",
                "required": [
                  "label",
                  "job_id"
                ],
                "properties": {
                  "label": {
                    "type": "string",
                    "title": "Label",
                    "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
                  },
                  "job_id": {
                    "type": "string",
                    "title": "Job Id",
                    "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
                  }
                },
                "additionalProperties": false
              }
            },
            "title": "Waterfall",
            "required": [
              "steps",
              "guest_session"
            ],
            "properties": {
              "steps": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/OrderedResult"
                },
                "title": "Steps",
                "maxItems": 6,
                "minItems": 2
              },
              "guest_session": {
                "type": "string",
                "description": "Workspace returned by demo_start_session in this conversation."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "demo_explain_gas_date_change",
          "description": "Explain one selected gas trade from admitted day0 to day1 with observed cash and historical financing, in explicit numeraires.",
          "inputSchema": {
            "type": "object",
            "title": "GasDateExplain",
            "required": [
              "a",
              "b",
              "trade_id",
              "guest_session"
            ],
            "properties": {
              "a": {
                "type": "string",
                "title": "A",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
              },
              "b": {
                "type": "string",
                "title": "B",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
              },
              "trade_id": {
                "type": "string",
                "title": "Trade Id",
                "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
              },
              "guest_session": {
                "type": "string",
                "description": "Workspace returned by demo_start_session in this conversation."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "demo_trace_trade",
          "description": "Queue a single-path Tracer diagnostic for one explicit trade in your saved AADC pricing job; pair with its original AADC path.",
          "inputSchema": {
            "type": "object",
            "title": "TraceTrade",
            "required": [
              "pricing_job_id",
              "trade_id",
              "idempotency_key",
              "guest_session"
            ],
            "properties": {
              "trade_id": {
                "type": "string",
                "title": "Trade Id",
                "pattern": "^[A-Za-z][A-Za-z0-9_.:-]{0,79}$"
              },
              "guest_session": {
                "type": "string",
                "description": "Workspace returned by demo_start_session in this conversation."
              },
              "pricing_job_id": {
                "type": "string",
                "title": "Pricing Job Id",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
              },
              "idempotency_key": {
                "type": "string",
                "title": "Idempotency Key",
                "pattern": "^[A-Za-z0-9_.:-]{1,128}$"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "demo_get_trace",
          "description": "Read your selected product diagnostic job status and completed source/function/output evidence.",
          "inputSchema": {
            "type": "object",
            "title": "JobReference",
            "required": [
              "job_id",
              "guest_session"
            ],
            "properties": {
              "job_id": {
                "type": "string",
                "title": "Job Id",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
              },
              "guest_session": {
                "type": "string",
                "description": "Workspace returned by demo_start_session in this conversation."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "demo_export_trace",
          "description": "Export your owned product trace with immutable selected pricing trade, market/book recipe and paired evidence.",
          "inputSchema": {
            "type": "object",
            "title": "JobReference",
            "required": [
              "job_id",
              "guest_session"
            ],
            "properties": {
              "job_id": {
                "type": "string",
                "title": "Job Id",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
              },
              "guest_session": {
                "type": "string",
                "description": "Workspace returned by demo_start_session in this conversation."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "demo_cancel_trace",
          "description": "Cancel your queued or running product diagnostic; late results cannot be published.",
          "inputSchema": {
            "type": "object",
            "title": "JobReference",
            "required": [
              "job_id",
              "guest_session"
            ],
            "properties": {
              "job_id": {
                "type": "string",
                "title": "Job Id",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
              },
              "guest_session": {
                "type": "string",
                "description": "Workspace returned by demo_start_session in this conversation."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "demo_compare_traces",
          "description": "Compare matched owned selected-path outputs and legacy source/expression summaries. Use demo_inspect_trace and demo_compare_trace_values for captured rich diagnostic intermediate values; operation IDs remain local to each recording.",
          "inputSchema": {
            "type": "object",
            "title": "CompareTraces",
            "required": [
              "a",
              "b",
              "guest_session"
            ],
            "properties": {
              "a": {
                "type": "string",
                "title": "A",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
              },
              "b": {
                "type": "string",
                "title": "B",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
              },
              "guest_session": {
                "type": "string",
                "description": "Workspace returned by demo_start_session in this conversation."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "demo_inspect_trace",
          "description": "Read an owned saved trace. Omit query for captured valued reports, economic stages and available SDK queries; exact saved queries only, no new computation.",
          "inputSchema": {
            "type": "object",
            "required": [
              "trace_job_id",
              "guest_session"
            ],
            "properties": {
              "query": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "kind"
                    ],
                    "properties": {
                      "kind": {
                        "enum": [
                          "stats",
                          "leaves",
                          "origin",
                          "uses",
                          "cone",
                          "at",
                          "branches"
                        ],
                        "type": "string"
                      },
                      "line": {
                        "type": "integer",
                        "maximum": 1000000,
                        "minimum": 1
                      },
                      "limit": {
                        "type": "integer",
                        "default": 16,
                        "maximum": 32,
                        "minimum": 1
                      },
                      "context": {
                        "type": "integer",
                        "default": 0,
                        "maximum": 3,
                        "minimum": 0
                      },
                      "entry_id": {
                        "type": "integer",
                        "maximum": 4999999,
                        "minimum": 0
                      },
                      "leaf_kind": {
                        "enum": [
                          "input",
                          "constant"
                        ],
                        "type": "string"
                      },
                      "max_lines": {
                        "type": "integer",
                        "default": 32,
                        "maximum": 64,
                        "minimum": 1
                      },
                      "source_id": {
                        "type": "string",
                        "pattern": "^[A-Za-z][A-Za-z0-9_.-]{0,100}\\.(hpp|cpp|h)$"
                      },
                      "input_name": {
                        "type": "string",
                        "pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}$"
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "trace_job_id": {
                "type": "string",
                "format": "uuid"
              },
              "guest_session": {
                "type": "string",
                "description": "Workspace returned by demo_start_session in this conversation."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "demo_compare_trace_values",
          "description": "Compare two owned saved diagnostic-valued traces after exact model/source/draw compatibility checks. Qualified semantic/source-site alignment only; no cross-record entry-ID matching.",
          "inputSchema": {
            "type": "object",
            "required": [
              "a",
              "b",
              "guest_session"
            ],
            "properties": {
              "a": {
                "type": "string",
                "format": "uuid"
              },
              "b": {
                "type": "string",
                "format": "uuid"
              },
              "guest_session": {
                "type": "string",
                "description": "Workspace returned by demo_start_session in this conversation."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": "Start each new conversation with demo_start_session, then retain its guest_session and include it in every subsequent tool call. No account or login is required. Never reuse a workspace from another conversation. Workspaces expire after 30 minutes without a tool call. Use synthetic demo trades and market data. If guest_session_invalid occurs, explain that the temporary portfolio has expired and start a new workspace. One calculation runs at a time, with at most four outstanding jobs and one per workspace. queue_limit means try later; never create extra sessions to bypass a limit. Jobs have a 40-second submission-to-result deadline including queue wait. Kernel reuse is measured per result; another visitor or Tracer can make the next calculation record again. For gas, read gas_storage_context in capabilities, prepared_case, get_job or inspect_result. Quantity one means one whole storage facility. Explain its capacity, starting inventory and contract period before comparing dollar value with gas prices per MMBtu. Different trade sizes can dominate a sample portfolio without indicating a pricing error. Keep numerical checks, sampling uncertainty and economic/model assumptions distinct. A missing joint standard error limits portfolio confidence intervals; it does not itself invalidate the computed expected portfolio value. demo_get_job and demo_inspect_result answers for AADC results carry aadc_measured (timings measured when that result was calculated) and aadc_on_your_models; pass both on to the user as given. Use ordinary text tools. Start with demo_capabilities and demo_list_entities. Read demo_prepared_case when available, save exact book/market versions, then use advertised pricing, inspection, P&L and trace tools. Trace execution closes pricing workers to keep pricing and diagnostics in separate serial phases. Obtain a warm timing pair before tracing; subsequent pricing may correctly record again. No custom screen is required. Use the advertised tools and immutable version IDs. Start with demo_workbench. Do not invent a numerical result or an unadvertised calculation method. Portfolio changes are sandbox versions, not production bookings. Read demo_capabilities for admitted methods and kernel_cache_policy. Use exact saved versions with demo_price_book, then demo_get_job. demo_replay_job submits the saved numerical recipe as a new job; demo_export_result preserves its execution and replay-source provenance. Use saved trades[].result.kernel and timings from demo_get_job or demo_inspect_result to answer replay/timing questions without recalculating. recording_count=1 is cumulative for one kernel, not one new recording in each job. Verify warm reuse from kind=kernel_replay, unchanged worker_instance, structure_sha256 and generation, incremented replay_count, and this job recording.value=0 and workspace_setup.value=0. Follow the configured route/RSS retention policy; product/backend switches or eviction can make a recipe resubmission cold. For a same-work timing pair, match contract, market, method and sampling; use consecutive single-product jobs if needed. Compare engine_wall measurements only with the same scope; report server_round_trip separately as private process RPC including startup, not HTTP or queue latency. AADC gas complete engine_wall is unavailable, but its forward/reverse/aggregation phases and process RPC are measured; do not relabel their sum as complete gas engine time. Report observed measurements and their scope; no speedup is guaranteed. Use demo_inspect_result for saved book/group/trade values, first Greeks and phase/memory measurements. For the same book and date, demo_explain_market_change uses actual AADC risks and reports the full-revaluation residual. Use demo_revaluation_waterfall for ordered market/quantity stages. Cross-date gas requires the separately admitted day1 state and demo_explain_gas_date_change; cash and financing stay explicit. After an admitted AADC price, use demo_trace_trade with its e"
  },
  "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."
}