{
  "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": "portfolio.fit",
    "site": "portfolio.fit",
    "addresses": [
      {
        "address": "172.67.220.82",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.208.0/20",
          "country": "US"
        }
      },
      {
        "address": "104.21.94.63",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.21.64.0/19",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3033::6815:5e3f",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3033::/48",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3037::ac43:dc52",
        "endpoints": 2,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3037::/48",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "172.67.220.82",
          "104.21.94.63",
          "2606:4700:3033::6815:5e3f",
          "2606:4700:3037::ac43:dc52"
        ],
        "first_seen": "2026-11-22T17:50:03.192Z",
        "last_seen": "2026-11-23T17:51:00.894Z",
        "checks": 2
      },
      {
        "addresses": [
          "104.21.94.63",
          "172.67.220.82",
          "2606:4700:3037::ac43:dc52",
          "2606:4700:3033::6815:5e3f"
        ],
        "first_seen": "2026-11-21T12:55:01.591Z",
        "last_seen": "2026-11-21T12:55:01.591Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "PortfolioFit",
      "version": "2.2.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 1,
      "sample": [
        {
          "id": "47286",
          "url": "https://googleadsconsultant.co.uk/mcp",
          "server_name": "uk.co.googleadsconsultant/site",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T23:12:00.988Z"
        }
      ]
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "fit.portfolio",
      "total": 0,
      "sample": []
    },
    "same_repository": null,
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "21781",
    "server_name": "fit.portfolio/portfoliofit",
    "url": "https://portfolio.fit/mcp",
    "host": "portfolio.fit",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-23T17:51:00.894Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "595e85b1813cbac1e9cbb0d7a9135051d3f0684d79787217922c78bfce165d55",
    "first_listed_at": "2026-11-21T12:55:01.591Z",
    "created_at": "2026-11-21T07:45:07.106Z",
    "resolved_addresses": [
      "172.67.220.82",
      "104.21.94.63",
      "2606:4700:3033::6815:5e3f",
      "2606:4700:3037::ac43:dc52"
    ]
  },
  "server": {
    "name": "fit.portfolio/portfoliofit",
    "title": "PortfolioFit",
    "description": "Check normalized portfolios against mandates and calculate allocation constraints.",
    "version": "0.1.3",
    "registry_status": "active",
    "repository_url": null,
    "website_url": "https://portfolio.fit/mcp-docs/",
    "published_at": "2026-08-03T10:06:02.897Z",
    "updated_at": "2026-08-03T10:06:02.897Z",
    "first_seen": "2026-11-21T07:45:06.317Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:29:11.517Z"
  },
  "operator": {
    "key": "portfolio.fit",
    "name": "portfolio.fit",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 3,
    "answered": 3,
    "answered_percent": 100,
    "avg_listing_latency_ms": 1107,
    "first_check_in_window": "2026-11-21T12:55:01.591Z",
    "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": "595e85b1813cbac1e9cbb0d7a9135051d3f0684d79787217922c78bfce165d55",
    "tools": 10,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-21T12:55:02.805Z",
    "tool_names": [
      "list_analysis_portfolios",
      "list_portfolio_series",
      "list_analyses",
      "get_analysis",
      "evaluate_portfolio_alignment",
      "calculate_portfolio_constraints",
      "upload_portfolio_series_rows",
      "cancel_portfolio_series_upload",
      "review_portfolio_series_profile",
      "calculate_portfolio_statistics"
    ],
    "declared": {
      "tools": [
        {
          "name": "list_analysis_portfolios",
          "title": "List analysis portfolios",
          "description": "List owner-scoped portfolios, analytics datasets, and profile readiness.",
          "inputSchema": {
            "type": "object",
            "title": "list_analysis_portfoliosArguments",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "title": "AnalysisPortfolioListOutput",
            "required": [
              "portfolios"
            ],
            "properties": {
              "portfolios": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true
                },
                "title": "Portfolios"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_portfolio_series",
          "title": "List portfolio series",
          "description": "Discover owner-scoped immutable series profiles and their exact dataset versions. This returns metadata and coverage only, never dataset rows.",
          "inputSchema": {
            "type": "object",
            "title": "list_portfolio_seriesArguments",
            "properties": {
              "cursor": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 1
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Cursor",
                "default": null
              },
              "statuses": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "enum": [
                        "proposed",
                        "confirmed"
                      ],
                      "type": "string"
                    },
                    "maxItems": 2
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Statuses",
                "default": null
              },
              "page_size": {
                "type": "integer",
                "title": "Page Size",
                "default": 50,
                "maximum": 100,
                "minimum": 1
              },
              "portfolio_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Portfolio Id",
                "default": null
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "title": "PortfolioSeriesListOutput",
            "required": [
              "series"
            ],
            "properties": {
              "series": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true
                },
                "title": "Series"
              },
              "next_cursor": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Next Cursor",
                "default": null
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_analyses",
          "title": "List analyses",
          "description": "Read private calculation groups and independent operations. Filter by kind, portfolio, dates, ready/running/attention status or legacy open/finished status.",
          "inputSchema": {
            "type": "object",
            "title": "list_analysesArguments",
            "properties": {
              "kind": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Kind",
                "default": null
              },
              "page": {
                "type": "integer",
                "title": "Page",
                "default": 1,
                "minimum": 1
              },
              "status": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Status",
                "default": null
              },
              "date_to": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "date"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Date To",
                "default": null
              },
              "date_from": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "date"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Date From",
                "default": null
              },
              "page_size": {
                "type": "integer",
                "title": "Page Size",
                "default": 20,
                "maximum": 100,
                "minimum": 1
              },
              "portfolio_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Portfolio Id",
                "default": null
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "AnalysisSummaryOutput": {
                "type": "object",
                "title": "AnalysisSummaryOutput",
                "required": [
                  "analysis_id",
                  "title",
                  "url",
                  "status",
                  "kinds",
                  "needs_attention",
                  "portfolios",
                  "step_count",
                  "started_at",
                  "updated_at"
                ],
                "properties": {
                  "url": {
                    "type": "string",
                    "title": "Url"
                  },
                  "kinds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Kinds"
                  },
                  "title": {
                    "type": "string",
                    "title": "Title"
                  },
                  "status": {
                    "type": "string",
                    "title": "Status"
                  },
                  "portfolios": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "title": "Portfolios"
                  },
                  "started_at": {
                    "type": "string",
                    "title": "Started At",
                    "format": "date-time"
                  },
                  "step_count": {
                    "type": "integer",
                    "title": "Step Count"
                  },
                  "updated_at": {
                    "type": "string",
                    "title": "Updated At",
                    "format": "date-time"
                  },
                  "analysis_id": {
                    "type": "string",
                    "title": "Analysis Id"
                  },
                  "finished_at": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date-time"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Finished At",
                    "default": null
                  },
                  "needs_attention": {
                    "type": "boolean",
                    "title": "Needs Attention"
                  },
                  "idempotent_replay": {
                    "type": "boolean",
                    "title": "Idempotent Replay",
                    "default": false
                  }
                }
              }
            },
            "title": "AnalysisListOutput",
            "required": [
              "analyses",
              "page",
              "page_size",
              "total",
              "has_more"
            ],
            "properties": {
              "page": {
                "type": "integer",
                "title": "Page"
              },
              "total": {
                "type": "integer",
                "title": "Total"
              },
              "analyses": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/AnalysisSummaryOutput"
                },
                "title": "Analyses"
              },
              "has_more": {
                "type": "boolean",
                "title": "Has More"
              },
              "page_size": {
                "type": "integer",
                "title": "Page Size"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_analysis",
          "title": "Get an analysis",
          "description": "Read retained normalized inputs, operations, results and owner-scoped dataset references. This is not an external agent transcript.",
          "inputSchema": {
            "type": "object",
            "title": "get_analysisArguments",
            "required": [
              "analysis_id"
            ],
            "properties": {
              "analysis_id": {
                "type": "string",
                "title": "Analysis Id",
                "format": "uuid"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "title": "AnalysisDetailOutput",
            "required": [
              "analysis_id",
              "title",
              "url",
              "status",
              "kinds",
              "needs_attention",
              "portfolios",
              "step_count",
              "started_at",
              "updated_at",
              "steps",
              "retention_days"
            ],
            "properties": {
              "url": {
                "type": "string",
                "title": "Url"
              },
              "kinds": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "title": "Kinds"
              },
              "steps": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true
                },
                "title": "Steps"
              },
              "title": {
                "type": "string",
                "title": "Title"
              },
              "status": {
                "type": "string",
                "title": "Status"
              },
              "portfolios": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true
                },
                "title": "Portfolios"
              },
              "started_at": {
                "type": "string",
                "title": "Started At",
                "format": "date-time"
              },
              "step_count": {
                "type": "integer",
                "title": "Step Count"
              },
              "updated_at": {
                "type": "string",
                "title": "Updated At",
                "format": "date-time"
              },
              "analysis_id": {
                "type": "string",
                "title": "Analysis Id"
              },
              "finished_at": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "date-time"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Finished At",
                "default": null
              },
              "retention_days": {
                "type": "integer",
                "title": "Retention Days"
              },
              "needs_attention": {
                "type": "boolean",
                "title": "Needs Attention"
              },
              "idempotent_replay": {
                "type": "boolean",
                "title": "Idempotent Replay",
                "default": false
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "evaluate_portfolio_alignment",
          "title": "Evaluate portfolio alignment",
          "description": "Compare a clean mandate with normalized holdings. Do not send PDF, CSV, spreadsheet, or factsheet files; extract them before calling.",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "AlignmentRule": {
                "type": "object",
                "title": "AlignmentRule",
                "required": [
                  "target",
                  "operator"
                ],
                "properties": {
                  "id": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Id",
                    "default": null
                  },
                  "unit": {
                    "type": "string",
                    "title": "Unit",
                    "default": "percent",
                    "maxLength": 64
                  },
                  "title": {
                    "type": "string",
                    "title": "Title",
                    "default": "",
                    "maxLength": 200
                  },
                  "target": {
                    "type": "string",
                    "title": "Target",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  "enabled": {
                    "type": "boolean",
                    "title": "Enabled",
                    "default": true
                  },
                  "operator": {
                    "enum": [
                      "<",
                      "<=",
                      "=",
                      "!=",
                      ">=",
                      ">",
                      "range"
                    ],
                    "type": "string",
                    "title": "Operator"
                  },
                  "max_value": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Max Value",
                    "default": null
                  },
                  "min_value": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Min Value",
                    "default": null
                  },
                  "threshold": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Threshold",
                    "default": null
                  },
                  "explanation": {
                    "type": "string",
                    "title": "Explanation",
                    "default": "",
                    "maxLength": 2000
                  },
                  "exposure_filter": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/ExposureFilter"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "additionalProperties": false
              },
              "ExposureFilter": {
                "type": "object",
                "title": "ExposureFilter",
                "required": [
                  "dimension",
                  "match",
                  "values"
                ],
                "properties": {
                  "match": {
                    "enum": [
                      "equals",
                      "not_equals",
                      "in",
                      "not_in"
                    ],
                    "type": "string",
                    "title": "Match"
                  },
                  "values": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 120,
                      "minLength": 1
                    },
                    "title": "Values",
                    "maxItems": 100,
                    "minItems": 1
                  },
                  "dimension": {
                    "enum": [
                      "denomination_currency",
                      "country",
                      "domicile",
                      "issuer_country",
                      "listing_country",
                      "asset_class",
                      "rating",
                      "sector"
                    ],
                    "type": "string",
                    "title": "Dimension"
                  }
                },
                "additionalProperties": false
              },
              "AlignmentHolding": {
                "type": "object",
                "title": "AlignmentHolding",
                "required": [
                  "id",
                  "name"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "title": "Id",
                    "maxLength": 120,
                    "minLength": 1
                  },
                  "name": {
                    "type": "string",
                    "title": "Name",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  "value": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Value",
                    "default": null
                  },
                  "weight": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Weight",
                    "default": null,
                    "description": "Portfolio weight. Prefer a decimal share such as 0.24 for 24%. Percentage-point inputs such as 24 are also accepted and normalized when the supplied holdings use that convention."
                  },
                  "currency": {
                    "type": "string",
                    "title": "Currency",
                    "default": "",
                    "maxLength": 16
                  },
                  "attributes": {
                    "type": "object",
                    "title": "Attributes",
                    "maxProperties": 100,
                    "additionalProperties": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "integer"
                        },
                        {
                          "type": "number"
                        },
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "source_reference": {
                    "type": "string",
                    "title": "Source Reference",
                    "default": "",
                    "maxLength": 500
                  }
                },
                "additionalProperties": false
              }
            },
            "title": "evaluate_portfolio_alignmentArguments",
            "required": [
              "holdings",
              "idempotency_key"
            ],
            "properties": {
              "rules": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/AlignmentRule"
                    },
                    "maxItems": 250
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Rules",
                "default": null
              },
              "mandate": {
                "type": "string",
                "title": "Mandate",
                "default": "",
                "maxLength": 50000
              },
              "holdings": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/AlignmentHolding"
                },
                "title": "Holdings",
                "maxItems": 1000,
                "minItems": 1
              },
              "analysis_name": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 255,
                    "minLength": 1
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Analysis Name",
                "default": null,
                "description": "Optional private grouping name. The same case-sensitive name, after trimming outer whitespace, reuses one group for this user. Omit it for an independent operation. Keep the name on retries; each calculation still needs its own idempotency_key."
              },
              "base_currency": {
                "type": "string",
                "title": "Base Currency",
                "default": "USD",
                "maxLength": 16,
                "minLength": 1
              },
              "portfolio_name": {
                "type": "string",
                "title": "Portfolio Name",
                "default": "Portfolio",
                "maxLength": 255
              },
              "idempotency_key": {
                "type": "string",
                "title": "Idempotency Key",
                "maxLength": 255,
                "minLength": 1
              },
              "source_warnings": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000,
                      "minLength": 1
                    },
                    "maxItems": 100
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Source Warnings",
                "default": null
              },
              "composition_scope": {
                "enum": [
                  "complete",
                  "partial",
                  "unknown"
                ],
                "type": "string",
                "title": "Composition Scope",
                "default": "unknown"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "InvocationMeta": {
                "type": "object",
                "title": "InvocationMeta",
                "required": [
                  "idempotent_replay",
                  "plan",
                  "monthly_invocations",
                  "monthly_invocation_limit",
                  "monthly_tokens"
                ],
                "properties": {
                  "plan": {
                    "type": "string",
                    "title": "Plan"
                  },
                  "monthly_tokens": {
                    "$ref": "#/$defs/MonthlyTokenUsage"
                  },
                  "idempotent_replay": {
                    "type": "boolean",
                    "title": "Idempotent Replay"
                  },
                  "monthly_invocations": {
                    "type": "integer",
                    "title": "Monthly Invocations"
                  },
                  "monthly_invocation_limit": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Monthly Invocation Limit"
                  }
                },
                "additionalProperties": false
              },
              "MonthlyTokenUsage": {
                "type": "object",
                "title": "MonthlyTokenUsage",
                "properties": {
                  "input_tokens": {
                    "type": "integer",
                    "title": "Input Tokens",
                    "default": 0
                  },
                  "total_tokens": {
                    "type": "integer",
                    "title": "Total Tokens",
                    "default": 0
                  },
                  "output_tokens": {
                    "type": "integer",
                    "title": "Output Tokens",
                    "default": 0
                  }
                },
                "additionalProperties": false
              },
              "GroupedLimitOutput": {
                "type": "object",
                "title": "GroupedLimitOutput",
                "required": [
                  "analysis_id",
                  "analysis_name",
                  "analysis_url",
                  "code",
                  "status",
                  "message",
                  "capability",
                  "plan",
                  "usage",
                  "resolution_paths"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "const": "capability_limit_exceeded",
                    "title": "Code"
                  },
                  "plan": {
                    "type": "string",
                    "title": "Plan"
                  },
                  "usage": {
                    "$ref": "#/$defs/CapabilityLimitUsage"
                  },
                  "status": {
                    "type": "string",
                    "const": "quota_exceeded",
                    "title": "Status"
                  },
                  "message": {
                    "type": "string",
                    "title": "Message"
                  },
                  "capability": {
                    "type": "string",
                    "title": "Capability"
                  },
                  "analysis_id": {
                    "type": "string",
                    "title": "Analysis Id"
                  },
                  "analysis_url": {
                    "type": "string",
                    "title": "Analysis Url"
                  },
                  "analysis_name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Analysis Name"
                  },
                  "retryable_now": {
                    "type": "boolean",
                    "const": false,
                    "title": "Retryable Now",
                    "default": false
                  },
                  "resolution_paths": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/CapabilityLimitResolutionPath"
                    },
                    "title": "Resolution Paths",
                    "minItems": 1
                  },
                  "same_idempotency_key_reusable": {
                    "type": "boolean",
                    "const": true,
                    "title": "Same Idempotency Key Reusable",
                    "default": true
                  }
                },
                "additionalProperties": false
              },
              "CapabilityLimitUsage": {
                "type": "object",
                "title": "CapabilityLimitUsage",
                "required": [
                  "used",
                  "limit",
                  "started_at",
                  "resets_at"
                ],
                "properties": {
                  "used": {
                    "type": "integer",
                    "title": "Used",
                    "minimum": 0
                  },
                  "limit": {
                    "type": "integer",
                    "title": "Limit",
                    "minimum": 0
                  },
                  "period": {
                    "type": "string",
                    "const": "calendar_month",
                    "title": "Period",
                    "default": "calendar_month"
                  },
                  "resets_at": {
                    "type": "string",
                    "title": "Resets At",
                    "format": "date-time"
                  },
                  "started_at": {
                    "type": "string",
                    "title": "Started At",
                    "format": "date-time"
                  }
                },
                "additionalProperties": false
              },
              "GroupedAlignmentOutput": {
                "type": "object",
                "title": "GroupedAlignmentOutput",
                "required": [
                  "analysis_id",
                  "analysis_name",
                  "analysis_url",
                  "capability",
                  "status",
                  "summary",
                  "meta"
                ],
                "properties": {
                  "meta": {
                    "$ref": "#/$defs/InvocationMeta"
                  },
                  "status": {
                    "enum": [
                      "compliant",
                      "non_compliant",
                      "insufficient_evidence"
                    ],
                    "type": "string",
                    "title": "Status"
                  },
                  "summary": {
                    "type": "string",
                    "title": "Summary"
                  },
                  "findings": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "title": "Findings"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Warnings"
                  },
                  "capability": {
                    "type": "string",
                    "const": "portfolio_alignment.v1",
                    "title": "Capability"
                  },
                  "analysis_id": {
                    "type": "string",
                    "title": "Analysis Id"
                  },
                  "analysis_url": {
                    "type": "string",
                    "title": "Analysis Url"
                  },
                  "rule_results": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "title": "Rule Results"
                  },
                  "analysis_name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Analysis Name"
                  }
                },
                "additionalProperties": false
              },
              "CapabilityLimitResolutionPath": {
                "type": "object",
                "title": "CapabilityLimitResolutionPath",
                "required": [
                  "id",
                  "label",
                  "description"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "title": "Id",
                    "maxLength": 64,
                    "minLength": 1
                  },
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Url",
                    "default": null
                  },
                  "label": {
                    "type": "string",
                    "title": "Label",
                    "maxLength": 120,
                    "minLength": 1
                  },
                  "description": {
                    "type": "string",
                    "title": "Description",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  "available_at": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date-time"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Available At",
                    "default": null
                  }
                },
                "additionalProperties": false
              }
            },
            "anyOf": [
              {
                "$ref": "#/$defs/GroupedAlignmentOutput"
              },
              {
                "$ref": "#/$defs/GroupedLimitOutput"
              }
            ],
            "title": "GroupedAlignmentToolOutput"
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "calculate_portfolio_constraints",
          "title": "Calculate portfolio constraints",
          "description": "Calculate explicit portfolio constraints deterministically from normalized holdings. Use this for arithmetic checks, not for interpreting natural-language mandates.",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "ExposureFilter": {
                "type": "object",
                "title": "ExposureFilter",
                "required": [
                  "dimension",
                  "match",
                  "values"
                ],
                "properties": {
                  "match": {
                    "enum": [
                      "equals",
                      "not_equals",
                      "in",
                      "not_in"
                    ],
                    "type": "string",
                    "title": "Match"
                  },
                  "values": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 120,
                      "minLength": 1
                    },
                    "title": "Values",
                    "maxItems": 100,
                    "minItems": 1
                  },
                  "dimension": {
                    "enum": [
                      "denomination_currency",
                      "country",
                      "domicile",
                      "issuer_country",
                      "listing_country",
                      "asset_class",
                      "rating",
                      "sector"
                    ],
                    "type": "string",
                    "title": "Dimension"
                  }
                },
                "additionalProperties": false
              },
              "AlignmentHolding": {
                "type": "object",
                "title": "AlignmentHolding",
                "required": [
                  "id",
                  "name"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "title": "Id",
                    "maxLength": 120,
                    "minLength": 1
                  },
                  "name": {
                    "type": "string",
                    "title": "Name",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  "value": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Value",
                    "default": null
                  },
                  "weight": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Weight",
                    "default": null,
                    "description": "Portfolio weight. Prefer a decimal share such as 0.24 for 24%. Percentage-point inputs such as 24 are also accepted and normalized when the supplied holdings use that convention."
                  },
                  "currency": {
                    "type": "string",
                    "title": "Currency",
                    "default": "",
                    "maxLength": 16
                  },
                  "attributes": {
                    "type": "object",
                    "title": "Attributes",
                    "maxProperties": 100,
                    "additionalProperties": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "integer"
                        },
                        {
                          "type": "number"
                        },
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "source_reference": {
                    "type": "string",
                    "title": "Source Reference",
                    "default": "",
                    "maxLength": 500
                  }
                },
                "additionalProperties": false
              },
              "DeterministicConstraint": {
                "type": "object",
                "title": "DeterministicConstraint",
                "required": [
                  "id",
                  "metric",
                  "operator"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "title": "Id",
                    "maxLength": 120,
                    "minLength": 1
                  },
                  "top_n": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 1000,
                        "minimum": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Top N",
                    "default": null
                  },
                  "metric": {
                    "enum": [
                      "single_holding_weight",
                      "selected_holdings_weight",
                      "filtered_holdings_weight",
                      "top_n_holdings_weight",
                      "holding_count",
                      "total_weight"
                    ],
                    "type": "string",
                    "title": "Metric"
                  },
                  "operator": {
                    "enum": [
                      "<",
                      "<=",
                      "=",
                      "!=",
                      ">=",
                      ">",
                      "range"
                    ],
                    "type": "string",
                    "title": "Operator"
                  },
                  "max_value": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Max Value",
                    "default": null
                  },
                  "min_value": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Min Value",
                    "default": null
                  },
                  "threshold": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Threshold",
                    "default": null
                  },
                  "holding_ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Holding Ids",
                    "maxItems": 1000
                  },
                  "exposure_filter": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/ExposureFilter"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "additionalProperties": false
              }
            },
            "title": "calculate_portfolio_constraintsArguments",
            "required": [
              "holdings",
              "constraints",
              "idempotency_key"
            ],
            "properties": {
              "holdings": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/AlignmentHolding"
                },
                "title": "Holdings",
                "maxItems": 1000,
                "minItems": 1
              },
              "constraints": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/DeterministicConstraint"
                },
                "title": "Constraints",
                "maxItems": 250,
                "minItems": 1
              },
              "analysis_name": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 255,
                    "minLength": 1
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Analysis Name",
                "default": null,
                "description": "Optional private grouping name. The same case-sensitive name, after trimming outer whitespace, reuses one group for this user. Omit it for an independent operation. Keep the name on retries; each calculation still needs its own idempotency_key."
              },
              "base_currency": {
                "type": "string",
                "title": "Base Currency",
                "default": "USD",
                "maxLength": 16,
                "minLength": 1
              },
              "idempotency_key": {
                "type": "string",
                "title": "Idempotency Key",
                "maxLength": 255,
                "minLength": 1
              },
              "source_warnings": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "maxLength": 2000,
                      "minLength": 1
                    },
                    "maxItems": 100
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Source Warnings",
                "default": null
              },
              "composition_scope": {
                "enum": [
                  "complete",
                  "partial",
                  "unknown"
                ],
                "type": "string",
                "title": "Composition Scope",
                "default": "unknown"
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "InvocationMeta": {
                "type": "object",
                "title": "InvocationMeta",
                "required": [
                  "idempotent_replay",
                  "plan",
                  "monthly_invocations",
                  "monthly_invocation_limit",
                  "monthly_tokens"
                ],
                "properties": {
                  "plan": {
                    "type": "string",
                    "title": "Plan"
                  },
                  "monthly_tokens": {
                    "$ref": "#/$defs/MonthlyTokenUsage"
                  },
                  "idempotent_replay": {
                    "type": "boolean",
                    "title": "Idempotent Replay"
                  },
                  "monthly_invocations": {
                    "type": "integer",
                    "title": "Monthly Invocations"
                  },
                  "monthly_invocation_limit": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Monthly Invocation Limit"
                  }
                },
                "additionalProperties": false
              },
              "ConstraintResult": {
                "type": "object",
                "title": "ConstraintResult",
                "required": [
                  "id",
                  "metric",
                  "status",
                  "message"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "title": "Id"
                  },
                  "actual": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Actual",
                    "default": null
                  },
                  "metric": {
                    "enum": [
                      "single_holding_weight",
                      "selected_holdings_weight",
                      "filtered_holdings_weight",
                      "top_n_holdings_weight",
                      "holding_count",
                      "total_weight"
                    ],
                    "type": "string",
                    "title": "Metric"
                  },
                  "status": {
                    "enum": [
                      "pass",
                      "fail",
                      "insufficient_evidence"
                    ],
                    "type": "string",
                    "title": "Status"
                  },
                  "message": {
                    "type": "string",
                    "title": "Message"
                  },
                  "holding_ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Holding Ids"
                  }
                },
                "additionalProperties": false
              },
              "MonthlyTokenUsage": {
                "type": "object",
                "title": "MonthlyTokenUsage",
                "properties": {
                  "input_tokens": {
                    "type": "integer",
                    "title": "Input Tokens",
                    "default": 0
                  },
                  "total_tokens": {
                    "type": "integer",
                    "title": "Total Tokens",
                    "default": 0
                  },
                  "output_tokens": {
                    "type": "integer",
                    "title": "Output Tokens",
                    "default": 0
                  }
                },
                "additionalProperties": false
              },
              "GroupedLimitOutput": {
                "type": "object",
                "title": "GroupedLimitOutput",
                "required": [
                  "analysis_id",
                  "analysis_name",
                  "analysis_url",
                  "code",
                  "status",
                  "message",
                  "capability",
                  "plan",
                  "usage",
                  "resolution_paths"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "const": "capability_limit_exceeded",
                    "title": "Code"
                  },
                  "plan": {
                    "type": "string",
                    "title": "Plan"
                  },
                  "usage": {
                    "$ref": "#/$defs/CapabilityLimitUsage"
                  },
                  "status": {
                    "type": "string",
                    "const": "quota_exceeded",
                    "title": "Status"
                  },
                  "message": {
                    "type": "string",
                    "title": "Message"
                  },
                  "capability": {
                    "type": "string",
                    "title": "Capability"
                  },
                  "analysis_id": {
                    "type": "string",
                    "title": "Analysis Id"
                  },
                  "analysis_url": {
                    "type": "string",
                    "title": "Analysis Url"
                  },
                  "analysis_name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Analysis Name"
                  },
                  "retryable_now": {
                    "type": "boolean",
                    "const": false,
                    "title": "Retryable Now",
                    "default": false
                  },
                  "resolution_paths": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/CapabilityLimitResolutionPath"
                    },
                    "title": "Resolution Paths",
                    "minItems": 1
                  },
                  "same_idempotency_key_reusable": {
                    "type": "boolean",
                    "const": true,
                    "title": "Same Idempotency Key Reusable",
                    "default": true
                  }
                },
                "additionalProperties": false
              },
              "CapabilityLimitUsage": {
                "type": "object",
                "title": "CapabilityLimitUsage",
                "required": [
                  "used",
                  "limit",
                  "started_at",
                  "resets_at"
                ],
                "properties": {
                  "used": {
                    "type": "integer",
                    "title": "Used",
                    "minimum": 0
                  },
                  "limit": {
                    "type": "integer",
                    "title": "Limit",
                    "minimum": 0
                  },
                  "period": {
                    "type": "string",
                    "const": "calendar_month",
                    "title": "Period",
                    "default": "calendar_month"
                  },
                  "resets_at": {
                    "type": "string",
                    "title": "Resets At",
                    "format": "date-time"
                  },
                  "started_at": {
                    "type": "string",
                    "title": "Started At",
                    "format": "date-time"
                  }
                },
                "additionalProperties": false
              },
              "GroupedConstraintsOutput": {
                "type": "object",
                "title": "GroupedConstraintsOutput",
                "required": [
                  "analysis_id",
                  "analysis_name",
                  "analysis_url",
                  "capability",
                  "status",
                  "meta"
                ],
                "properties": {
                  "meta": {
                    "$ref": "#/$defs/InvocationMeta"
                  },
                  "status": {
                    "enum": [
                      "compliant",
                      "non_compliant",
                      "insufficient_evidence"
                    ],
                    "type": "string",
                    "title": "Status"
                  },
                  "results": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/ConstraintResult"
                    },
                    "title": "Results"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Warnings"
                  },
                  "capability": {
                    "type": "string",
                    "const": "portfolio_constraints.v1",
                    "title": "Capability"
                  },
                  "analysis_id": {
                    "type": "string",
                    "title": "Analysis Id"
                  },
                  "analysis_url": {
                    "type": "string",
                    "title": "Analysis Url"
                  },
                  "analysis_name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Analysis Name"
                  }
                },
                "additionalProperties": false
              },
              "CapabilityLimitResolutionPath": {
                "type": "object",
                "title": "CapabilityLimitResolutionPath",
                "required": [
                  "id",
                  "label",
                  "description"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "title": "Id",
                    "maxLength": 64,
                    "minLength": 1
                  },
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Url",
                    "default": null
                  },
                  "label": {
                    "type": "string",
                    "title": "Label",
                    "maxLength": 120,
                    "minLength": 1
                  },
                  "description": {
                    "type": "string",
                    "title": "Description",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  "available_at": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date-time"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Available At",
                    "default": null
                  }
                },
                "additionalProperties": false
              }
            },
            "anyOf": [
              {
                "$ref": "#/$defs/GroupedConstraintsOutput"
              },
              {
                "$ref": "#/$defs/GroupedLimitOutput"
              }
            ],
            "title": "GroupedConstraintsToolOutput"
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "upload_portfolio_series_rows",
          "title": "Upload portfolio series rows",
          "description": "Upload normalized series_key/date/value/distribution rows and commit a dataset version. For up to 5,000 rows, omit chunk_index and total_chunks to complete in one call. For larger inputs, declare total_chunks on every call, send chunks in order, and reuse upload_id and idempotency_key. The final chunk automatically verifies and commits all data and returns immutable series profiles. Parse files locally before calling.",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "CanonicalSeriesRow": {
                "type": "object",
                "title": "CanonicalSeriesRow",
                "required": [
                  "series_key",
                  "date",
                  "value"
                ],
                "properties": {
                  "date": {
                    "type": "string",
                    "title": "Date",
                    "format": "date"
                  },
                  "value": {
                    "type": "string",
                    "title": "Value"
                  },
                  "series_key": {
                    "type": "string",
                    "title": "Series Key",
                    "maxLength": 255,
                    "minLength": 1
                  },
                  "distribution": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Distribution",
                    "default": null
                  }
                },
                "additionalProperties": false
              }
            },
            "title": "upload_portfolio_series_rowsArguments",
            "required": [
              "idempotency_key",
              "rows"
            ],
            "properties": {
              "rows": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/CanonicalSeriesRow"
                },
                "title": "Rows",
                "maxItems": 5000,
                "minItems": 1
              },
              "source": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": true
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Source",
                "default": null
              },
              "upload_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Upload Id",
                "default": null
              },
              "dataset_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Dataset Id",
                "default": null
              },
              "chunk_index": {
                "type": "integer",
                "title": "Chunk Index",
                "default": 0,
                "minimum": 0,
                "description": "Zero-based chunk position; upload chunks in order."
              },
              "content_hash": {
                "type": "string",
                "title": "Content Hash",
                "default": "",
                "maxLength": 64
              },
              "dataset_name": {
                "type": "string",
                "title": "Dataset Name",
                "default": "",
                "maxLength": 255
              },
              "portfolio_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Portfolio Id",
                "default": null
              },
              "total_chunks": {
                "type": "integer",
                "title": "Total Chunks",
                "default": 1,
                "minimum": 1,
                "description": "Total number of chunks in this upload. The last accepted chunk commits the dataset automatically."
              },
              "analysis_name": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 255,
                    "minLength": 1
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Analysis Name",
                "default": null,
                "description": "Optional private grouping name. The same case-sensitive name, after trimming outer whitespace, reuses one group for this user. Omit it for an independent operation. Keep the name on retries; each calculation still needs its own idempotency_key."
              },
              "idempotency_key": {
                "type": "string",
                "title": "Idempotency Key",
                "maxLength": 255,
                "minLength": 1
              },
              "series_profiles": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Series Profiles",
                "default": null,
                "description": "Source-backed semantics for each series_key. Supply on the first or final chunk; the final chunk can complete the proposals before commit. Ambiguous or incomplete profiles require review before calculation."
              },
              "new_portfolio_name": {
                "type": "string",
                "title": "New Portfolio Name",
                "default": "",
                "maxLength": 255
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "title": "GroupedUploadOutput",
            "required": [
              "analysis_id",
              "analysis_name",
              "analysis_url",
              "upload_id",
              "portfolio_id",
              "dataset_id",
              "dataset_name",
              "status",
              "accepted_chunk_index",
              "chunk_content_hash",
              "chunk_replayed",
              "total_rows",
              "total_bytes",
              "next_chunk_index",
              "expires_at",
              "total_chunks"
            ],
            "properties": {
              "status": {
                "type": "string",
                "title": "Status"
              },
              "row_count": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Row Count",
                "default": null
              },
              "upload_id": {
                "type": "string",
                "title": "Upload Id"
              },
              "dataset_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Dataset Id"
              },
              "expires_at": {
                "type": "string",
                "title": "Expires At",
                "format": "date-time"
              },
              "total_rows": {
                "type": "integer",
                "title": "Total Rows"
              },
              "analysis_id": {
                "type": "string",
                "title": "Analysis Id"
              },
              "total_bytes": {
                "type": "integer",
                "title": "Total Bytes"
              },
              "analysis_url": {
                "type": "string",
                "title": "Analysis Url"
              },
              "content_hash": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Content Hash",
                "default": null
              },
              "dataset_name": {
                "type": "string",
                "title": "Dataset Name"
              },
              "finalized_at": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "date-time"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Finalized At",
                "default": null
              },
              "portfolio_id": {
                "type": "string",
                "title": "Portfolio Id"
              },
              "total_chunks": {
                "type": "integer",
                "title": "Total Chunks"
              },
              "analysis_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Analysis Name"
              },
              "manifest_hash": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Manifest Hash",
                "default": null
              },
              "chunk_replayed": {
                "type": "boolean",
                "title": "Chunk Replayed"
              },
              "review_required": {
                "anyOf": [
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Review Required",
                "default": null
              },
              "series_profiles": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true
                },
                "title": "Series Profiles"
              },
              "next_chunk_index": {
                "type": "integer",
                "title": "Next Chunk Index"
              },
              "idempotent_replay": {
                "type": "boolean",
                "title": "Idempotent Replay",
                "default": false
              },
              "chunk_content_hash": {
                "type": "string",
                "title": "Chunk Content Hash"
              },
              "dataset_version_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Dataset Version Id",
                "default": null
              },
              "accepted_chunk_index": {
                "type": "integer",
                "title": "Accepted Chunk Index"
              },
              "dataset_version_number": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Dataset Version Number",
                "default": null
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "cancel_portfolio_series_upload",
          "title": "Cancel portfolio series upload",
          "description": "Cancel a pending upload and permanently remove its staging chunks.",
          "inputSchema": {
            "type": "object",
            "title": "cancel_portfolio_series_uploadArguments",
            "required": [
              "upload_id"
            ],
            "properties": {
              "upload_id": {
                "type": "string",
                "title": "Upload Id",
                "format": "uuid"
              },
              "analysis_name": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 255,
                    "minLength": 1
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Analysis Name",
                "default": null,
                "description": "Optional private grouping name. The same case-sensitive name, after trimming outer whitespace, reuses one group for this user. Omit it for an independent operation. Keep the name on retries; each calculation still needs its own idempotency_key."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "title": "GroupedCancelOutput",
            "required": [
              "analysis_id",
              "analysis_name",
              "analysis_url",
              "upload_id",
              "status",
              "staging_deleted",
              "cancelled_at"
            ],
            "properties": {
              "status": {
                "type": "string",
                "title": "Status"
              },
              "upload_id": {
                "type": "string",
                "title": "Upload Id"
              },
              "analysis_id": {
                "type": "string",
                "title": "Analysis Id"
              },
              "analysis_url": {
                "type": "string",
                "title": "Analysis Url"
              },
              "cancelled_at": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "date-time"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Cancelled At"
              },
              "analysis_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Analysis Name"
              },
              "staging_deleted": {
                "type": "boolean",
                "title": "Staging Deleted"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "review_portfolio_series_profile",
          "title": "Review portfolio series profile",
          "description": "Create an immutable profile revision using revise, or explicitly confirm a warning-free proposal with confirmation=true.",
          "inputSchema": {
            "type": "object",
            "title": "review_portfolio_series_profileArguments",
            "required": [
              "profile_id",
              "action"
            ],
            "properties": {
              "action": {
                "enum": [
                  "revise",
                  "confirm"
                ],
                "type": "string",
                "title": "Action"
              },
              "revisions": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": true
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Revisions",
                "default": null
              },
              "profile_id": {
                "type": "string",
                "title": "Profile Id",
                "format": "uuid"
              },
              "confirmation": {
                "type": "boolean",
                "title": "Confirmation",
                "default": false
              },
              "analysis_name": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 255,
                    "minLength": 1
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Analysis Name",
                "default": null,
                "description": "Optional private grouping name. The same case-sensitive name, after trimming outer whitespace, reuses one group for this user. Omit it for an independent operation. Keep the name on retries; each calculation still needs its own idempotency_key."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "title": "GroupedReviewOutput",
            "required": [
              "analysis_id",
              "analysis_name",
              "analysis_url",
              "series_profile"
            ],
            "properties": {
              "analysis_id": {
                "type": "string",
                "title": "Analysis Id"
              },
              "analysis_url": {
                "type": "string",
                "title": "Analysis Url"
              },
              "analysis_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Analysis Name"
              },
              "series_profile": {
                "type": "object",
                "title": "Series Profile",
                "additionalProperties": true
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "calculate_portfolio_statistics",
          "title": "Calculate portfolio statistics",
          "description": "Calculate historical return, volatility, drawdown, risk-adjusted and benchmark-relative statistics from a confirmed portfolio series profile. The metrics parameter describes all available calculations and their required inputs. Use daily, weekly or monthly complete periods; results include coverage, warnings and exact dataset/profile pins. Reuse an idempotency_key only for an identical calculation.",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "ScalarRateInput": {
                "type": "object",
                "title": "ScalarRateInput",
                "required": [
                  "type",
                  "value",
                  "currency",
                  "value_date",
                  "tenor",
                  "compounding",
                  "provenance"
                ],
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "scalar",
                    "title": "Type"
                  },
                  "tenor": {
                    "type": "string",
                    "title": "Tenor",
                    "maxLength": 64,
                    "minLength": 1
                  },
                  "value": {
                    "type": "string",
                    "title": "Value"
                  },
                  "currency": {
                    "type": "string",
                    "title": "Currency",
                    "maxLength": 3,
                    "minLength": 3
                  },
                  "quotation": {
                    "type": "string",
                    "const": "annualized",
                    "title": "Quotation",
                    "default": "annualized"
                  },
                  "provenance": {
                    "type": "object",
                    "title": "Provenance",
                    "additionalProperties": true
                  },
                  "value_date": {
                    "type": "string",
                    "title": "Value Date",
                    "format": "date"
                  },
                  "compounding": {
                    "enum": [
                      "simple",
                      "annual",
                      "continuous"
                    ],
                    "type": "string",
                    "title": "Compounding"
                  }
                },
                "additionalProperties": false
              },
              "ExactRateSeriesInput": {
                "type": "object",
                "title": "ExactRateSeriesInput",
                "required": [
                  "type",
                  "series_profile_id"
                ],
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "series_profile",
                    "title": "Type"
                  },
                  "series_profile_id": {
                    "type": "string",
                    "title": "Series Profile Id",
                    "format": "uuid"
                  }
                },
                "additionalProperties": false
              }
            },
            "title": "calculate_portfolio_statisticsArguments",
            "required": [
              "series_profile_id",
              "metrics",
              "target_frequency",
              "idempotency_key"
            ],
            "properties": {
              "metrics": {
                "type": "array",
                "items": {
                  "enum": [
                    "periodic_returns",
                    "cumulative_return",
                    "observation_count",
                    "period_count",
                    "min_return",
                    "max_return",
                    "volatility",
                    "drawdown",
                    "max_drawdown",
                    "downside_deviation",
                    "sharpe",
                    "sortino",
                    "beta",
                    "alpha",
                    "correlation",
                    "tracking_error",
                    "information_ratio"
                  ],
                  "type": "string"
                },
                "title": "Metrics",
                "maxItems": 17,
                "minItems": 1,
                "description": "Select one or more unique metric names. periodic_returns: Return for each complete period at target_frequency. cumulative_return: Compounded return across the selected complete periods. observation_count: Number of source observations in the selected date range. period_count: Number of complete return periods available for calculation. min_return: Lowest periodic return and its period end date. max_return: Highest periodic return and its period end date. volatility: Sample standard deviation of periodic returns, with annualized volatility. drawdown: Decline from the running peak of compounded wealth for each period. max_drawdown: Largest peak-to-trough decline, with peak, trough and recovery dates when available. downside_deviation: Root mean square shortfall below minimum_acceptable_return, with annualized deviation. Requires minimum_acceptable_return. sharpe: Mean return above risk_free_rate divided by the sample standard deviation of excess returns, with annualized ratio. Requires risk_free_rate. sortino: Mean return above minimum_acceptable_return divided by downside deviation, with annualized ratio. Requires minimum_acceptable_return. beta: Sensitivity of portfolio returns to benchmark returns. Requires benchmark_profile_id. alpha: Return above the benchmark return implied by beta and risk_free_rate, with annualized alpha. Requires benchmark_profile_id and risk_free_rate. correlation: Pearson correlation between portfolio and benchmark returns. Requires benchmark_profile_id. tracking_error: Sample standard deviation of portfolio-minus-benchmark returns, with annualized tracking error. Requires benchmark_profile_id. information_ratio: Mean portfolio-minus-benchmark return divided by tracking error, with annualized ratio. Requires benchmark_profile_id."
              },
              "end_date": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "date"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "End Date",
                "default": null
              },
              "start_date": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "date"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Start Date",
                "default": null
              },
              "analysis_name": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 255,
                    "minLength": 1
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Analysis Name",
                "default": null,
                "description": "Optional private grouping name. The same case-sensitive name, after trimming outer whitespace, reuses one group for this user. Omit it for an independent operation. Keep the name on retries; each calculation still needs its own idempotency_key."
              },
              "risk_free_rate": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ExactRateSeriesInput"
                  },
                  {
                    "$ref": "#/$defs/ScalarRateInput"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Risk Free Rate",
                "default": null,
                "description": "Required for sharpe and alpha. Use a confirmed risk-free rate profile or a source-backed dated annualized scalar with currency, tenor, compounding and provenance. Do not substitute an assumed rate."
              },
              "idempotency_key": {
                "type": "string",
                "title": "Idempotency Key",
                "maxLength": 255,
                "minLength": 1
              },
              "target_frequency": {
                "enum": [
                  "daily",
                  "weekly",
                  "monthly"
                ],
                "type": "string",
                "title": "Target Frequency",
                "description": "Calculate complete daily, weekly or monthly return periods. Annualization uses 252, 52 or 12 periods per year respectively; finer-frequency data must be available."
              },
              "series_profile_id": {
                "type": "string",
                "title": "Series Profile Id",
                "format": "uuid",
                "description": "Confirmed portfolio series profile returned by upload or list_portfolio_series; pins one immutable dataset version."
              },
              "benchmark_profile_id": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uuid"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Benchmark Profile Id",
                "default": null,
                "description": "Confirmed benchmark series profile in the same currency and return basis as the portfolio. Required for beta, alpha, correlation, tracking_error and information_ratio. Returns are matched by exact period dates."
              },
              "minimum_acceptable_return": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ExactRateSeriesInput"
                  },
                  {
                    "$ref": "#/$defs/ScalarRateInput"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Minimum Acceptable Return",
                "default": null,
                "description": "Required for downside_deviation and sortino. Use a confirmed minimum acceptable return profile or a source-backed dated annualized scalar with currency, tenor, compounding and provenance."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "BetaResult": {
                "type": "object",
                "title": "BetaResult",
                "required": [
                  "status",
                  "data",
                  "metric"
                ],
                "properties": {
                  "data": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Data"
                  },
                  "metric": {
                    "type": "string",
                    "const": "beta",
                    "title": "Metric"
                  },
                  "status": {
                    "enum": [
                      "complete",
                      "insufficient_evidence"
                    ],
                    "type": "string",
                    "title": "Status"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Warnings"
                  },
                  "required_inputs": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Required Inputs"
                  }
                },
                "additionalProperties": false
              },
              "AlphaResult": {
                "type": "object",
                "title": "AlphaResult",
                "required": [
                  "status",
                  "data",
                  "metric"
                ],
                "properties": {
                  "data": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Data"
                  },
                  "metric": {
                    "type": "string",
                    "const": "alpha",
                    "title": "Metric"
                  },
                  "status": {
                    "enum": [
                      "complete",
                      "insufficient_evidence"
                    ],
                    "type": "string",
                    "title": "Status"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Warnings"
                  },
                  "required_inputs": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Required Inputs"
                  }
                },
                "additionalProperties": false
              },
              "SharpeResult": {
                "type": "object",
                "title": "SharpeResult",
                "required": [
                  "status",
                  "data",
                  "metric"
                ],
                "properties": {
                  "data": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Data"
                  },
                  "metric": {
                    "type": "string",
                    "const": "sharpe",
                    "title": "Metric"
                  },
                  "status": {
                    "enum": [
                      "complete",
                      "insufficient_evidence"
                    ],
                    "type": "string",
                    "title": "Status"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Warnings"
                  },
                  "required_inputs": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Required Inputs"
                  }
                },
                "additionalProperties": false
              },
              "SortinoResult": {
                "type": "object",
                "title": "SortinoResult",
                "required": [
                  "status",
                  "data",
                  "metric"
                ],
                "properties": {
                  "data": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Data"
                  },
                  "metric": {
                    "type": "string",
                    "const": "sortino",
                    "title": "Metric"
                  },
                  "status": {
                    "enum": [
                      "complete",
                      "insufficient_evidence"
                    ],
                    "type": "string",
                    "title": "Status"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Warnings"
                  },
                  "required_inputs": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Required Inputs"
                  }
                },
                "additionalProperties": false
              },
              "CoverageResult": {
                "type": "object",
                "title": "CoverageResult",
                "required": [
                  "source_start_date",
                  "source_end_date",
                  "observation_count",
                  "period_count",
                  "target_frequency",
                  "partial_periods",
                  "missing_periods"
                ],
                "properties": {
                  "period_count": {
                    "type": "integer",
                    "title": "Period Count"
                  },
                  "missing_periods": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Missing Periods"
                  },
                  "partial_periods": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "title": "Partial Periods"
                  },
                  "source_end_date": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Source End Date"
                  },
                  "target_frequency": {
                    "enum": [
                      "daily",
                      "weekly",
                      "monthly"
                    ],
                    "type": "string",
                    "title": "Target Frequency"
                  },
                  "observation_count": {
                    "type": "integer",
                    "title": "Observation Count"
                  },
                  "source_start_date": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Source Start Date"
                  }
                },
                "additionalProperties": false
              },
              "DrawdownResult": {
                "type": "object",
                "title": "DrawdownResult",
                "required": [
                  "status",
                  "data",
                  "metric"
                ],
                "properties": {
                  "data": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Data"
                  },
                  "metric": {
                    "type": "string",
                    "const": "drawdown",
                    "title": "Metric"
                  },
                  "status": {
                    "enum": [
                      "complete",
                      "insufficient_evidence"
                    ],
                    "type": "string",
                    "title": "Status"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Warnings"
                  },
                  "required_inputs": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Required Inputs"
                  }
                },
                "additionalProperties": false
              },
              "InvocationMeta": {
                "type": "object",
                "title": "InvocationMeta",
                "required": [
                  "idempotent_replay",
                  "plan",
                  "monthly_invocations",
                  "monthly_invocation_limit",
                  "monthly_tokens"
                ],
                "properties": {
                  "plan": {
                    "type": "string",
                    "title": "Plan"
                  },
                  "monthly_tokens": {
                    "$ref": "#/$defs/MonthlyTokenUsage"
                  },
                  "idempotent_replay": {
                    "type": "boolean",
                    "title": "Idempotent Replay"
                  },
                  "monthly_invocations": {
                    "type": "integer",
                    "title": "Monthly Invocations"
                  },
                  "monthly_invocation_limit": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Monthly Invocation Limit"
                  }
                },
                "additionalProperties": false
              },
              "MaxReturnResult": {
                "type": "object",
                "title": "MaxReturnResult",
                "required": [
                  "status",
                  "data",
                  "metric"
                ],
                "properties": {
                  "data": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Data"
                  },
                  "metric": {
                    "type": "string",
                    "const": "max_return",
                    "title": "Metric"
                  },
                  "status": {
                    "enum": [
                      "complete",
                      "insufficient_evidence"
                    ],
                    "type": "string",
                    "title": "Status"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Warnings"
                  },
                  "required_inputs": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Required Inputs"
                  }
                },
                "additionalProperties": false
              },
              "MinReturnResult": {
                "type": "object",
                "title": "MinReturnResult",
                "required": [
                  "status",
                  "data",
                  "metric"
                ],
                "properties": {
                  "data": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Data"
                  },
                  "metric": {
                    "type": "string",
                    "const": "min_return",
                    "title": "Metric"
                  },
                  "status": {
                    "enum": [
                      "complete",
                      "insufficient_evidence"
                    ],
                    "type": "string",
                    "title": "Status"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Warnings"
                  },
                  "required_inputs": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Required Inputs"
                  }
                },
                "additionalProperties": false
              },
              "VolatilityResult": {
                "type": "object",
                "title": "VolatilityResult",
                "required": [
                  "status",
                  "data",
                  "metric"
                ],
                "properties": {
                  "data": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Data"
                  },
                  "metric": {
                    "type": "string",
                    "const": "volatility",
                    "title": "Metric"
                  },
                  "status": {
                    "enum": [
                      "complete",
                      "insufficient_evidence"
                    ],
                    "type": "string",
                    "title": "Status"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Warnings"
                  },
                  "required_inputs": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Required Inputs"
                  }
                },
                "additionalProperties": false
              },
              "CorrelationResult": {
                "type": "object",
                "title": "CorrelationResult",
                "required": [
                  "status",
                  "data",
                  "metric"
                ],
                "properties": {
                  "data": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Data"
                  },
                  "metric": {
                    "type": "string",
                    "const": "correlation",
                    "title": "Metric"
                  },
                  "status": {
                    "enum": [
                      "complete",
                      "insufficient_evidence"
                    ],
                    "type": "string",
                    "title": "Status"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Warnings"
                  },
                  "required_inputs": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Required Inputs"
                  }
                },
                "additionalProperties": false
              },
              "MaxDrawdownResult": {
                "type": "object",
                "title": "MaxDrawdownResult",
                "required": [
                  "status",
                  "data",
                  "metric"
                ],
                "properties": {
                  "data": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Data"
                  },
                  "metric": {
                    "type": "string",
                    "const": "max_drawdown",
                    "title": "Metric"
                  },
                  "status": {
                    "enum": [
                      "complete",
                      "insufficient_evidence"
                    ],
                    "type": "string",
                    "title": "Status"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Warnings"
                  },
                  "required_inputs": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Required Inputs"
                  }
                },
                "additionalProperties": false
              },
              "MonthlyTokenUsage": {
                "type": "object",
                "title": "MonthlyTokenUsage",
                "properties": {
                  "input_tokens": {
                    "type": "integer",
                    "title": "Input Tokens",
                    "default": 0
                  },
                  "total_tokens": {
                    "type": "integer",
                    "title": "Total Tokens",
                    "default": 0
                  },
                  "output_tokens": {
                    "type": "integer",
                    "title": "Output Tokens",
                    "default": 0
                  }
                },
                "additionalProperties": false
              },
              "PeriodCountResult": {
                "type": "object",
                "title": "PeriodCountResult",
                "required": [
                  "status",
                  "data",
                  "metric"
                ],
                "properties": {
                  "data": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Data"
                  },
                  "metric": {
                    "type": "string",
                    "const": "period_count",
                    "title": "Metric"
                  },
                  "status": {
                    "enum": [
                      "complete",
                      "insufficient_evidence"
                    ],
                    "type": "string",
                    "title": "Status"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Warnings"
                  },
                  "required_inputs": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Required Inputs"
                  }
                },
                "additionalProperties": false
              },
              "GroupedLimitOutput": {
                "type": "object",
                "title": "GroupedLimitOutput",
                "required": [
                  "analysis_id",
                  "analysis_name",
                  "analysis_url",
                  "code",
                  "status",
                  "message",
                  "capability",
                  "plan",
                  "usage",
                  "resolution_paths"
                ],
                "properties": {
                  "code": {
                    "type": "string",
                    "const": "capability_limit_exceeded",
                    "title": "Code"
                  },
                  "plan": {
                    "type": "string",
                    "title": "Plan"
                  },
                  "usage": {
                    "$ref": "#/$defs/CapabilityLimitUsage"
                  },
                  "status": {
                    "type": "string",
                    "const": "quota_exceeded",
                    "title": "Status"
                  },
                  "message": {
                    "type": "string",
                    "title": "Message"
                  },
                  "capability": {
                    "type": "string",
                    "title": "Capability"
                  },
                  "analysis_id": {
                    "type": "string",
                    "title": "Analysis Id"
                  },
                  "analysis_url": {
                    "type": "string",
                    "title": "Analysis Url"
                  },
                  "analysis_name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Analysis Name"
                  },
                  "retryable_now": {
                    "type": "boolean",
                    "const": false,
                    "title": "Retryable Now",
                    "default": false
                  },
                  "resolution_paths": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/CapabilityLimitResolutionPath"
                    },
                    "title": "Resolution Paths",
                    "minItems": 1
                  },
                  "same_idempotency_key_reusable": {
                    "type": "boolean",
                    "const": true,
                    "title": "Same Idempotency Key Reusable",
                    "default": true
                  }
                },
                "additionalProperties": false
              },
              "TrackingErrorResult": {
                "type": "object",
                "title": "TrackingErrorResult",
                "required": [
                  "status",
                  "data",
                  "metric"
                ],
                "properties": {
                  "data": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Data"
                  },
                  "metric": {
                    "type": "string",
                    "const": "tracking_error",
                    "title": "Metric"
                  },
                  "status": {
                    "enum": [
                      "complete",
                      "insufficient_evidence"
                    ],
                    "type": "string",
                    "title": "Status"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Warnings"
                  },
                  "required_inputs": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Required Inputs"
                  }
                },
                "additionalProperties": false
              },
              "CapabilityLimitUsage": {
                "type": "object",
                "title": "CapabilityLimitUsage",
                "required": [
                  "used",
                  "limit",
                  "started_at",
                  "resets_at"
                ],
                "properties": {
                  "used": {
                    "type": "integer",
                    "title": "Used",
                    "minimum": 0
                  },
                  "limit": {
                    "type": "integer",
                    "title": "Limit",
                    "minimum": 0
                  },
                  "period": {
                    "type": "string",
                    "const": "calendar_month",
                    "title": "Period",
                    "default": "calendar_month"
                  },
                  "resets_at": {
                    "type": "string",
                    "title": "Resets At",
                    "format": "date-time"
                  },
                  "started_at": {
                    "type": "string",
                    "title": "Started At",
                    "format": "date-time"
                  }
                },
                "additionalProperties": false
              },
              "MethodologyReference": {
                "type": "object",
                "title": "MethodologyReference",
                "required": [
                  "id",
                  "hash",
                  "sources"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "title": "Id"
                  },
                  "hash": {
                    "type": "string",
                    "title": "Hash"
                  },
                  "sources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Sources"
                  }
                },
                "additionalProperties": false
              },
              "PeriodicReturnsResult": {
                "type": "object",
                "title": "PeriodicReturnsResult",
                "required": [
                  "status",
                  "data",
                  "metric"
                ],
                "properties": {
                  "data": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Data"
                  },
                  "metric": {
                    "type": "string",
                    "const": "periodic_returns",
                    "title": "Metric"
                  },
                  "status": {
                    "enum": [
                      "complete",
                      "insufficient_evidence"
                    ],
                    "type": "string",
                    "title": "Status"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Warnings"
                  },
                  "required_inputs": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Required Inputs"
                  }
                },
                "additionalProperties": false
              },
              "CumulativeReturnResult": {
                "type": "object",
                "title": "CumulativeReturnResult",
                "required": [
                  "status",
                  "data",
                  "metric"
                ],
                "properties": {
                  "data": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Data"
                  },
                  "metric": {
                    "type": "string",
                    "const": "cumulative_return",
                    "title": "Metric"
                  },
                  "status": {
                    "enum": [
                      "complete",
                      "insufficient_evidence"
                    ],
                    "type": "string",
                    "title": "Status"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Warnings"
                  },
                  "required_inputs": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Required Inputs"
                  }
                },
                "additionalProperties": false
              },
              "InformationRatioResult": {
                "type": "object",
                "title": "InformationRatioResult",
                "required": [
                  "status",
                  "data",
                  "metric"
                ],
                "properties": {
                  "data": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Data"
                  },
                  "metric": {
                    "type": "string",
                    "const": "information_ratio",
                    "title": "Metric"
                  },
                  "status": {
                    "enum": [
                      "complete",
                      "insufficient_evidence"
                    ],
                    "type": "string",
                    "title": "Status"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Warnings"
                  },
                  "required_inputs": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Required Inputs"
                  }
                },
                "additionalProperties": false
              },
              "ObservationCountResult": {
                "type": "object",
                "title": "ObservationCountResult",
                "required": [
                  "status",
                  "data",
                  "metric"
                ],
                "properties": {
                  "data": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Data"
                  },
                  "metric": {
                    "type": "string",
                    "const": "observation_count",
                    "title": "Metric"
                  },
                  "status": {
                    "enum": [
                      "complete",
                      "insufficient_evidence"
                    ],
                    "type": "string",
                    "title": "Status"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Warnings"
                  },
                  "required_inputs": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Required Inputs"
                  }
                },
                "additionalProperties": false
              },
              "StatisticsAuditContext": {
                "type": "object",
                "title": "StatisticsAuditContext",
                "required": [
                  "portfolio_id",
                  "requested_metrics",
                  "requested_start_date",
                  "requested_end_date",
                  "target_frequency",
                  "benchmark",
                  "risk_free_rate",
                  "minimum_acceptable_return",
                  "pins"
                ],
                "properties": {
                  "pins": {
                    "type": "object",
                    "title": "Pins",
                    "additionalProperties": true
                  },
                  "benchmark": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Benchmark"
                  },
                  "portfolio_id": {
                    "type": "string",
                    "title": "Portfolio Id"
                  },
                  "risk_free_rate": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Risk Free Rate"
                  },
                  "target_frequency": {
                    "enum": [
                      "daily",
                      "weekly",
                      "monthly"
                    ],
                    "type": "string",
                    "title": "Target Frequency"
                  },
                  "requested_metrics": {
                    "type": "array",
                    "items": {
                      "enum": [
                        "periodic_returns",
                        "cumulative_return",
                        "observation_count",
                        "period_count",
                        "min_return",
                        "max_return",
                        "volatility",
                        "drawdown",
                        "max_drawdown",
                        "downside_deviation",
                        "sharpe",
                        "sortino",
                        "beta",
                        "alpha",
                        "correlation",
                        "tracking_error",
                        "information_ratio"
                      ],
                      "type": "string"
                    },
                    "title": "Requested Metrics"
                  },
                  "requested_end_date": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Requested End Date"
                  },
                  "requested_start_date": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Requested Start Date"
                  },
                  "minimum_acceptable_return": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Minimum Acceptable Return"
                  }
                },
                "additionalProperties": false
              },
              "DownsideDeviationResult": {
                "type": "object",
                "title": "DownsideDeviationResult",
                "required": [
                  "status",
                  "data",
                  "metric"
                ],
                "properties": {
                  "data": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Data"
                  },
                  "metric": {
                    "type": "string",
                    "const": "downside_deviation",
                    "title": "Metric"
                  },
                  "status": {
                    "enum": [
                      "complete",
                      "insufficient_evidence"
                    ],
                    "type": "string",
                    "title": "Status"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Warnings"
                  },
                  "required_inputs": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Required Inputs"
                  }
                },
                "additionalProperties": false
              },
              "GroupedStatisticsOutput": {
                "type": "object",
                "title": "GroupedStatisticsOutput",
                "required": [
                  "analysis_id",
                  "analysis_name",
                  "analysis_url",
                  "capability",
                  "status",
                  "methodology",
                  "series",
                  "coverage",
                  "results",
                  "warnings",
                  "required_inputs",
                  "meta"
                ],
                "properties": {
                  "meta": {
                    "$ref": "#/$defs/InvocationMeta"
                  },
                  "series": {
                    "$ref": "#/$defs/StatisticsSeriesReference"
                  },
                  "status": {
                    "enum": [
                      "complete",
                      "partial",
                      "insufficient_evidence"
                    ],
                    "type": "string",
                    "title": "Status"
                  },
                  "results": {
                    "type": "array",
                    "items": {
                      "oneOf": [
                        {
                          "$ref": "#/$defs/PeriodicReturnsResult"
                        },
                        {
                          "$ref": "#/$defs/CumulativeReturnResult"
                        },
                        {
                          "$ref": "#/$defs/ObservationCountResult"
                        },
                        {
                          "$ref": "#/$defs/PeriodCountResult"
                        },
                        {
                          "$ref": "#/$defs/MinReturnResult"
                        },
                        {
                          "$ref": "#/$defs/MaxReturnResult"
                        },
                        {
                          "$ref": "#/$defs/VolatilityResult"
                        },
                        {
                          "$ref": "#/$defs/DrawdownResult"
                        },
                        {
                          "$ref": "#/$defs/MaxDrawdownResult"
                        },
                        {
                          "$ref": "#/$defs/DownsideDeviationResult"
                        },
                        {
                          "$ref": "#/$defs/SharpeResult"
                        },
                        {
                          "$ref": "#/$defs/SortinoResult"
                        },
                        {
                          "$ref": "#/$defs/BetaResult"
                        },
                        {
                          "$ref": "#/$defs/AlphaResult"
                        },
                        {
                          "$ref": "#/$defs/CorrelationResult"
                        },
                        {
                          "$ref": "#/$defs/TrackingErrorResult"
                        },
                        {
                          "$ref": "#/$defs/InformationRatioResult"
                        }
                      ],
                      "discriminator": {
                        "mapping": {
                          "beta": "#/$defs/BetaResult",
                          "alpha": "#/$defs/AlphaResult",
                          "sharpe": "#/$defs/SharpeResult",
                          "sortino": "#/$defs/SortinoResult",
                          "drawdown": "#/$defs/DrawdownResult",
                          "max_return": "#/$defs/MaxReturnResult",
                          "min_return": "#/$defs/MinReturnResult",
                          "volatility": "#/$defs/VolatilityResult",
                          "correlation": "#/$defs/CorrelationResult",
                          "max_drawdown": "#/$defs/MaxDrawdownResult",
                          "period_count": "#/$defs/PeriodCountResult",
                          "tracking_error": "#/$defs/TrackingErrorResult",
                          "periodic_returns": "#/$defs/PeriodicReturnsResult",
                          "cumulative_return": "#/$defs/CumulativeReturnResult",
                          "information_ratio": "#/$defs/InformationRatioResult",
                          "observation_count": "#/$defs/ObservationCountResult",
                          "downside_deviation": "#/$defs/DownsideDeviationResult"
                        },
                        "propertyName": "metric"
                      }
                    },
                    "title": "Results"
                  },
                  "coverage": {
                    "$ref": "#/$defs/CoverageResult"
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Warnings"
                  },
                  "capability": {
                    "type": "string",
                    "const": "portfolio_statistics.v1",
                    "title": "Capability"
                  },
                  "analysis_id": {
                    "type": "string",
                    "title": "Analysis Id"
                  },
                  "methodology": {
                    "$ref": "#/$defs/MethodologyReference"
                  },
                  "analysis_url": {
                    "type": "string",
                    "title": "Analysis Url"
                  },
                  "analysis_name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Analysis Name"
                  },
                  "audit_context": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/StatisticsAuditContext"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "required_inputs": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Required Inputs"
                  }
                },
                "additionalProperties": false
              },
              "StatisticsSeriesReference": {
                "type": "object",
                "title": "StatisticsSeriesReference",
                "required": [
                  "profile_id",
                  "profile_hash",
                  "dataset_version_id",
                  "content_hash"
                ],
                "properties": {
                  "profile_id": {
                    "type": "string",
                    "title": "Profile Id"
                  },
                  "content_hash": {
                    "type": "string",
                    "title": "Content Hash"
                  },
                  "profile_hash": {
                    "type": "string",
                    "title": "Profile Hash"
                  },
                  "dataset_version_id": {
                    "type": "string",
                    "title": "Dataset Version Id"
                  }
                },
                "additionalProperties": false
              },
              "CapabilityLimitResolutionPath": {
                "type": "object",
                "title": "CapabilityLimitResolutionPath",
                "required": [
                  "id",
                  "label",
                  "description"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "title": "Id",
                    "maxLength": 64,
                    "minLength": 1
                  },
                  "url": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Url",
                    "default": null
                  },
                  "label": {
                    "type": "string",
                    "title": "Label",
                    "maxLength": 120,
                    "minLength": 1
                  },
                  "description": {
                    "type": "string",
                    "title": "Description",
                    "maxLength": 500,
                    "minLength": 1
                  },
                  "available_at": {
                    "anyOf": [
                      {
                        "type": "string",
                        "format": "date-time"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Available At",
                    "default": null
                  }
                },
                "additionalProperties": false
              }
            },
            "anyOf": [
              {
                "$ref": "#/$defs/GroupedStatisticsOutput"
              },
              {
                "$ref": "#/$defs/GroupedLimitOutput"
              }
            ],
            "title": "GroupedStatisticsToolOutput"
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": "Run mandate checks and historical portfolio calculations. Upload normalized series or discover confirmed profiles, review semantics only when required, then calculate. The statistics metrics schema describes supported calculations and required benchmarks and rates. An optional analysis_name groups related calls for this user. Extract and normalize documents locally before calling tools."
  },
  "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."
}