MatLogica Demo is an MCP server published by com.matlogica, hosted at mypricinglab.com. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 31 tools, including demo_start_session, demo_end_session, demo_capabilities, demo_prepared_case, demo_workbench.
Price sample option and gas storage books with AADC sensitivities, explain P&L and trace a trade
4 connections through 4 shared values. Tap any node.
Inferred from the host name and headers: what a server runs on, not who runs it.
Open an isolated temporary demo portfolio workspace. No login required. Call once per conversation; retain guest_session for later tools.
No parameters.
{
"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
}
}Delete this temporary demo workspace.
| Parameter | Type | Description |
|---|---|---|
| guest_session |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
| string |
{
"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
}
}Read the actual tool catalogue, storage limits and currently enabled calculation methods.
| Parameter | Type | Description |
|---|---|---|
| guest_session * | string | Workspace returned by demo_start_session in this conversation. |
{
"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
}
}Read the synthetic six-position input template when prepared_case_available is true; this computes no price.
| Parameter | Type | Description |
|---|---|---|
| guest_session * | string | Workspace returned by demo_start_session in this conversation. |
{
"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
}
}Open the owned portfolio/market workbench and show valid next actions.
| Parameter | Type | Description |
|---|---|---|
| guest_session * | string | Workspace returned by demo_start_session in this conversation. |
{
"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
}
}List your saved book/market heads without rendering a new workbench.
| Parameter | Type | Description |
|---|---|---|
| guest_session * | string | Workspace returned by demo_start_session in this conversation. |
{
"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
}
}Read your immutable book or market snapshot; omit version for its current head.
| Parameter | Type | Description |
|---|---|---|
| version | any | |
| entity_id * | string | |
| guest_session * | string | Workspace returned by demo_start_session in this conversation. |
{
"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
}
}Create a bounded sandbox portfolio; this does not book a production trade.
| Parameter | Type | Description |
|---|---|---|
| book * | ref | |
| guest_session * | string | Workspace returned by demo_start_session in this conversation. |
| idempotency_key * | string |
{
"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
}
}Add, replace, remove or clone a position using an exact book-version guard.
| Parameter | Type | Description |
|---|---|---|
| action * | string | one of ["add","replace","remove","clone"] |
| book_id * | string | |
| position | any | |
| trade_id * | string | |
| new_trade_id | any | |
| guest_session * | string | Workspace returned by demo_start_session in this conversation. |
| idempotency_key * | string | |
| expected_version * | integer |
{
"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
}
}Save a complete immutable market/fixing snapshot with explicit conventions.
| Parameter | Type | Description |
|---|---|---|
| market * | ref | |
| guest_session * | string | Workspace returned by demo_start_session in this conversation. |
| idempotency_key * | string |
{
"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
}
}Create a new market version while retaining the original snapshot.
| Parameter | Type | Description |
|---|---|---|
| market * | ref | |
| entity_id * | string | |
| guest_session * | string | Workspace returned by demo_start_session in this conversation. |
| idempotency_key * | string | |
| expected_version * | integer |
{
"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
}
}List exact shockable factors and raw input units in your selected market version.
| Parameter | Type | Description |
|---|---|---|
| market_id * | string | |
| guest_session * | string | Workspace returned by demo_start_session in this conversation. |
| market_version * | integer |
{
"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
}
}Save an explicit market-shock case. No price or stress P&L is calculated by this operation.
| Parameter | Type | Description |
|---|---|---|
| scenario * | ref | |
| market_id * | string | |
| guest_session * | string | Workspace returned by demo_start_session in this conversation. |
| market_version * | integer | |
| idempotency_key * | string |
{
"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
}
}Save an advanced valuation date with supplied fixings. Each product still needs dated-state qualification.
| Parameter | Type | Description |
|---|---|---|
| market_id * | string | |
| dated_case * | ref | |
| guest_session * | string | Workspace returned by demo_start_session in this conversation. |
| market_version * | integer | |
| idempotency_key * | string |
{
"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
}
}Export exact owned book/market versions and their hashes for reproduction, with input-binding status.
| Parameter | Type | Description |
|---|---|---|
| book_id * | string | |
| market_id * | string | |
| book_version * | integer | |
| guest_session * | string | Workspace returned by demo_start_session in this conversation. |
| market_version * | integer |
{
"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
}
}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.
| Parameter | Type | Description |
|---|---|---|
| book_id * | string | |
| settings * | ref | |
| market_id * | string | |
| book_version * | integer | |
| guest_session * | string | Workspace returned by demo_start_session in this conversation. |
| market_version * | integer | |
| idempotency_key * | string |
{
"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
}
}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.
| Parameter | Type | Description |
|---|---|---|
| job_id * | string | |
| guest_session * | string | Workspace returned by demo_start_session in this conversation. |
{
"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
}
}Cancel your queued/running calculation; late worker results cannot be published.
| Parameter | Type | Description |
|---|---|---|
| job_id * | string | |
| guest_session * | string | Workspace returned by demo_start_session in this conversation. |
{
"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
}
}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.
| Parameter | Type | Description |
|---|---|---|
| job_id * | string | |
| guest_session * | string | Workspace returned by demo_start_session in this conversation. |
| idempotency_key * | string |
{
"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
}
}Export your completed result, exact saved recipe and content hashes for reproduction.
| Parameter | Type | Description |
|---|---|---|
| job_id * | string | |
| guest_session * | string | Workspace returned by demo_start_session in this conversation. |
{
"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
}
}Inspect your saved complete portfolio, selected group or trade: unit results, signed values/first risks, timing and memory with exact saved versions.
| Parameter | Type | Description |
|---|---|---|
| group | any | |
| job_id * | string | |
| trade_id | any | |
| guest_session * | string | Workspace returned by demo_start_session in this conversation. |
{
"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
}
}Explain the same-date market change between two owned complete AADC results using their actual first risks, full revaluation and retained residual.
| Parameter | Type | Description |
|---|---|---|
| a * | string | |
| b * | string | |
| guest_session * | string | Workspace returned by demo_start_session in this conversation. |
{
"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
}
}Reconcile an explicitly ordered same-date sequence of your saved complete revaluations, including market and position changes.
| Parameter | Type | Description |
|---|---|---|
| steps * | array | |
| guest_session * | string | Workspace returned by demo_start_session in this conversation. |
{
"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
}
}Explain one selected gas trade from admitted day0 to day1 with observed cash and historical financing, in explicit numeraires.
| Parameter | Type | Description |
|---|---|---|
| a * | string | |
| b * | string | |
| trade_id * | string | |
| guest_session * | string | Workspace returned by demo_start_session in this conversation. |
{
"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
}
}Queue a single-path Tracer diagnostic for one explicit trade in your saved AADC pricing job; pair with its original AADC path.
| Parameter | Type | Description |
|---|---|---|
| trade_id * | string | |
| guest_session * | string | Workspace returned by demo_start_session in this conversation. |
| pricing_job_id * | string | |
| idempotency_key * | string |
{
"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
}
}Read your selected product diagnostic job status and completed source/function/output evidence.
| Parameter | Type | Description |
|---|---|---|
| job_id * | string | |
| guest_session * | string | Workspace returned by demo_start_session in this conversation. |
{
"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
}
}Export your owned product trace with immutable selected pricing trade, market/book recipe and paired evidence.
| Parameter | Type | Description |
|---|---|---|
| job_id * | string | |
| guest_session * | string | Workspace returned by demo_start_session in this conversation. |
{
"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
}
}Cancel your queued or running product diagnostic; late results cannot be published.
| Parameter | Type | Description |
|---|---|---|
| job_id * | string | |
| guest_session * | string | Workspace returned by demo_start_session in this conversation. |
{
"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
}
}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.
| Parameter | Type | Description |
|---|---|---|
| a * | string | |
| b * | string | |
| guest_session * | string | Workspace returned by demo_start_session in this conversation. |
{
"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
}
}Read an owned saved trace. Omit query for captured valued reports, economic stages and available SDK queries; exact saved queries only, no new computation.
| Parameter | Type | Description |
|---|---|---|
| query | any | |
| trace_job_id * | string | |
| guest_session * | string | Workspace returned by demo_start_session in this conversation. |
{
"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
}
}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.
| Parameter | Type | Description |
|---|---|---|
| a * | string | |
| b * | string | |
| guest_session * | string | Workspace returned by demo_start_session in this conversation. |
{
"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
}
}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
Names, descriptions and schemas were written by the server and are shown as data.