{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "mcp.rayana.ai",
    "site": "rayana.ai",
    "addresses": [
      {
        "address": "172.67.204.90",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      },
      {
        "address": "104.21.52.217",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "prefix": "104.21.32.0/19",
          "country": "US",
          "name": "CLOUDFLARENET - Cloudflare, Inc."
        }
      },
      {
        "address": "2606:4700:3032::ac43:cc5a",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      },
      {
        "address": "2606:4700:3032::6815:34d9",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "172.67.204.90",
          "104.21.52.217",
          "2606:4700:3032::ac43:cc5a",
          "2606:4700:3032::6815:34d9"
        ],
        "first_seen": "2026-11-23T06:48:01.393Z",
        "last_seen": "2026-11-24T06:49:02.313Z",
        "checks": 2
      },
      {
        "addresses": [
          "172.67.204.90",
          "104.21.52.217",
          "2606:4700:3032::6815:34d9",
          "2606:4700:3032::ac43:cc5a"
        ],
        "first_seen": "2026-11-22T06:47:01.863Z",
        "last_seen": "2026-11-22T06:47:01.863Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "rayana-ai",
      "version": "1.7.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 0,
      "sample": []
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "ai.rayana",
      "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": "1921",
    "server_name": "ai.rayana/rayana-ai",
    "url": "https://mcp.rayana.ai/mcp",
    "host": "mcp.rayana.ai",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-24T06:49:02.313Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "c0069e62f126b4c9b4f0082997dee6fb7fe63efe55ecb2f53fbdb60493fd0ee0",
    "first_listed_at": "2026-11-21T05:15:01.149Z",
    "created_at": "2026-11-21T04:35:23.020Z",
    "resolved_addresses": [
      "172.67.204.90",
      "104.21.52.217",
      "2606:4700:3032::ac43:cc5a",
      "2606:4700:3032::6815:34d9"
    ]
  },
  "server": {
    "name": "ai.rayana/rayana-ai",
    "title": "Rayana AI",
    "description": "Read-only impersonal market research: portfolio rankings, ticker scores, signals, daily briefs.",
    "version": "1.6.0",
    "registry_status": "active",
    "repository_url": null,
    "website_url": "https://rayana.ai/docs",
    "published_at": "2026-11-07T08:55:25.017Z",
    "updated_at": "2026-11-07T08:55:25.017Z",
    "first_seen": "2026-11-21T04:35:22.551Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [
      "takes-payment"
    ],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T14:53:08.284Z"
  },
  "operator": {
    "key": "rayana.ai",
    "name": "rayana.ai",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 4,
    "answered": 4,
    "answered_percent": 100,
    "avg_listing_latency_ms": 575,
    "first_check_in_window": "2026-11-21T05:15:01.149Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-23",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-24",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "c0069e62f126b4c9b4f0082997dee6fb7fe63efe55ecb2f53fbdb60493fd0ee0",
    "tools": 24,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-21T05:15:01.965Z",
    "tool_names": [
      "rayana_ai_rankings",
      "rayana_ai_lanes",
      "rayana_ai_signals",
      "rayana_ai_consensus",
      "rayana_ai_ticker",
      "rayana_ai_ticker_price",
      "rayana_ai_ticker_analyst",
      "rayana_ai_analyst_read",
      "rayana_ai_analyst_followup",
      "rayana_ai_analyst_compare",
      "rayana_ai_ticker_articles",
      "rayana_ai_rotation",
      "rayana_ai_trends",
      "rayana_ai_trends_detail",
      "rayana_ai_market_brief",
      "rayana_ai_macro",
      "rayana_ai_analyst_brief",
      "rayana_ai_portfolios",
      "rayana_ai_portfolio",
      "rayana_ai_search",
      "rayana_ai_articles",
      "rayana_ai_plans",
      "rayana_ai_start_checkout",
      "rayana_ai_complete_setup"
    ],
    "declared": {
      "tools": [
        {
          "name": "rayana_ai_rankings",
          "title": "Ranked candidates by lane",
          "description": "Latest ranked candidate batch for a lane: daily (the main research\nlane), turtle (breakout system), or mr (mean-reversion). Rows come back in\nrank order, best first, so the default page is the top of the batch.\n\n`total` in the response is the batch size; when it exceeds `count`,\nlater rows are reached with `offset`. `include_assessment` adds each\nrow's technical detail (pattern and cluster validation, volume profile)\nand roughly triples the response; `rayana_ai_ticker` returns the same\ndetail for a single name.",
          "inputSchema": {
            "type": "object",
            "title": "rayana_ai_rankingsArguments",
            "properties": {
              "lane": {
                "enum": [
                  "daily",
                  "turtle",
                  "mr"
                ],
                "type": "string",
                "title": "Lane",
                "default": "daily",
                "description": "Which lane's batch: daily (main research), turtle (breakout) or mr (mean-reversion)."
              },
              "limit": {
                "type": "integer",
                "title": "Limit",
                "default": 25,
                "description": "Rows to return, from 1 to 200."
              },
              "offset": {
                "type": "integer",
                "title": "Offset",
                "default": 0,
                "description": "Rows to skip from the top of the batch, for paging past the first page."
              },
              "include_assessment": {
                "type": "boolean",
                "title": "Include Assessment",
                "default": false,
                "description": "Add each row's technical detail; roughly triples the response."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "RankedCandidate": {
                "type": "object",
                "title": "RankedCandidate",
                "required": [
                  "ticker"
                ],
                "properties": {
                  "n": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "N",
                    "default": null
                  },
                  "adx": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Adx",
                    "default": null
                  },
                  "atr": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Atr",
                    "default": null
                  },
                  "name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Name",
                    "default": null
                  },
                  "rank": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Rank",
                    "default": null
                  },
                  "rsi2": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Rsi2",
                    "default": null
                  },
                  "sma5": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Sma5",
                    "default": null
                  },
                  "hurst": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Hurst",
                    "default": null
                  },
                  "price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price",
                    "default": null
                  },
                  "vramp": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Vramp",
                    "default": null
                  },
                  "sector": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Sector",
                    "default": null
                  },
                  "sma200": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Sma200",
                    "default": null
                  },
                  "ticker": {
                    "type": "string",
                    "title": "Ticker"
                  },
                  "vscore": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Vscore",
                    "default": null
                  },
                  "sources": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Sources",
                    "default": null
                  },
                  "trend_ok": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Trend Ok",
                    "default": null
                  },
                  "agg_score": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Agg Score",
                    "default": null
                  },
                  "alignment": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Alignment",
                    "default": null
                  },
                  "composite": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Composite",
                    "default": null
                  },
                  "exit_sma5": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Exit Sma5",
                    "default": null
                  },
                  "readiness": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Readiness",
                    "default": null
                  },
                  "assessment": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Assessment",
                    "default": null
                  },
                  "conviction": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Conviction",
                    "default": null
                  },
                  "cycle_zone": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Cycle Zone",
                    "default": null
                  },
                  "fund_score": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Fund Score",
                    "default": null
                  },
                  "tech_score": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Tech Score",
                    "default": null
                  },
                  "cycle_score": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Cycle Score",
                    "default": null
                  },
                  "recorded_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Recorded At",
                    "default": null
                  },
                  "donchian_10l": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Donchian 10L",
                    "default": null
                  },
                  "donchian_20h": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Donchian 20H",
                    "default": null
                  },
                  "donchian_20l": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Donchian 20L",
                    "default": null
                  },
                  "donchian_55h": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Donchian 55H",
                    "default": null
                  },
                  "initial_stop": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Initial Stop",
                    "default": null
                  },
                  "signal_count": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Signal Count",
                    "default": null
                  },
                  "breakout_sys1": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Breakout Sys1",
                    "default": null
                  },
                  "breakout_sys2": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Breakout Sys2",
                    "default": null
                  },
                  "regime_choppy": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Regime Choppy",
                    "default": null
                  },
                  "scorer_signal": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Scorer Signal",
                    "default": null
                  },
                  "exit_proximity": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Exit Proximity",
                    "default": null
                  },
                  "exit_rsi_level": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Exit Rsi Level",
                    "default": null
                  },
                  "time_stop_bars": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Time Stop Bars",
                    "default": null
                  },
                  "readiness_label": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Readiness Label",
                    "default": null
                  },
                  "catastrophe_stop": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Catastrophe Stop",
                    "default": null
                  },
                  "efficiency_ratio": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Efficiency Ratio",
                    "default": null
                  },
                  "signal_confirmed": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Signal Confirmed",
                    "default": null
                  },
                  "bb_squeeze_pctile": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Bb Squeeze Pctile",
                    "default": null
                  },
                  "systems_triggered": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Systems Triggered",
                    "default": null
                  },
                  "breakout_confidence": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Breakout Confidence",
                    "default": null
                  },
                  "dist_to_breakout_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Dist To Breakout Pct",
                    "default": null
                  }
                }
              }
            },
            "title": "RankingsResponse",
            "required": [
              "lane",
              "count",
              "candidates"
            ],
            "properties": {
              "lane": {
                "type": "string",
                "title": "Lane"
              },
              "count": {
                "type": "integer",
                "title": "Count"
              },
              "total": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Total",
                "default": null
              },
              "asof_hint": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Asof Hint",
                "default": null
              },
              "truncated": {
                "type": "boolean",
                "title": "Truncated",
                "default": false
              },
              "candidates": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/RankedCandidate"
                },
                "title": "Candidates"
              }
            }
          },
          "annotations": {
            "title": "Ranked candidates by lane",
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "rayana_ai_lanes",
          "title": "Available ranking lanes",
          "description": "Which lanes (daily/turtle/mr) currently have a batch available.",
          "inputSchema": {
            "type": "object",
            "title": "rayana_ai_lanesArguments",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "title": "rayana_ai_lanesDictOutput",
            "additionalProperties": {
              "type": "boolean"
            }
          },
          "annotations": {
            "title": "Available ranking lanes",
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "rayana_ai_signals",
          "title": "Signal consensus batch",
          "description": "Latest aggregator-consensus batch for one asset lane: which tickers\ncleared the signal pipeline, blended agg_score, confirming source count.",
          "inputSchema": {
            "type": "object",
            "title": "rayana_ai_signalsArguments",
            "properties": {
              "lane": {
                "enum": [
                  "equity",
                  "crypto",
                  "commodity"
                ],
                "type": "string",
                "title": "Lane",
                "default": "equity",
                "description": "Asset lane to read."
              },
              "limit": {
                "type": "integer",
                "title": "Limit",
                "default": 60,
                "description": "Rows to return, from 1 to 200."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "SignalRow": {
                "type": "object",
                "title": "SignalRow",
                "required": [
                  "ticker"
                ],
                "properties": {
                  "ticker": {
                    "type": "string",
                    "title": "Ticker"
                  },
                  "sources": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Sources",
                    "default": null
                  },
                  "agg_score": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Agg Score",
                    "default": null
                  },
                  "signal_count": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Signal Count",
                    "default": null
                  }
                }
              }
            },
            "title": "SignalsResponse",
            "required": [
              "lane",
              "count",
              "signals"
            ],
            "properties": {
              "lane": {
                "type": "string",
                "title": "Lane"
              },
              "count": {
                "type": "integer",
                "title": "Count"
              },
              "signals": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/SignalRow"
                },
                "title": "Signals"
              },
              "truncated": {
                "type": "boolean",
                "title": "Truncated",
                "default": false
              }
            }
          },
          "annotations": {
            "title": "Signal consensus batch",
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "rayana_ai_consensus",
          "title": "Per-source consensus snapshots",
          "description": "Per-source consensus snapshots (insider trades, congressional trades,\nearnings beats, dated catalysts, on-chain flows, 13F filings, AI\nnews-beneficiary reads). Omit `source` for every source at once, or\npass one of the slugs returned in a rankings/signals row's source list.\n\n`limit` caps rows per source. The sources are very unevenly sized —\ninstitutional holdings runs to ~1700 rows where on-chain flows may have\ntwo — so a source that comes back with exactly `limit` rows probably has\nmore, and narrowing with `source` and raising `limit` reads that one\nlayer deeply for far less context than raising `limit` across all\nseven.",
          "inputSchema": {
            "type": "object",
            "title": "rayana_ai_consensusArguments",
            "properties": {
              "limit": {
                "type": "integer",
                "title": "Limit",
                "default": 25,
                "description": "Rows per source (not in total), from 1 to 250."
              },
              "source": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Source",
                "default": null,
                "description": "One source's public slug, as listed in a rankings or signals row; omit for every source."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "Form4ConsensusRow": {
                "type": "object",
                "title": "Form4ConsensusRow",
                "required": [
                  "ticker",
                  "company",
                  "insiders",
                  "top_title",
                  "total_value",
                  "buys",
                  "run_at"
                ],
                "properties": {
                  "buys": {
                    "type": "integer",
                    "title": "Buys"
                  },
                  "run_at": {
                    "type": "string",
                    "title": "Run At"
                  },
                  "ticker": {
                    "type": "string",
                    "title": "Ticker"
                  },
                  "company": {
                    "type": "string",
                    "title": "Company"
                  },
                  "insiders": {
                    "type": "integer",
                    "title": "Insiders"
                  },
                  "best_role": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Best Role",
                    "default": null
                  },
                  "top_title": {
                    "type": "string",
                    "title": "Top Title"
                  },
                  "total_value": {
                    "type": "number",
                    "title": "Total Value"
                  }
                }
              },
              "OnchainConsensusRow": {
                "type": "object",
                "title": "OnchainConsensusRow",
                "required": [
                  "symbol",
                  "wallets",
                  "top_label",
                  "total_value",
                  "transfers",
                  "chains",
                  "run_at"
                ],
                "properties": {
                  "chains": {
                    "type": "string",
                    "title": "Chains"
                  },
                  "run_at": {
                    "type": "string",
                    "title": "Run At"
                  },
                  "symbol": {
                    "type": "string",
                    "title": "Symbol"
                  },
                  "wallets": {
                    "type": "integer",
                    "title": "Wallets"
                  },
                  "best_tier": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Best Tier",
                    "default": null
                  },
                  "top_label": {
                    "type": "string",
                    "title": "Top Label"
                  },
                  "transfers": {
                    "type": "integer",
                    "title": "Transfers"
                  },
                  "total_value": {
                    "type": "number",
                    "title": "Total Value"
                  }
                }
              },
              "CatalystConsensusRow": {
                "type": "object",
                "title": "CatalystConsensusRow",
                "required": [
                  "feed",
                  "category",
                  "event",
                  "event_date",
                  "ticker",
                  "entity",
                  "exchange",
                  "note",
                  "run_at"
                ],
                "properties": {
                  "feed": {
                    "type": "string",
                    "title": "Feed"
                  },
                  "note": {
                    "type": "string",
                    "title": "Note"
                  },
                  "event": {
                    "type": "string",
                    "title": "Event"
                  },
                  "entity": {
                    "type": "string",
                    "title": "Entity"
                  },
                  "run_at": {
                    "type": "string",
                    "title": "Run At"
                  },
                  "ticker": {
                    "type": "string",
                    "title": "Ticker"
                  },
                  "category": {
                    "type": "string",
                    "title": "Category"
                  },
                  "exchange": {
                    "type": "string",
                    "title": "Exchange"
                  },
                  "confidence": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Confidence",
                    "default": null
                  },
                  "event_date": {
                    "type": "string",
                    "title": "Event Date"
                  }
                }
              },
              "DataromaConsensusRow": {
                "type": "object",
                "title": "DataromaConsensusRow",
                "required": [
                  "ticker",
                  "company",
                  "buyers",
                  "sellers",
                  "holders",
                  "buy_usd",
                  "sell_usd",
                  "net_usd",
                  "net_managers",
                  "run_at"
                ],
                "properties": {
                  "buyers": {
                    "type": "integer",
                    "title": "Buyers"
                  },
                  "run_at": {
                    "type": "string",
                    "title": "Run At"
                  },
                  "ticker": {
                    "type": "string",
                    "title": "Ticker"
                  },
                  "buy_usd": {
                    "type": "number",
                    "title": "Buy Usd"
                  },
                  "company": {
                    "type": "string",
                    "title": "Company"
                  },
                  "holders": {
                    "type": "integer",
                    "title": "Holders"
                  },
                  "net_usd": {
                    "type": "number",
                    "title": "Net Usd"
                  },
                  "sellers": {
                    "type": "integer",
                    "title": "Sellers"
                  },
                  "sell_usd": {
                    "type": "number",
                    "title": "Sell Usd"
                  },
                  "net_managers": {
                    "type": "integer",
                    "title": "Net Managers"
                  }
                }
              },
              "EarningsConsensusRow": {
                "type": "object",
                "title": "EarningsConsensusRow",
                "required": [
                  "ticker",
                  "company",
                  "report_date",
                  "report_time",
                  "fiscal_period",
                  "run_at"
                ],
                "properties": {
                  "run_at": {
                    "type": "string",
                    "title": "Run At"
                  },
                  "ticker": {
                    "type": "string",
                    "title": "Ticker"
                  },
                  "company": {
                    "type": "string",
                    "title": "Company"
                  },
                  "eps_actual": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Eps Actual",
                    "default": null
                  },
                  "market_cap": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Market Cap",
                    "default": null
                  },
                  "report_date": {
                    "type": "string",
                    "title": "Report Date"
                  },
                  "report_time": {
                    "type": "string",
                    "title": "Report Time"
                  },
                  "eps_estimate": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Eps Estimate",
                    "default": null
                  },
                  "surprise_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Surprise Pct",
                    "default": null
                  },
                  "fiscal_period": {
                    "type": "string",
                    "title": "Fiscal Period"
                  },
                  "num_estimates": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Num Estimates",
                    "default": null
                  }
                }
              },
              "CaptradesConsensusRow": {
                "type": "object",
                "title": "CaptradesConsensusRow",
                "required": [
                  "ticker",
                  "company",
                  "buyers",
                  "sellers",
                  "net_politicians",
                  "buy_usd",
                  "sell_usd",
                  "net_usd",
                  "trades",
                  "run_at"
                ],
                "properties": {
                  "buyers": {
                    "type": "integer",
                    "title": "Buyers"
                  },
                  "run_at": {
                    "type": "string",
                    "title": "Run At"
                  },
                  "ticker": {
                    "type": "string",
                    "title": "Ticker"
                  },
                  "trades": {
                    "type": "integer",
                    "title": "Trades"
                  },
                  "buy_usd": {
                    "type": "number",
                    "title": "Buy Usd"
                  },
                  "company": {
                    "type": "string",
                    "title": "Company"
                  },
                  "net_usd": {
                    "type": "number",
                    "title": "Net Usd"
                  },
                  "sellers": {
                    "type": "integer",
                    "title": "Sellers"
                  },
                  "sell_usd": {
                    "type": "number",
                    "title": "Sell Usd"
                  },
                  "net_politicians": {
                    "type": "integer",
                    "title": "Net Politicians"
                  }
                }
              },
              "NewsBeneficiaryConsensusRow": {
                "type": "object",
                "title": "NewsBeneficiaryConsensusRow",
                "required": [
                  "ticker",
                  "company",
                  "direction",
                  "mechanism",
                  "horizon",
                  "validated",
                  "headline",
                  "source",
                  "url",
                  "run_at",
                  "snapshot_date"
                ],
                "properties": {
                  "url": {
                    "type": "string",
                    "title": "Url"
                  },
                  "score": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Score",
                    "default": null
                  },
                  "run_at": {
                    "type": "string",
                    "title": "Run At"
                  },
                  "source": {
                    "type": "string",
                    "title": "Source"
                  },
                  "ticker": {
                    "type": "string",
                    "title": "Ticker"
                  },
                  "company": {
                    "type": "string",
                    "title": "Company"
                  },
                  "horizon": {
                    "type": "string",
                    "title": "Horizon"
                  },
                  "headline": {
                    "type": "string",
                    "title": "Headline"
                  },
                  "direction": {
                    "type": "string",
                    "title": "Direction"
                  },
                  "mechanism": {
                    "type": "string",
                    "title": "Mechanism"
                  },
                  "validated": {
                    "type": "integer",
                    "title": "Validated"
                  },
                  "confidence": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Confidence",
                    "default": null
                  },
                  "order_hops": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Order Hops",
                    "default": null
                  },
                  "obviousness": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Obviousness",
                    "default": null
                  },
                  "snapshot_date": {
                    "type": "string",
                    "title": "Snapshot Date"
                  }
                }
              }
            },
            "title": "ConsensusResponse",
            "properties": {
              "onchain-flows": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/OnchainConsensusRow"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Onchain-Flows",
                "default": null
              },
              "event-calendar": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/CatalystConsensusRow"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Event-Calendar",
                "default": null
              },
              "ai-news-analysis": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/NewsBeneficiaryConsensusRow"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Ai-News-Analysis",
                "default": null
              },
              "insider-activity": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/Form4ConsensusRow"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Insider-Activity",
                "default": null
              },
              "earnings-surprise": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/EarningsConsensusRow"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Earnings-Surprise",
                "default": null
              },
              "congressional-trading": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/CaptradesConsensusRow"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Congressional-Trading",
                "default": null
              },
              "institutional-holdings": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/DataromaConsensusRow"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Institutional-Holdings",
                "default": null
              }
            }
          },
          "annotations": {
            "title": "Per-source consensus snapshots",
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "rayana_ai_ticker",
          "title": "Ticker research view",
          "description": "Full per-ticker research view: score, lane membership, per-source\nsignals, virality, consensus, cluster-rotation position, forward returns.",
          "inputSchema": {
            "type": "object",
            "title": "rayana_ai_tickerArguments",
            "required": [
              "symbol"
            ],
            "properties": {
              "symbol": {
                "type": "string",
                "title": "Symbol",
                "description": "Ticker symbol, e.g. AAPL. rayana_ai_search resolves a company name to one."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "TickerScoreRow": {
                "type": "object",
                "title": "TickerScoreRow",
                "properties": {
                  "rank": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Rank",
                    "default": null
                  },
                  "hurst": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Hurst",
                    "default": null
                  },
                  "price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price",
                    "default": null
                  },
                  "regime": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Regime",
                    "default": null
                  },
                  "run_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Run At",
                    "default": null
                  },
                  "script": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Script",
                    "default": null
                  },
                  "signal": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Signal",
                    "default": null
                  },
                  "composite": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Composite",
                    "default": null
                  },
                  "fund_score": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Fund Score",
                    "default": null
                  },
                  "tech_score": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Tech Score",
                    "default": null
                  }
                }
              }
            },
            "title": "TickerResponse",
            "required": [
              "ticker",
              "truncated"
            ],
            "properties": {
              "score": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/TickerScoreRow"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "detail": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": true
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Detail",
                "default": null
              },
              "ticker": {
                "type": "string",
                "title": "Ticker"
              },
              "truncated": {
                "type": "boolean",
                "title": "Truncated"
              }
            }
          },
          "annotations": {
            "title": "Ticker research view",
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "rayana_ai_ticker_price",
          "title": "Ticker price history",
          "description": "Daily close-price history for one ticker over the given period.\n\nLong periods are evenly sampled down to `max_points` bars rather than\ncut short, so the series still spans the whole period — `5Y` and `MAX`\nreturn the shape of the history, not its last year. `last_close`,\n`change_pct` and the `range_low`/`range_high` extremes are computed\nover every bar regardless of sampling.",
          "inputSchema": {
            "type": "object",
            "title": "rayana_ai_ticker_priceArguments",
            "required": [
              "symbol"
            ],
            "properties": {
              "period": {
                "enum": [
                  "1M",
                  "6M",
                  "YTD",
                  "1Y",
                  "5Y",
                  "MAX"
                ],
                "type": "string",
                "title": "Period",
                "default": "1Y",
                "description": "How far back the history reaches."
              },
              "symbol": {
                "type": "string",
                "title": "Symbol",
                "description": "Ticker symbol, e.g. AAPL. rayana_ai_search resolves a company name to one."
              },
              "max_points": {
                "type": "integer",
                "title": "Max Points",
                "default": 260,
                "description": "Most bars to return (at least 2); longer periods are evenly sampled down to this."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "PricePoint": {
                "type": "object",
                "title": "PricePoint",
                "required": [
                  "date",
                  "close"
                ],
                "properties": {
                  "date": {
                    "type": "string",
                    "title": "Date"
                  },
                  "close": {
                    "type": "number",
                    "title": "Close"
                  }
                }
              }
            },
            "title": "PriceHistoryResponse",
            "required": [
              "ticker",
              "period",
              "points"
            ],
            "properties": {
              "period": {
                "type": "string",
                "title": "Period"
              },
              "points": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/PricePoint"
                },
                "title": "Points"
              },
              "ticker": {
                "type": "string",
                "title": "Ticker"
              },
              "range_low": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Range Low",
                "default": null
              },
              "change_pct": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Change Pct",
                "default": null
              },
              "last_close": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Last Close",
                "default": null
              },
              "range_high": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Range High",
                "default": null
              }
            }
          },
          "annotations": {
            "title": "Ticker price history",
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "rayana_ai_ticker_analyst",
          "title": "Ticker AI analyst read",
          "description": "The ticker's current AI analyst read (lean, conviction, thesis, six\nfixed sections, evidence for/against, invalidation condition). Never\ntriggers a new model call; 404s when the ticker has no current read.\nCounts one read against the subscription's monthly allowance, once per\nticker per day; `rayana_ai_analyst_read` also reports what remains.",
          "inputSchema": {
            "type": "object",
            "title": "rayana_ai_ticker_analystArguments",
            "required": [
              "symbol"
            ],
            "properties": {
              "symbol": {
                "type": "string",
                "title": "Symbol",
                "description": "Ticker symbol, e.g. AAPL. rayana_ai_search resolves a company name to one."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "title": "TickerAnalystBrief",
            "required": [
              "ticker",
              "analysis_date"
            ],
            "properties": {
              "lean": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Lean",
                "default": null
              },
              "model": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Model",
                "default": null
              },
              "cached": {
                "type": "boolean",
                "title": "Cached",
                "default": true
              },
              "thesis": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Thesis",
                "default": null
              },
              "ticker": {
                "type": "string",
                "title": "Ticker"
              },
              "version": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Version",
                "default": null
              },
              "cost_usd": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Cost Usd",
                "default": null
              },
              "sections": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Sections",
                "default": null
              },
              "conviction": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Conviction",
                "default": null
              },
              "created_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Created At",
                "default": null
              },
              "evidence_for": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "title": "Evidence For",
                "default": []
              },
              "invalidation": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Invalidation",
                "default": null
              },
              "analysis_date": {
                "type": "string",
                "title": "Analysis Date"
              },
              "evidence_against": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "title": "Evidence Against",
                "default": []
              },
              "changed_since_last": {
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": true
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Changed Since Last",
                "default": null
              }
            }
          },
          "annotations": {
            "title": "Ticker AI analyst read",
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "rayana_ai_analyst_read",
          "title": "Open AI analyst read",
          "description": "Open a ticker's AI analyst read: the current one, or a new one generated\non the spot when the ticker has none (this can take about half a minute).\nEach ticker opened counts one read against the subscription's monthly\nallowance, once per day; re-opening it the same day is free. `quota`\nreports reads used and remaining this month and the reset date. `books`\nlists the Rayana AI model portfolios on the subscription's plan that hold\nthe ticker (weight, since when, last change), and `locked_count` how many\nbooks on higher plans hold it. Errors for tickers outside the covered\nuniverse and when the allowance is used up.",
          "inputSchema": {
            "type": "object",
            "title": "rayana_ai_analyst_readArguments",
            "required": [
              "symbol"
            ],
            "properties": {
              "symbol": {
                "type": "string",
                "title": "Symbol",
                "description": "Ticker symbol, e.g. AAPL. rayana_ai_search resolves a company name to one."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "AnalystQuota": {
                "type": "object",
                "title": "AnalystQuota",
                "required": [
                  "metered",
                  "period",
                  "used"
                ],
                "properties": {
                  "used": {
                    "type": "integer",
                    "title": "Used"
                  },
                  "limit": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Limit",
                    "default": null
                  },
                  "period": {
                    "type": "string",
                    "title": "Period"
                  },
                  "metered": {
                    "type": "boolean",
                    "title": "Metered"
                  },
                  "remaining": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Remaining",
                    "default": null
                  },
                  "resets_on": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Resets On",
                    "default": null
                  },
                  "daily_limit": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Daily Limit",
                    "default": null
                  },
                  "daily_remaining": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Daily Remaining",
                    "default": null
                  }
                },
                "description": "The caller's AI-analyst read allowance after this request. `metered`\nis false for callers the API does not meter (the website meters per user).\nA ticker counts once per US/Eastern day, whether its read was cached or new."
              },
              "AnalystBookEvent": {
                "type": "object",
                "title": "AnalystBookEvent",
                "properties": {
                  "action": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Action",
                    "default": null
                  },
                  "reason": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Reason",
                    "default": null
                  },
                  "event_date": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Event Date",
                    "default": null
                  },
                  "delta_weight_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Delta Weight Pct",
                    "default": null
                  }
                },
                "description": "The newest public event for the ticker in one book, reason rewritten to\nthe public vocabulary (same window and rewrite as the book's own feed)."
              },
              "AnalystBookContext": {
                "type": "object",
                "title": "AnalystBookContext",
                "properties": {
                  "held_in": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/AnalystBookHolding"
                    },
                    "title": "Held In",
                    "default": []
                  },
                  "locked_count": {
                    "type": "integer",
                    "title": "Locked Count",
                    "default": 0
                  }
                },
                "description": "The book add-on (PHASE_1_10 §4): built in code per caller, never seen by\nthe model. `locked_count` is how many books above the caller's tier hold the\nticker: a count only, no names."
              },
              "AnalystBookHolding": {
                "type": "object",
                "title": "AnalystBookHolding",
                "required": [
                  "slug",
                  "name",
                  "tier"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "title": "Name"
                  },
                  "rank": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Rank",
                    "default": null
                  },
                  "side": {
                    "type": "string",
                    "title": "Side",
                    "default": "long"
                  },
                  "slug": {
                    "type": "string",
                    "title": "Slug"
                  },
                  "tier": {
                    "type": "string",
                    "title": "Tier"
                  },
                  "as_of": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "As Of",
                    "default": null
                  },
                  "delayed_to": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Delayed To",
                    "default": null
                  },
                  "held_since": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Held Since",
                    "default": null
                  },
                  "last_event": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/AnalystBookEvent"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "weight_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Weight Pct",
                    "default": null
                  }
                },
                "description": "One book the caller's tier may open that holds the ticker, at the\nsnapshot the caller is entitled to."
              },
              "TickerAnalystBrief": {
                "type": "object",
                "title": "TickerAnalystBrief",
                "required": [
                  "ticker",
                  "analysis_date"
                ],
                "properties": {
                  "lean": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Lean",
                    "default": null
                  },
                  "model": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Model",
                    "default": null
                  },
                  "cached": {
                    "type": "boolean",
                    "title": "Cached",
                    "default": true
                  },
                  "thesis": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Thesis",
                    "default": null
                  },
                  "ticker": {
                    "type": "string",
                    "title": "Ticker"
                  },
                  "version": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Version",
                    "default": null
                  },
                  "cost_usd": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Cost Usd",
                    "default": null
                  },
                  "sections": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": {
                          "type": "object",
                          "additionalProperties": true
                        }
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Sections",
                    "default": null
                  },
                  "conviction": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Conviction",
                    "default": null
                  },
                  "created_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Created At",
                    "default": null
                  },
                  "evidence_for": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Evidence For",
                    "default": []
                  },
                  "invalidation": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Invalidation",
                    "default": null
                  },
                  "analysis_date": {
                    "type": "string",
                    "title": "Analysis Date"
                  },
                  "evidence_against": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Evidence Against",
                    "default": []
                  },
                  "changed_since_last": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Changed Since Last",
                    "default": null
                  }
                }
              }
            },
            "title": "AnalystReadResponse",
            "required": [
              "read",
              "quota"
            ],
            "properties": {
              "read": {
                "$ref": "#/$defs/TickerAnalystBrief"
              },
              "books": {
                "$ref": "#/$defs/AnalystBookContext",
                "default": {
                  "held_in": [],
                  "locked_count": 0
                }
              },
              "quota": {
                "$ref": "#/$defs/AnalystQuota"
              }
            }
          },
          "annotations": {
            "title": "Open AI analyst read",
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "rayana_ai_analyst_followup",
          "title": "AI analyst follow-up",
          "description": "Answer one preset follow-up question about a ticker's current AI analyst\nread: trend (is the trend intact), break (what would break the thesis),\nmacro (exposure to macro and rates), smart_money (insiders and smart\nmoney), earnings (the earnings setup), changed (what changed since the last\nread). Answers come from the read and its data only and are the same for\neveryone. Counts like opening the read, once per ticker per day; `quota`\nreports reads remaining this month.",
          "inputSchema": {
            "type": "object",
            "title": "rayana_ai_analyst_followupArguments",
            "required": [
              "symbol",
              "question"
            ],
            "properties": {
              "symbol": {
                "type": "string",
                "title": "Symbol",
                "description": "Ticker symbol, e.g. AAPL. rayana_ai_search resolves a company name to one."
              },
              "question": {
                "enum": [
                  "trend",
                  "break",
                  "macro",
                  "smart_money",
                  "earnings",
                  "changed"
                ],
                "type": "string",
                "title": "Question",
                "description": "Which preset question to answer; the tool description says what each asks."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "AnalystQuota": {
                "type": "object",
                "title": "AnalystQuota",
                "required": [
                  "metered",
                  "period",
                  "used"
                ],
                "properties": {
                  "used": {
                    "type": "integer",
                    "title": "Used"
                  },
                  "limit": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Limit",
                    "default": null
                  },
                  "period": {
                    "type": "string",
                    "title": "Period"
                  },
                  "metered": {
                    "type": "boolean",
                    "title": "Metered"
                  },
                  "remaining": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Remaining",
                    "default": null
                  },
                  "resets_on": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Resets On",
                    "default": null
                  },
                  "daily_limit": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Daily Limit",
                    "default": null
                  },
                  "daily_remaining": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Daily Remaining",
                    "default": null
                  }
                },
                "description": "The caller's AI-analyst read allowance after this request. `metered`\nis false for callers the API does not meter (the website meters per user).\nA ticker counts once per US/Eastern day, whether its read was cached or new."
              },
              "AnalystFollowup": {
                "type": "object",
                "title": "AnalystFollowup",
                "required": [
                  "ticker",
                  "analysis_date",
                  "question_id",
                  "question",
                  "answer"
                ],
                "properties": {
                  "basis": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Basis",
                    "default": []
                  },
                  "answer": {
                    "type": "string",
                    "title": "Answer"
                  },
                  "cached": {
                    "type": "boolean",
                    "title": "Cached",
                    "default": true
                  },
                  "ticker": {
                    "type": "string",
                    "title": "Ticker"
                  },
                  "version": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Version",
                    "default": null
                  },
                  "question": {
                    "type": "string",
                    "title": "Question"
                  },
                  "created_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Created At",
                    "default": null
                  },
                  "question_id": {
                    "type": "string",
                    "title": "Question Id"
                  },
                  "analysis_date": {
                    "type": "string",
                    "title": "Analysis Date"
                  }
                },
                "description": "One preset follow-up answer about a read: impersonal and cached per read\nversion and question, so every caller sees the same answer."
              }
            },
            "title": "AnalystFollowupResponse",
            "required": [
              "followup",
              "quota"
            ],
            "properties": {
              "quota": {
                "$ref": "#/$defs/AnalystQuota"
              },
              "followup": {
                "$ref": "#/$defs/AnalystFollowup"
              }
            }
          },
          "annotations": {
            "title": "AI analyst follow-up",
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "rayana_ai_analyst_compare",
          "title": "Compare two AI analyst reads",
          "description": "Two tickers' current AI analyst reads side by side: a table of each\nread's lean, conviction and the direction of its six sections, and a short\ndescriptive comparison of where the reads agree and differ. It never says\nwhich one is better or what to do. Opens both reads (generating one if a\nticker has none, about half a minute each) and counts as two reads, once\nper ticker per day; `quota` reports reads remaining. Comparisons are the\nsame for everyone and cached per pair of reads.",
          "inputSchema": {
            "type": "object",
            "title": "rayana_ai_analyst_compareArguments",
            "required": [
              "a",
              "b"
            ],
            "properties": {
              "a": {
                "type": "string",
                "title": "A",
                "description": "First ticker symbol, e.g. AAPL."
              },
              "b": {
                "type": "string",
                "title": "B",
                "description": "Second ticker symbol; the order does not change the result."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "AnalystQuota": {
                "type": "object",
                "title": "AnalystQuota",
                "required": [
                  "metered",
                  "period",
                  "used"
                ],
                "properties": {
                  "used": {
                    "type": "integer",
                    "title": "Used"
                  },
                  "limit": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Limit",
                    "default": null
                  },
                  "period": {
                    "type": "string",
                    "title": "Period"
                  },
                  "metered": {
                    "type": "boolean",
                    "title": "Metered"
                  },
                  "remaining": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Remaining",
                    "default": null
                  },
                  "resets_on": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Resets On",
                    "default": null
                  },
                  "daily_limit": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Daily Limit",
                    "default": null
                  },
                  "daily_remaining": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Daily Remaining",
                    "default": null
                  }
                },
                "description": "The caller's AI-analyst read allowance after this request. `metered`\nis false for callers the API does not meter (the website meters per user).\nA ticker counts once per US/Eastern day, whether its read was cached or new."
              },
              "AnalystCompare": {
                "type": "object",
                "title": "AnalystCompare",
                "required": [
                  "a",
                  "b",
                  "table",
                  "summary"
                ],
                "properties": {
                  "a": {
                    "type": "string",
                    "title": "A"
                  },
                  "b": {
                    "type": "string",
                    "title": "B"
                  },
                  "table": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/AnalystCompareRow"
                    },
                    "title": "Table"
                  },
                  "cached": {
                    "type": "boolean",
                    "title": "Cached",
                    "default": true
                  },
                  "summary": {
                    "type": "string",
                    "title": "Summary"
                  },
                  "contrasts": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/AnalystContrast"
                    },
                    "title": "Contrasts",
                    "default": []
                  },
                  "created_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Created At",
                    "default": null
                  }
                },
                "description": "Two reads side by side (PHASE_1_10 §5.2): the code-built `table` and a\ndescriptive comparison, cached once per pair of read versions and the same\nfor everyone. Never names a winner."
              },
              "AnalystContrast": {
                "type": "object",
                "title": "AnalystContrast",
                "required": [
                  "section",
                  "label",
                  "line"
                ],
                "properties": {
                  "line": {
                    "type": "string",
                    "title": "Line"
                  },
                  "label": {
                    "type": "string",
                    "title": "Label"
                  },
                  "section": {
                    "type": "string",
                    "title": "Section"
                  }
                }
              },
              "AnalystCompareRow": {
                "type": "object",
                "title": "AnalystCompareRow",
                "required": [
                  "key",
                  "label"
                ],
                "properties": {
                  "a": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "A",
                    "default": null
                  },
                  "b": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "B",
                    "default": null
                  },
                  "key": {
                    "type": "string",
                    "title": "Key"
                  },
                  "label": {
                    "type": "string",
                    "title": "Label"
                  }
                },
                "description": "One side-by-side row, built in code from the two reads: lean,\nconviction, then each section's direction (POSITIVE / NEUTRAL / NEGATIVE /\nNO_DATA)."
              },
              "TickerAnalystBrief": {
                "type": "object",
                "title": "TickerAnalystBrief",
                "required": [
                  "ticker",
                  "analysis_date"
                ],
                "properties": {
                  "lean": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Lean",
                    "default": null
                  },
                  "model": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Model",
                    "default": null
                  },
                  "cached": {
                    "type": "boolean",
                    "title": "Cached",
                    "default": true
                  },
                  "thesis": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Thesis",
                    "default": null
                  },
                  "ticker": {
                    "type": "string",
                    "title": "Ticker"
                  },
                  "version": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Version",
                    "default": null
                  },
                  "cost_usd": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Cost Usd",
                    "default": null
                  },
                  "sections": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": {
                          "type": "object",
                          "additionalProperties": true
                        }
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Sections",
                    "default": null
                  },
                  "conviction": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Conviction",
                    "default": null
                  },
                  "created_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Created At",
                    "default": null
                  },
                  "evidence_for": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Evidence For",
                    "default": []
                  },
                  "invalidation": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Invalidation",
                    "default": null
                  },
                  "analysis_date": {
                    "type": "string",
                    "title": "Analysis Date"
                  },
                  "evidence_against": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Evidence Against",
                    "default": []
                  },
                  "changed_since_last": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": true
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Changed Since Last",
                    "default": null
                  }
                }
              }
            },
            "title": "AnalystCompareResponse",
            "required": [
              "compare",
              "read_a",
              "read_b",
              "quota"
            ],
            "properties": {
              "quota": {
                "$ref": "#/$defs/AnalystQuota"
              },
              "read_a": {
                "$ref": "#/$defs/TickerAnalystBrief"
              },
              "read_b": {
                "$ref": "#/$defs/TickerAnalystBrief"
              },
              "compare": {
                "$ref": "#/$defs/AnalystCompare"
              }
            }
          },
          "annotations": {
            "title": "Compare two AI analyst reads",
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "rayana_ai_ticker_articles",
          "title": "Ticker article history",
          "description": "One ticker's published article history, newest first.",
          "inputSchema": {
            "type": "object",
            "title": "rayana_ai_ticker_articlesArguments",
            "required": [
              "symbol"
            ],
            "properties": {
              "symbol": {
                "type": "string",
                "title": "Symbol",
                "description": "Ticker symbol, e.g. AAPL. rayana_ai_search resolves a company name to one."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "ArticleSummary": {
                "type": "object",
                "title": "ArticleSummary",
                "required": [
                  "slug",
                  "ticker",
                  "headline",
                  "trigger_type"
                ],
                "properties": {
                  "dek": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Dek",
                    "default": null
                  },
                  "slug": {
                    "type": "string",
                    "title": "Slug"
                  },
                  "ticker": {
                    "type": "string",
                    "title": "Ticker"
                  },
                  "headline": {
                    "type": "string",
                    "title": "Headline"
                  },
                  "published_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Published At",
                    "default": null
                  },
                  "trigger_type": {
                    "type": "string",
                    "title": "Trigger Type"
                  }
                }
              }
            },
            "title": "ArticlesResponse",
            "required": [
              "count",
              "articles"
            ],
            "properties": {
              "count": {
                "type": "integer",
                "title": "Count"
              },
              "limit": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Limit",
                "default": null
              },
              "total": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Total",
                "default": null
              },
              "offset": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Offset",
                "default": null
              },
              "articles": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/ArticleSummary"
                },
                "title": "Articles"
              }
            }
          },
          "annotations": {
            "title": "Ticker article history",
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "rayana_ai_rotation",
          "title": "Cluster rotation",
          "description": "Cluster-rotation layer. `summary`: latest per-cluster RRG\nquadrant/rank rows with deltas, plus the most recent quadrant-crossing\nevents (`days` controls the window both are computed over).\n`laggards`: members trailing a firing cluster's leader. `discovered`:\nunsupervised cluster-discovery cohorts the structural taxonomy misses.\n`members`: structural cluster membership.\n\nOn `summary`, two blocks are trimmed because together they are 80% of\nthe response while answering a narrower question than the rows do.\n`include_trajectory` adds each cluster's full rank series — a chart\npayload, off by default. `events` returns the newest 25 crossings; if\nexactly 25 come back there are probably older ones, and a wider `days`\nis not what returns them.",
          "inputSchema": {
            "type": "object",
            "title": "rayana_ai_rotationArguments",
            "properties": {
              "days": {
                "type": "integer",
                "title": "Days",
                "default": 45,
                "description": "Window in days, from 2 to 365, for summary only; other views ignore it."
              },
              "view": {
                "enum": [
                  "summary",
                  "laggards",
                  "discovered",
                  "members"
                ],
                "type": "string",
                "title": "View",
                "default": "summary",
                "description": "Which part of the rotation layer to return; the tool description says what each holds."
              },
              "include_trajectory": {
                "type": "boolean",
                "title": "Include Trajectory",
                "default": false,
                "description": "Add each cluster's full rank series (a chart payload), for summary only."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "RotationResponse": {
                "type": "object",
                "title": "RotationResponse",
                "required": [
                  "latest",
                  "trajectory",
                  "events",
                  "snapshots"
                ],
                "properties": {
                  "asof": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Asof",
                    "default": null
                  },
                  "events": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/ClusterRotationEvent"
                    },
                    "title": "Events"
                  },
                  "latest": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/ClusterMomentumRow"
                    },
                    "title": "Latest"
                  },
                  "snapshots": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Snapshots"
                  },
                  "prior_date": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Prior Date",
                    "default": null
                  },
                  "trajectory": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/ClusterTrajectory"
                    },
                    "title": "Trajectory"
                  }
                }
              },
              "ClusterLaggardRow": {
                "type": "object",
                "title": "ClusterLaggardRow",
                "required": [
                  "cluster_name",
                  "ticker"
                ],
                "properties": {
                  "lag_z": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Lag Z",
                    "default": null
                  },
                  "leader": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Leader",
                    "default": null
                  },
                  "ticker": {
                    "type": "string",
                    "title": "Ticker"
                  },
                  "gap_10d": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Gap 10D",
                    "default": null
                  },
                  "cluster_name": {
                    "type": "string",
                    "title": "Cluster Name"
                  },
                  "also_surfaced": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Also Surfaced",
                    "default": null
                  },
                  "participation": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Participation",
                    "default": null
                  },
                  "snapshot_date": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Snapshot Date",
                    "default": null
                  },
                  "leader_catalyst": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Leader Catalyst",
                    "default": null
                  },
                  "leader_move_10d": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Leader Move 10D",
                    "default": null
                  },
                  "cluster_move_10d": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Cluster Move 10D",
                    "default": null
                  }
                }
              },
              "ClusterTrajectory": {
                "type": "object",
                "title": "ClusterTrajectory",
                "required": [
                  "cluster",
                  "series"
                ],
                "properties": {
                  "series": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/ClusterTrajectoryPoint"
                    },
                    "title": "Series"
                  },
                  "cluster": {
                    "type": "string",
                    "title": "Cluster"
                  }
                }
              },
              "ClusterMomentumRow": {
                "type": "object",
                "title": "ClusterMomentumRow",
                "required": [
                  "cluster_name"
                ],
                "properties": {
                  "id": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Id",
                    "default": null
                  },
                  "asof": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Asof",
                    "default": null
                  },
                  "rank": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Rank",
                    "default": null
                  },
                  "mom_5d": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Mom 5D",
                    "default": null
                  },
                  "rs_mom": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Rs Mom",
                    "default": null
                  },
                  "breadth": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Breadth",
                    "default": null
                  },
                  "mom_20d": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Mom 20D",
                    "default": null
                  },
                  "mom_60d": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Mom 60D",
                    "default": null
                  },
                  "cohesion": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Cohesion",
                    "default": null
                  },
                  "quadrant": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Quadrant",
                    "default": null
                  },
                  "rank_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Rank Pct",
                    "default": null
                  },
                  "rs_ratio": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Rs Ratio",
                    "default": null
                  },
                  "n_members": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "N Members",
                    "default": null
                  },
                  "rank_prev": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Rank Prev",
                    "default": null
                  },
                  "rank_delta": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Rank Delta",
                    "default": null
                  },
                  "recorded_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Recorded At",
                    "default": null
                  },
                  "cluster_name": {
                    "type": "string",
                    "title": "Cluster Name"
                  },
                  "quadrant_prev": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Quadrant Prev",
                    "default": null
                  },
                  "snapshot_date": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Snapshot Date",
                    "default": null
                  }
                }
              },
              "ClusterMembersEntry": {
                "type": "object",
                "title": "ClusterMembersEntry",
                "properties": {
                  "note": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Note",
                    "default": null
                  },
                  "leads": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Leads",
                    "default": []
                  },
                  "members": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Members",
                    "default": []
                  }
                }
              },
              "ClusterRotationEvent": {
                "type": "object",
                "title": "ClusterRotationEvent",
                "required": [
                  "date",
                  "cluster",
                  "flow"
                ],
                "properties": {
                  "to": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "To",
                    "default": null
                  },
                  "date": {
                    "type": "string",
                    "title": "Date"
                  },
                  "flow": {
                    "type": "string",
                    "title": "Flow"
                  },
                  "from": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "From",
                    "default": null
                  },
                  "cluster": {
                    "type": "string",
                    "title": "Cluster"
                  }
                }
              },
              "DiscoveredClusterRow": {
                "type": "object",
                "title": "DiscoveredClusterRow",
                "required": [
                  "cluster_uid"
                ],
                "properties": {
                  "size": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Size",
                    "default": null
                  },
                  "label": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Label",
                    "default": null
                  },
                  "is_new": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Is New",
                    "default": null
                  },
                  "members": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Members",
                    "default": []
                  },
                  "cohesion": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Cohesion",
                    "default": null
                  },
                  "cluster_uid": {
                    "type": "string",
                    "title": "Cluster Uid"
                  },
                  "label_source": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Label Source",
                    "default": null
                  },
                  "snapshot_date": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Snapshot Date",
                    "default": null
                  },
                  "structural_match": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Structural Match",
                    "default": null
                  }
                }
              },
              "ClusterTrajectoryPoint": {
                "type": "object",
                "title": "ClusterTrajectoryPoint",
                "required": [
                  "date"
                ],
                "properties": {
                  "date": {
                    "type": "string",
                    "title": "Date"
                  },
                  "rank": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Rank",
                    "default": null
                  }
                }
              }
            },
            "title": "rayana_ai_rotationOutput",
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/RotationResponse"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/ClusterLaggardRow"
                    }
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/DiscoveredClusterRow"
                    }
                  },
                  {
                    "type": "object",
                    "additionalProperties": {
                      "$ref": "#/$defs/ClusterMembersEntry"
                    }
                  }
                ],
                "title": "Result"
              }
            }
          },
          "annotations": {
            "title": "Cluster rotation",
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "rayana_ai_trends",
          "title": "Attention leaderboard",
          "description": "The attention leaderboard: latest virality snapshot ranked by VScore,\nwith the full intensity/breadth/slope/vramp decomposition.",
          "inputSchema": {
            "type": "object",
            "title": "rayana_ai_trendsArguments",
            "properties": {
              "limit": {
                "type": "integer",
                "title": "Limit",
                "default": 40,
                "description": "Rows to return, from 1 to 200."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "TrendRow": {
                "type": "object",
                "title": "TrendRow",
                "required": [
                  "ticker"
                ],
                "properties": {
                  "slope": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Slope",
                    "default": null
                  },
                  "vramp": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Vramp",
                    "default": null
                  },
                  "ticker": {
                    "type": "string",
                    "title": "Ticker"
                  },
                  "breadth": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Breadth",
                    "default": null
                  },
                  "intensity": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Intensity",
                    "default": null
                  },
                  "source_list": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Source List",
                    "default": null
                  },
                  "viral_score": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Viral Score",
                    "default": null
                  },
                  "distinct_days": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Distinct Days",
                    "default": null
                  },
                  "distinct_sources": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Distinct Sources",
                    "default": null
                  }
                }
              }
            },
            "title": "TrendsResponse",
            "required": [
              "count",
              "leaders"
            ],
            "properties": {
              "asof": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Asof",
                "default": null
              },
              "count": {
                "type": "integer",
                "title": "Count"
              },
              "leaders": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/TrendRow"
                },
                "title": "Leaders"
              },
              "truncated": {
                "type": "boolean",
                "title": "Truncated",
                "default": false
              }
            }
          },
          "annotations": {
            "title": "Attention leaderboard",
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "rayana_ai_trends_detail",
          "title": "Attention detail",
          "description": "The attention layer's raw texture. `sources`: per-source reach today.\n`heat`: per-(ticker, source) attention contributions. `search`:\nrising/breakout consumer search queries. `video`: rising video-view\nvelocity. `limit` applies to search/video only; omit it to use that\nview's own default.",
          "inputSchema": {
            "type": "object",
            "title": "rayana_ai_trends_detailArguments",
            "required": [
              "view"
            ],
            "properties": {
              "view": {
                "enum": [
                  "sources",
                  "heat",
                  "search",
                  "video"
                ],
                "type": "string",
                "title": "View",
                "description": "Which attention view to return; the tool description says what each holds."
              },
              "limit": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Limit",
                "default": null,
                "description": "Rows to return, from 1 to 100, for search and video only; omit for that view's default."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "SourceHeatRow": {
                "type": "object",
                "title": "SourceHeatRow",
                "required": [
                  "ticker",
                  "source"
                ],
                "properties": {
                  "source": {
                    "type": "string",
                    "title": "Source"
                  },
                  "ticker": {
                    "type": "string",
                    "title": "Ticker"
                  },
                  "intensity": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Intensity",
                    "default": null
                  },
                  "last_score": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Last Score",
                    "default": null
                  },
                  "recent_age": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Recent Age",
                    "default": null
                  },
                  "days_active": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Days Active",
                    "default": null
                  }
                }
              },
              "VideoTrendRow": {
                "type": "object",
                "title": "VideoTrendRow",
                "required": [
                  "title"
                ],
                "properties": {
                  "link": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Link",
                    "default": null
                  },
                  "title": {
                    "type": "string",
                    "title": "Title"
                  },
                  "views": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Views",
                    "default": null
                  },
                  "ticker": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Ticker",
                    "default": null
                  },
                  "channel": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Channel",
                    "default": null
                  },
                  "age_hours": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Age Hours",
                    "default": null
                  },
                  "company_name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Company Name",
                    "default": null
                  },
                  "velocity_vph": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Velocity Vph",
                    "default": null
                  },
                  "published_date": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Published Date",
                    "default": null
                  },
                  "velocity_score": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Velocity Score",
                    "default": null
                  }
                }
              },
              "SearchTrendRow": {
                "type": "object",
                "title": "SearchTrendRow",
                "required": [
                  "query"
                ],
                "properties": {
                  "day": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Day",
                    "default": null
                  },
                  "query": {
                    "type": "string",
                    "title": "Query"
                  },
                  "value": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Value",
                    "default": null
                  },
                  "section": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Section",
                    "default": null
                  }
                }
              },
              "SourceBreadthRow": {
                "type": "object",
                "title": "SourceBreadthRow",
                "required": [
                  "source",
                  "tickers"
                ],
                "properties": {
                  "source": {
                    "type": "string",
                    "title": "Source"
                  },
                  "tickers": {
                    "type": "integer",
                    "title": "Tickers"
                  },
                  "avg_intensity": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Avg Intensity",
                    "default": null
                  },
                  "max_intensity": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Max Intensity",
                    "default": null
                  }
                }
              }
            },
            "title": "rayana_ai_trends_detailOutput",
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/SourceBreadthRow"
                    }
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/SourceHeatRow"
                    }
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/SearchTrendRow"
                    }
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/VideoTrendRow"
                    }
                  }
                ],
                "title": "Result"
              }
            }
          },
          "annotations": {
            "title": "Attention detail",
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "rayana_ai_market_brief",
          "title": "Daily market brief",
          "description": "The daily market brief: a generic engine-wide read with no\nrecommendations, descriptive only. Latest by default; pass\n`date` (YYYY-MM-DD) for a specific day.",
          "inputSchema": {
            "type": "object",
            "title": "rayana_ai_market_briefArguments",
            "properties": {
              "date": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Date",
                "default": null,
                "description": "Day to read, as YYYY-MM-DD; omit for the latest brief."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "title": "MarketBriefResponse",
            "required": [
              "brief",
              "notes"
            ],
            "properties": {
              "brief": {
                "type": "object",
                "title": "Brief",
                "additionalProperties": true
              },
              "notes": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true
                },
                "title": "Notes"
              }
            }
          },
          "annotations": {
            "title": "Daily market brief",
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "rayana_ai_macro",
          "title": "Business cycle",
          "description": "The economy behind the market, descriptive only. `cycle`: the\nbusiness-cycle phase (expansion / slowdown / contraction / recovery), the\ncomposite and its components, plus recent month-ends. `axes`: the\nliquidity, credit, policy and inflation readings beside the cycle (each a\ncomposite, phase and components; + = easier / hotter), with the study\nevidence: liquidity has led the cycle by roughly 9-15 months but has not\nbeen a usable guide to market returns. `earnings`:\nS&P 500 (`index=\"spx\"`) or Nasdaq-100 profit growth by quarter\n(sum and median, net and operating income), breadth, beat rate and\ncoverage, including the quarter in season. `indicators`: the FRED series\nbehind the cycle with source citations. `history` sets the window\n(month-ends, quarters or observations); omit it for the default.",
          "inputSchema": {
            "type": "object",
            "title": "rayana_ai_macroArguments",
            "properties": {
              "view": {
                "enum": [
                  "cycle",
                  "axes",
                  "earnings",
                  "indicators"
                ],
                "type": "string",
                "title": "View",
                "default": "cycle",
                "description": "Which macro read to return; the tool description says what each holds."
              },
              "index": {
                "enum": [
                  "spx",
                  "ndx"
                ],
                "type": "string",
                "title": "Index",
                "default": "spx",
                "description": "S&P 500 (spx) or Nasdaq-100 (ndx), for earnings only."
              },
              "history": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "History",
                "default": null,
                "description": "How much history: month-ends for cycle and axes, quarters for earnings, observations for indicators. Omit for the default (12, 12, 8 and 12)."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "MacroAxis": {
                "type": "object",
                "title": "MacroAxis",
                "required": [
                  "month_ends"
                ],
                "properties": {
                  "latest": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/MacroAxisReading"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "month_ends": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/MacroAxisReading"
                    },
                    "title": "Month Ends"
                  }
                }
              },
              "MacroIndicator": {
                "type": "object",
                "title": "MacroIndicator",
                "required": [
                  "series_id",
                  "citation",
                  "observations"
                ],
                "properties": {
                  "title": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Title",
                    "default": null
                  },
                  "latest": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/MacroObservation"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "source": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Source",
                    "default": null
                  },
                  "concept": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Concept",
                    "default": null
                  },
                  "citation": {
                    "type": "string",
                    "title": "Citation"
                  },
                  "frequency": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Frequency",
                    "default": null
                  },
                  "series_id": {
                    "type": "string",
                    "title": "Series Id"
                  },
                  "observations": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/MacroObservation"
                    },
                    "title": "Observations"
                  }
                }
              },
              "MacroAxisReading": {
                "type": "object",
                "title": "MacroAxisReading",
                "required": [
                  "as_of",
                  "source",
                  "axis"
                ],
                "properties": {
                  "axis": {
                    "type": "string",
                    "title": "Axis"
                  },
                  "as_of": {
                    "type": "string",
                    "title": "As Of"
                  },
                  "phase": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Phase",
                    "default": null
                  },
                  "source": {
                    "type": "string",
                    "title": "Source"
                  },
                  "quadrant": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Quadrant",
                    "default": null
                  },
                  "change_3m": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Change 3M",
                    "default": null
                  },
                  "composite": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Composite",
                    "default": null
                  },
                  "components": {
                    "type": "object",
                    "title": "Components",
                    "default": {},
                    "additionalProperties": true
                  },
                  "months_in_phase": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Months In Phase",
                    "default": null
                  }
                }
              },
              "MacroObservation": {
                "type": "object",
                "title": "MacroObservation",
                "required": [
                  "date",
                  "value"
                ],
                "properties": {
                  "date": {
                    "type": "string",
                    "title": "Date"
                  },
                  "value": {
                    "type": "number",
                    "title": "Value"
                  }
                }
              },
              "MacroAxesResponse": {
                "type": "object",
                "title": "MacroAxesResponse",
                "required": [
                  "axes",
                  "method",
                  "evidence"
                ],
                "properties": {
                  "axes": {
                    "type": "object",
                    "title": "Axes",
                    "additionalProperties": {
                      "$ref": "#/$defs/MacroAxis"
                    }
                  },
                  "method": {
                    "type": "string",
                    "title": "Method"
                  },
                  "evidence": {
                    "type": "string",
                    "title": "Evidence"
                  }
                }
              },
              "MacroCycleReading": {
                "type": "object",
                "title": "MacroCycleReading",
                "required": [
                  "as_of",
                  "source"
                ],
                "properties": {
                  "as_of": {
                    "type": "string",
                    "title": "As Of"
                  },
                  "phase": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Phase",
                    "default": null
                  },
                  "source": {
                    "type": "string",
                    "title": "Source"
                  },
                  "quadrant": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Quadrant",
                    "default": null
                  },
                  "change_3m": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Change 3M",
                    "default": null
                  },
                  "composite": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Composite",
                    "default": null
                  },
                  "components": {
                    "type": "object",
                    "title": "Components",
                    "default": {},
                    "additionalProperties": true
                  },
                  "months_in_phase": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Months In Phase",
                    "default": null
                  }
                }
              },
              "MacroCycleResponse": {
                "type": "object",
                "title": "MacroCycleResponse",
                "required": [
                  "month_ends",
                  "method"
                ],
                "properties": {
                  "latest": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/MacroCycleReading"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "method": {
                    "type": "string",
                    "title": "Method"
                  },
                  "month_ends": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/MacroCycleReading"
                    },
                    "title": "Month Ends"
                  }
                }
              },
              "ProfitAggregateRow": {
                "type": "object",
                "title": "ProfitAggregateRow",
                "required": [
                  "as_of",
                  "cal_quarter",
                  "source",
                  "n_members",
                  "n_reported",
                  "n_like_for_like",
                  "n_non_usd",
                  "n_no_data",
                  "survivorship_biased"
                ],
                "properties": {
                  "as_of": {
                    "type": "string",
                    "title": "As Of"
                  },
                  "source": {
                    "type": "string",
                    "title": "Source"
                  },
                  "breadth": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Breadth",
                    "default": null
                  },
                  "beat_rate": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Beat Rate",
                    "default": null
                  },
                  "n_members": {
                    "type": "integer",
                    "title": "N Members"
                  },
                  "n_no_data": {
                    "type": "integer",
                    "title": "N No Data"
                  },
                  "n_non_usd": {
                    "type": "integer",
                    "title": "N Non Usd"
                  },
                  "ni_growth": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Ni Growth",
                    "default": null
                  },
                  "n_reported": {
                    "type": "integer",
                    "title": "N Reported"
                  },
                  "cal_quarter": {
                    "type": "string",
                    "title": "Cal Quarter"
                  },
                  "revenue_growth": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Revenue Growth",
                    "default": null
                  },
                  "n_like_for_like": {
                    "type": "integer",
                    "title": "N Like For Like"
                  },
                  "revisions_ratio": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Revisions Ratio",
                    "default": null
                  },
                  "median_ni_growth": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Median Ni Growth",
                    "default": null
                  },
                  "median_op_growth": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Median Op Growth",
                    "default": null
                  },
                  "op_income_growth": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Op Income Growth",
                    "default": null
                  },
                  "n_op_like_for_like": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "N Op Like For Like",
                    "default": null
                  },
                  "survivorship_biased": {
                    "type": "boolean",
                    "title": "Survivorship Biased"
                  }
                }
              },
              "ProfitAggregatesResponse": {
                "type": "object",
                "title": "ProfitAggregatesResponse",
                "required": [
                  "index",
                  "in_season",
                  "history",
                  "method"
                ],
                "properties": {
                  "index": {
                    "type": "string",
                    "title": "Index"
                  },
                  "method": {
                    "type": "string",
                    "title": "Method"
                  },
                  "history": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/ProfitAggregateRow"
                    },
                    "title": "History"
                  },
                  "in_season": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/ProfitAggregateRow"
                    },
                    "title": "In Season"
                  }
                }
              }
            },
            "title": "rayana_ai_macroOutput",
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/MacroCycleResponse"
                  },
                  {
                    "$ref": "#/$defs/MacroAxesResponse"
                  },
                  {
                    "$ref": "#/$defs/ProfitAggregatesResponse"
                  },
                  {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/MacroIndicator"
                    }
                  }
                ],
                "title": "Result"
              }
            }
          },
          "annotations": {
            "title": "Business cycle",
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "rayana_ai_analyst_brief",
          "title": "Portfolio analyst brief",
          "description": "The portfolio-analyst brief with its per-ticker views — the broadcast\nopinion layer, identical for every caller.",
          "inputSchema": {
            "type": "object",
            "title": "rayana_ai_analyst_briefArguments",
            "properties": {
              "date": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Date",
                "default": null,
                "description": "Day to read, as YYYY-MM-DD; omit for the latest brief."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "title": "AnalystBriefResponse",
            "required": [
              "brief",
              "views"
            ],
            "properties": {
              "brief": {
                "type": "object",
                "title": "Brief",
                "additionalProperties": true
              },
              "views": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true
                },
                "title": "Views"
              }
            }
          },
          "annotations": {
            "title": "Portfolio analyst brief",
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "rayana_ai_portfolios",
          "title": "Model portfolio shelf",
          "description": "The full shelf of Rayana AI's broadcast model portfolios as\nmerchandising cards, with each card's tier/openable/delayed flags.",
          "inputSchema": {
            "type": "object",
            "title": "rayana_ai_portfoliosArguments",
            "properties": {
              "include_retired": {
                "type": "boolean",
                "title": "Include Retired",
                "default": false,
                "description": "Also list books that are no longer published."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "ShelfCard": {
                "type": "object",
                "title": "ShelfCard",
                "required": [
                  "slug"
                ],
                "properties": {
                  "nav": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Nav",
                    "default": null
                  },
                  "slug": {
                    "type": "string",
                    "title": "Slug"
                  },
                  "tier": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Tier",
                    "default": null
                  },
                  "status": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Status",
                    "default": null
                  },
                  "delayed": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Delayed",
                    "default": null
                  },
                  "cagr_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Cagr Pct",
                    "default": null
                  },
                  "openable": {
                    "anyOf": [
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Openable",
                    "default": null
                  },
                  "benchmark": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Benchmark",
                    "default": null
                  },
                  "objective": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Objective",
                    "default": null
                  },
                  "risk_tier": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Risk Tier",
                    "default": null
                  },
                  "n_holdings": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "N Holdings",
                    "default": null
                  },
                  "asset_class": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Asset Class",
                    "default": null
                  },
                  "last_update": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Last Update",
                    "default": null
                  },
                  "display_name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Display Name",
                    "default": null
                  },
                  "drawdown_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Drawdown Pct",
                    "default": null
                  },
                  "cum_return_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Cum Return Pct",
                    "default": null
                  },
                  "inception_date": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Inception Date",
                    "default": null
                  },
                  "mechanism_blurb": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Mechanism Blurb",
                    "default": null
                  }
                },
                "description": "One merchandising card on the shelf.\n\n``openable``/``delayed`` are computed per caller by the router, not stored.\n``last_update``/``n_holdings`` arrive already collapsed to the pair this\ncaller's access level entitles them to (``_public_card``) — the internal\n``last_published_update``/``n_published_holdings`` pair is undeclared here\nand so cannot ship even if that collapse were ever skipped.\n\nDeliberately absent: ``source_lane`` and ``scoring_mode`` (internal lane\nprovenance — they name the engine that picks the book), the numeric ``id``,\nand the gate configuration (``publish_delay_min``, ``draft_gate_enabled``,\n``consumer_delay_min``), which is policy input rather than reader-facing\ncontent — a reader sees its *effect*, as ``delayed``."
              }
            },
            "title": "PortfolioShelf",
            "required": [
              "count",
              "tier",
              "portfolios"
            ],
            "properties": {
              "tier": {
                "type": "string",
                "title": "Tier"
              },
              "count": {
                "type": "integer",
                "title": "Count"
              },
              "portfolios": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/ShelfCard"
                },
                "title": "Portfolios"
              }
            }
          },
          "annotations": {
            "title": "Model portfolio shelf",
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "rayana_ai_portfolio",
          "title": "Model portfolio detail",
          "description": "One model portfolio's full detail: holdings, overlay legs, event feed,\nNAV series, and windowed returns. Returns an error if the book's tier\n(e.g. an Elite-only book) is above the caller's own subscription tier.",
          "inputSchema": {
            "type": "object",
            "title": "rayana_ai_portfolioArguments",
            "required": [
              "slug"
            ],
            "properties": {
              "slug": {
                "type": "string",
                "title": "Slug",
                "description": "The book's slug, as listed by rayana_ai_portfolios."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "Holding": {
                "type": "object",
                "title": "Holding",
                "required": [
                  "ticker"
                ],
                "properties": {
                  "name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Name",
                    "default": null
                  },
                  "rank": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Rank",
                    "default": null
                  },
                  "side": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Side",
                    "default": null
                  },
                  "price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price",
                    "default": null
                  },
                  "sector": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Sector",
                    "default": null
                  },
                  "ticker": {
                    "type": "string",
                    "title": "Ticker"
                  },
                  "cluster": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Cluster",
                    "default": null
                  },
                  "assigned": {
                    "type": "boolean",
                    "title": "Assigned",
                    "default": false
                  },
                  "entry_date": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Entry Date",
                    "default": null
                  },
                  "weight_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Weight Pct",
                    "default": null
                  },
                  "select_metric": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Select Metric",
                    "default": null
                  },
                  "effective_basis": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Effective Basis",
                    "default": null
                  },
                  "instrument_type": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Instrument Type",
                    "default": null
                  },
                  "sel_metric_kind": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Sel Metric Kind",
                    "default": null
                  }
                },
                "description": "One equity (or cash) position in today's snapshot.\n\n``weight_pct`` is the only position quantity that exists — no shares, no\ndollars, by construction of the tables themselves (the FIREWALL note on the\nmodel_portfolio_* DDL in data/db.py). ``side`` is 'long' (NULL = long) or\n'short', and ``weight_pct`` stays POSITIVE either way.\n\nDeliberately absent, all of which the ``list[dict]`` this replaced shipped:\n``rationale`` — engine text that names the selection mechanism and quotes\nits live cut-points (\"invest composite 72 (BUY); tech 68 / fund 55\",\n\"Donchian breakdown below the 200-SMA; 2N buy-stop $41.80\"), i.e. exactly\nthe disclosure ``_public_events`` rewrites event reasons to prevent, one\ntable over; ``metrics`` — the per-name selection metrics JSON, whose\npublishable aggregate is ``PortfolioMetrics`` below; ``stop_price`` and\n``target_price`` — the exit rule's live cut-points; and the row's internal\nidentity (``id`` / ``portfolio_id`` / ``run_id`` / ``recorded_at``).\n\n``assigned`` / ``effective_basis`` are the one allowlisted lift OUT of that\ndropped ``metrics`` block (data/reads.py::_assigned_view), and they are not an\nexception to the rule above: an assignment is an OUTCOME the event feed\nalready publishes in full, not a selection decision. Without them the single\nrow in the book that the picker did NOT choose arrives indistinguishable from\none it did — a new ticker with ``select_metric: null`` and no basis — which is\nthe whole of docs/subscriber_followability.md §5."
              },
              "Contract": {
                "type": "object",
                "title": "Contract",
                "properties": {
                  "dte": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Dte",
                    "default": null
                  },
                  "right": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Right",
                    "default": null
                  },
                  "expiry": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Expiry",
                    "default": null
                  },
                  "strike": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Strike",
                    "default": null
                  },
                  "premium": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Premium",
                    "default": null
                  },
                  "contract": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Contract",
                    "default": null
                  },
                  "multiplier": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Multiplier",
                    "default": null
                  },
                  "underlying": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Underlying",
                    "default": null
                  }
                },
                "description": "The option contract an overlay leg is written on: its identity\n(expiry/strike/right, per ``_contract_id`` in strategy/model_portfolios.py)\nplus what a reader needs to price it.\n\nDeliberately absent: ``delta`` and ``implied_vol`` — the leg already\npublishes ``assignment_prob``, which IS |delta| — and ``iv_rank`` / ``vrp``\n/ ``timing_mult``, the overlay's timing provenance, which is selection\nmechanism (strategy/premium_overlay.py::contract_spec)."
              },
              "NavPoint": {
                "type": "object",
                "title": "NavPoint",
                "required": [
                  "nav_date"
                ],
                "properties": {
                  "nav": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Nav",
                    "default": null
                  },
                  "nav_date": {
                    "type": "string",
                    "title": "Nav Date"
                  },
                  "n_holdings": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "N Holdings",
                    "default": null
                  },
                  "capital_nav": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Capital Nav",
                    "default": null
                  },
                  "drawdown_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Drawdown Pct",
                    "default": null
                  },
                  "turnover_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Turnover Pct",
                    "default": null
                  },
                  "cum_return_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Cum Return Pct",
                    "default": null
                  },
                  "daily_return_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Daily Return Pct",
                    "default": null
                  },
                  "distribution_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Distribution Pct",
                    "default": null
                  },
                  "benchmark_ret_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Benchmark Ret Pct",
                    "default": null
                  },
                  "cum_distribution_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Cum Distribution Pct",
                    "default": null
                  }
                },
                "description": "One session on the track record. ``nav`` is TOTAL return indexed to 100\nat inception and is never restated; ``capital_nav`` is the parallel curve a\nholder sees if they take the distributions out (docs/distribution_layer.md).\n``distribution_pct`` NULL means the book does not distribute at all — 0.0\nmeans it does and nothing settled this session."
              },
              "BookEvent": {
                "type": "object",
                "title": "BookEvent",
                "properties": {
                  "name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Name",
                    "default": null
                  },
                  "side": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Side",
                    "default": null
                  },
                  "action": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Action",
                    "default": null
                  },
                  "reason": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Reason",
                    "default": null
                  },
                  "ticker": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Ticker",
                    "default": null
                  },
                  "event_date": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Event Date",
                    "default": null
                  },
                  "instrument_type": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Instrument Type",
                    "default": null
                  },
                  "delta_weight_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Delta Weight Pct",
                    "default": null
                  }
                },
                "description": "One row of the public event feed — the projection of the diff log, not\nthe log. ``reason`` has already been rewritten into the fixed public\nvocabulary by ``_public_reason``; the stored text never reaches here, and\n``source_metric`` (the number behind it) is undeclared on purpose."
              },
              "NavWindow": {
                "type": "object",
                "title": "NavWindow",
                "required": [
                  "label"
                ],
                "properties": {
                  "label": {
                    "type": "string",
                    "title": "Label"
                  },
                  "covered": {
                    "type": "boolean",
                    "title": "Covered",
                    "default": false
                  },
                  "from_date": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "From Date",
                    "default": null
                  },
                  "return_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Return Pct",
                    "default": null
                  },
                  "distribution_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Distribution Pct",
                    "default": null
                  },
                  "capital_return_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Capital Return Pct",
                    "default": null
                  }
                },
                "description": "MTD / 3M / 6M / 12M / ITD total return. ``covered`` False (with\n``return_pct`` None) means the record does not yet reach back past that\nwindow's cutoff — render it as unavailable, never as the ITD number."
              },
              "OverlayLeg": {
                "type": "object",
                "title": "OverlayLeg",
                "required": [
                  "ticker",
                  "instrument_type"
                ],
                "properties": {
                  "name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Name",
                    "default": null
                  },
                  "price": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price",
                    "default": null
                  },
                  "ticker": {
                    "type": "string",
                    "title": "Ticker"
                  },
                  "instrument": {
                    "$ref": "#/$defs/Contract",
                    "default": {
                      "dte": null,
                      "right": null,
                      "expiry": null,
                      "strike": null,
                      "premium": null,
                      "contract": null,
                      "multiplier": null,
                      "underlying": null
                    }
                  },
                  "position_group": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Position Group",
                    "default": null
                  },
                  "assignment_prob": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Assignment Prob",
                    "default": null
                  },
                  "instrument_type": {
                    "type": "string",
                    "title": "Instrument Type"
                  },
                  "premium_yield_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Premium Yield Pct",
                    "default": null
                  },
                  "notional_weight_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Notional Weight Pct",
                    "default": null
                  }
                },
                "description": "One written CSP / covered-call leg currently open against the core.\n\nA leg carries the SAME ticker as the underlying it is written against and\nis sized by NOTIONAL, not book weight — the two must never be summed, which\nis why the read layer splits them out of ``holdings`` by ``instrument_type``.\n\n``premium_yield_pct`` and ``assignment_prob`` are 0-1 FRACTIONS, unlike\nevery other ``_pct`` field in this API (strategy/premium_overlay.py's\n``annual_yield`` / ``abs(delta)``) — clients must format them accordingly."
              },
              "FactorUnwind": {
                "type": "object",
                "title": "FactorUnwind",
                "required": [
                  "flag",
                  "date",
                  "index",
                  "held",
                  "leg_size"
                ],
                "properties": {
                  "date": {
                    "type": "string",
                    "title": "Date"
                  },
                  "flag": {
                    "type": "string",
                    "title": "Flag"
                  },
                  "held": {
                    "type": "integer",
                    "title": "Held"
                  },
                  "index": {
                    "type": "string",
                    "title": "Index"
                  },
                  "leg_size": {
                    "type": "integer",
                    "title": "Leg Size"
                  }
                },
                "description": "Market-context banner: a recent crowded-winners unwind\n(forensics/momentum_crash_monitor.py) that touched this book's holdings.\n\nCarries only a COUNT of overlapping names, never the monitor's leg list.\nWhich names count as \"recent leaders\" is close to the momentum books' own\nselection lens, and the holdings themselves are already on the page."
              },
              "PortfolioMetrics": {
                "type": "object",
                "title": "PortfolioMetrics",
                "properties": {
                  "n_overlay": {
                    "type": "integer",
                    "title": "N Overlay",
                    "default": 0
                  },
                  "n_holdings": {
                    "type": "integer",
                    "title": "N Holdings",
                    "default": 0
                  },
                  "distribution": {
                    "anyOf": [
                      {
                        "$ref": "#/$defs/DistributionSummary"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "sleeve_state": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Sleeve State",
                    "default": null
                  },
                  "income_coverage": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Income Coverage",
                    "default": null
                  },
                  "sel_metric_kind": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Sel Metric Kind",
                    "default": null
                  },
                  "total_weight_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Total Weight Pct",
                    "default": null
                  },
                  "total_income_yield": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Total Income Yield",
                    "default": null
                  },
                  "overlay_annual_yield": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Overlay Annual Yield",
                    "default": null
                  },
                  "weighted_income_rate": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Weighted Income Rate",
                    "default": null
                  },
                  "weighted_select_metric": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Weighted Select Metric",
                    "default": null
                  },
                  "weighted_reinvest_required": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Weighted Reinvest Required",
                    "default": null
                  },
                  "weighted_sustainable_yield": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Weighted Sustainable Yield",
                    "default": null
                  }
                },
                "description": "Book-level aggregates over today's snapshot (data/reads.py's\n``_book_metrics``). The income figures are weight-weighted over the book's\nTOTAL weight, so an unmeasured name drags the average down rather than being\nassumed to yield like its peers."
              },
              "PortfolioRegistry": {
                "type": "object",
                "title": "PortfolioRegistry",
                "required": [
                  "slug"
                ],
                "properties": {
                  "slug": {
                    "type": "string",
                    "title": "Slug"
                  },
                  "tier": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Tier",
                    "default": null
                  },
                  "status": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Status",
                    "default": null
                  },
                  "benchmark": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Benchmark",
                    "default": null
                  },
                  "objective": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Objective",
                    "default": null
                  },
                  "risk_tier": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Risk Tier",
                    "default": null
                  },
                  "asset_class": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Asset Class",
                    "default": null
                  },
                  "construction": {
                    "$ref": "#/$defs/PublicConstruction",
                    "default": {
                      "exit_rule": null,
                      "holdings_max": null,
                      "holdings_min": null,
                      "turnover_tier": null,
                      "distribution_policy": null
                    }
                  },
                  "display_name": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Display Name",
                    "default": null
                  },
                  "inception_date": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Inception Date",
                    "default": null
                  },
                  "mechanism_blurb": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Mechanism Blurb",
                    "default": null
                  }
                },
                "description": "The book's registry row as its detail page sees it: the same\nmerchandising identity as ``ShelfCard``, plus the parsed construction and\nminus the per-caller flags (the detail endpoint's own gate already answered\nthose)."
              },
              "PublicConstruction": {
                "type": "object",
                "title": "PublicConstruction",
                "properties": {
                  "exit_rule": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Exit Rule",
                    "default": null
                  },
                  "holdings_max": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Holdings Max",
                    "default": null
                  },
                  "holdings_min": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Holdings Min",
                    "default": null
                  },
                  "turnover_tier": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Turnover Tier",
                    "default": null
                  },
                  "distribution_policy": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Distribution Policy",
                    "default": null
                  }
                },
                "description": "The book's construction rules, trimmed to what is safe to publish — the\nsame set ``_PUBLIC_CONSTRUCTION_KEYS`` names in api/routers/portfolios.py,\nwhich stays the enforcing copy (it runs before this model is built)."
              },
              "DistributionSummary": {
                "type": "object",
                "title": "DistributionSummary",
                "required": [
                  "policy"
                ],
                "properties": {
                  "since": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Since",
                    "default": null
                  },
                  "policy": {
                    "type": "string",
                    "title": "Policy"
                  },
                  "covered_12m": {
                    "type": "boolean",
                    "title": "Covered 12M",
                    "default": false
                  },
                  "sustain_gap_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Sustain Gap Pct",
                    "default": null
                  },
                  "return_of_capital_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Return Of Capital Pct",
                    "default": null
                  },
                  "trailing_12m_yield_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Trailing 12M Yield Pct",
                    "default": null
                  },
                  "distributions_to_date_pct": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Distributions To Date Pct",
                    "default": null
                  }
                },
                "description": "The book's distribution record (docs/distribution_layer.md §5). ``None``\non ``PortfolioMetrics.distribution`` means not a distributing book at all;\npresent with ``since`` and ``distributions_to_date_pct`` None means it IS\ndistributing but no session has crossed the seam yet — a real state, and it\nrenders differently. Nothing here is annualised. Any surface rendering a\ndistribution or yield figure must render ``sustain_gap_pct`` and\n``return_of_capital_pct`` beside it (spec §11, D3)."
              }
            },
            "title": "PortfolioBook",
            "required": [
              "slug",
              "book"
            ],
            "properties": {
              "nav": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/NavPoint"
                },
                "title": "Nav",
                "default": []
              },
              "asof": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Asof",
                "default": null
              },
              "book": {
                "$ref": "#/$defs/PortfolioRegistry"
              },
              "slug": {
                "type": "string",
                "title": "Slug"
              },
              "events": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/BookEvent"
                },
                "title": "Events",
                "default": []
              },
              "metrics": {
                "$ref": "#/$defs/PortfolioMetrics",
                "default": {
                  "n_overlay": 0,
                  "n_holdings": 0,
                  "distribution": null,
                  "sleeve_state": null,
                  "income_coverage": null,
                  "sel_metric_kind": null,
                  "total_weight_pct": null,
                  "total_income_yield": null,
                  "overlay_annual_yield": null,
                  "weighted_income_rate": null,
                  "weighted_select_metric": null,
                  "weighted_reinvest_required": null,
                  "weighted_sustainable_yield": null
                }
              },
              "overlay": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/OverlayLeg"
                },
                "title": "Overlay",
                "default": []
              },
              "windows": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/NavWindow"
                },
                "title": "Windows",
                "default": []
              },
              "holdings": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/Holding"
                },
                "title": "Holdings",
                "default": []
              },
              "delayed_to": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Delayed To",
                "default": null
              },
              "factor_unwind": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/FactorUnwind"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            }
          },
          "annotations": {
            "title": "Model portfolio detail",
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "rayana_ai_search",
          "title": "Symbol search",
          "description": "Resolve free text (ticker or company name) to known Rayana AI symbols,\nbest match first. Pure resolution — never accrues signal.",
          "inputSchema": {
            "type": "object",
            "title": "rayana_ai_searchArguments",
            "required": [
              "q"
            ],
            "properties": {
              "q": {
                "type": "string",
                "title": "Q",
                "description": "Free text to resolve: a ticker or a company name."
              },
              "limit": {
                "type": "integer",
                "title": "Limit",
                "default": 8,
                "description": "Matches to return, from 1 to 25."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "SearchMatch": {
                "type": "object",
                "title": "SearchMatch",
                "required": [
                  "ticker"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "title": "Name",
                    "default": ""
                  },
                  "ticker": {
                    "type": "string",
                    "title": "Ticker"
                  }
                }
              }
            },
            "title": "rayana_ai_searchOutput",
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/SearchMatch"
                },
                "title": "Result"
              }
            }
          },
          "annotations": {
            "title": "Symbol search",
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "rayana_ai_articles",
          "title": "Research articles",
          "description": "The public articles feed, newest first, when `slug` is omitted; one\npublished article's full body when `slug` is given.",
          "inputSchema": {
            "type": "object",
            "title": "rayana_ai_articlesArguments",
            "properties": {
              "slug": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Slug",
                "default": null,
                "description": "One article's slug, from the feed; omit to list the feed."
              },
              "limit": {
                "type": "integer",
                "title": "Limit",
                "default": 30,
                "description": "Feed rows to return, from 1 to 100; ignored with slug."
              },
              "offset": {
                "type": "integer",
                "title": "Offset",
                "default": 0,
                "description": "Feed rows to skip, for paging; ignored with slug."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "ArticleDetail": {
                "type": "object",
                "title": "ArticleDetail",
                "required": [
                  "slug",
                  "ticker",
                  "headline",
                  "body_md",
                  "trigger_type"
                ],
                "properties": {
                  "dek": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Dek",
                    "default": null
                  },
                  "slug": {
                    "type": "string",
                    "title": "Slug"
                  },
                  "ticker": {
                    "type": "string",
                    "title": "Ticker"
                  },
                  "body_md": {
                    "type": "string",
                    "title": "Body Md"
                  },
                  "headline": {
                    "type": "string",
                    "title": "Headline"
                  },
                  "created_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Created At",
                    "default": null
                  },
                  "published_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Published At",
                    "default": null
                  },
                  "trigger_type": {
                    "type": "string",
                    "title": "Trigger Type"
                  }
                }
              },
              "ArticleSummary": {
                "type": "object",
                "title": "ArticleSummary",
                "required": [
                  "slug",
                  "ticker",
                  "headline",
                  "trigger_type"
                ],
                "properties": {
                  "dek": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Dek",
                    "default": null
                  },
                  "slug": {
                    "type": "string",
                    "title": "Slug"
                  },
                  "ticker": {
                    "type": "string",
                    "title": "Ticker"
                  },
                  "headline": {
                    "type": "string",
                    "title": "Headline"
                  },
                  "published_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Published At",
                    "default": null
                  },
                  "trigger_type": {
                    "type": "string",
                    "title": "Trigger Type"
                  }
                }
              },
              "ArticlesResponse": {
                "type": "object",
                "title": "ArticlesResponse",
                "required": [
                  "count",
                  "articles"
                ],
                "properties": {
                  "count": {
                    "type": "integer",
                    "title": "Count"
                  },
                  "limit": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Limit",
                    "default": null
                  },
                  "total": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Total",
                    "default": null
                  },
                  "offset": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Offset",
                    "default": null
                  },
                  "articles": {
                    "type": "array",
                    "items": {
                      "$ref": "#/$defs/ArticleSummary"
                    },
                    "title": "Articles"
                  }
                }
              }
            },
            "title": "rayana_ai_articlesOutput",
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ArticlesResponse"
                  },
                  {
                    "$ref": "#/$defs/ArticleDetail"
                  }
                ],
                "title": "Result"
              }
            }
          },
          "annotations": {
            "title": "Research articles",
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "rayana_ai_plans",
          "title": "Plans and pricing",
          "description": "Rayana AI's subscription tiers: price, rate limits, and what each tier\nincludes. Works without signing in or an API key.\n\nThe research tools on this server require the Pro tier or higher. Prices\nare USD; annual billing is ten months' price for twelve.\n`rayana_ai_start_checkout` returns a subscription link for a tier listed\nhere.",
          "inputSchema": {
            "type": "object",
            "title": "rayana_ai_plansArguments",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "Plan": {
                "type": "object",
                "title": "Plan",
                "required": [
                  "tier",
                  "name",
                  "summary",
                  "price_monthly_usd",
                  "price_annual_usd",
                  "includes",
                  "limits",
                  "api_access"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "title": "Name"
                  },
                  "tier": {
                    "enum": [
                      "free",
                      "standard",
                      "pro",
                      "elite"
                    ],
                    "type": "string",
                    "title": "Tier"
                  },
                  "limits": {
                    "$ref": "#/$defs/PlanLimits"
                  },
                  "summary": {
                    "type": "string",
                    "title": "Summary"
                  },
                  "includes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "title": "Includes"
                  },
                  "api_access": {
                    "type": "boolean",
                    "title": "Api Access"
                  },
                  "price_annual_usd": {
                    "type": "integer",
                    "title": "Price Annual Usd"
                  },
                  "price_monthly_usd": {
                    "type": "integer",
                    "title": "Price Monthly Usd"
                  }
                }
              },
              "PlanLimits": {
                "type": "object",
                "title": "PlanLimits",
                "required": [
                  "per_minute",
                  "per_day"
                ],
                "properties": {
                  "per_day": {
                    "type": "integer",
                    "title": "Per Day"
                  },
                  "per_minute": {
                    "type": "integer",
                    "title": "Per Minute"
                  }
                }
              }
            },
            "title": "PlansResponse",
            "required": [
              "plans",
              "currency",
              "annual_note",
              "pricing_url",
              "checkout_url",
              "access_note"
            ],
            "properties": {
              "plans": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/Plan"
                },
                "title": "Plans"
              },
              "currency": {
                "type": "string",
                "title": "Currency"
              },
              "access_note": {
                "type": "string",
                "title": "Access Note"
              },
              "annual_note": {
                "type": "string",
                "title": "Annual Note"
              },
              "pricing_url": {
                "type": "string",
                "title": "Pricing Url"
              },
              "checkout_url": {
                "type": "string",
                "title": "Checkout Url"
              }
            }
          },
          "annotations": {
            "title": "Plans and pricing",
            "readOnlyHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "rayana_ai_start_checkout",
          "title": "Start a subscription",
          "description": "Returns a subscription link for a tier, which the user opens in a\nbrowser. Works without signing in or an API key. The tool itself takes no\npayment: the user signs in, accepts the Terms of Service and pays on\nStripe's hosted checkout page.\n\nStandard does not include access to this server's research tools; Pro and\nElite do. After payment, a connection that signs in with OAuth (as\nClaude's connectors do) reaches the research tools once the user signs in\nwith the same account. A client that connects with an API key instead gets\none through a pairing code on the account page (see\n`rayana_ai_complete_setup`).",
          "inputSchema": {
            "type": "object",
            "title": "rayana_ai_start_checkoutArguments",
            "properties": {
              "tier": {
                "enum": [
                  "standard",
                  "pro",
                  "elite"
                ],
                "type": "string",
                "title": "Tier",
                "default": "pro",
                "description": "Tier to subscribe to; only pro and elite unlock this server's research tools."
              },
              "interval": {
                "enum": [
                  "month",
                  "year"
                ],
                "type": "string",
                "title": "Interval",
                "default": "month",
                "description": "Billing interval; a year costs ten months' price."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "title": "CheckoutHandoff",
            "required": [
              "url",
              "tier",
              "interval",
              "price_usd",
              "next_steps",
              "pairing_note"
            ],
            "properties": {
              "url": {
                "type": "string",
                "title": "Url"
              },
              "tier": {
                "type": "string",
                "title": "Tier"
              },
              "interval": {
                "type": "string",
                "title": "Interval"
              },
              "price_usd": {
                "type": "integer",
                "title": "Price Usd"
              },
              "next_steps": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "title": "Next Steps"
              },
              "pairing_note": {
                "type": "string",
                "title": "Pairing Note"
              }
            },
            "description": "What an agent hands its human to subscribe. Deliberately NOT a Stripe\nCheckout URL: this link lands on a Rayana page that signs the human in,\ntakes their assent to the Terms, and only then starts Stripe's own hosted\nCheckout. See api/mcp_server.py's `rayana_ai_start_checkout` for why the\nindirection is the point rather than an extra hop."
          },
          "annotations": {
            "title": "Start a subscription",
            "readOnlyHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "rayana_ai_complete_setup",
          "title": "Redeem a pairing code",
          "description": "For clients that connect with an API key rather than OAuth: exchanges a\npairing code from the user's account page for an API key. Destructive: it\nissues a new key and immediately revokes the account's previous one, so\nany other client still using the old key stops working. OAuth connections\nare not affected.\n\nThe key is returned once and cannot be retrieved later; only a hash of it\nis stored. It is sent as the `X-API-Key` header on MCP and REST\nrequests. Codes are single-use, expire after 15 minutes, and are\ninvalidated after a few wrong attempts.",
          "inputSchema": {
            "type": "object",
            "title": "rayana_ai_complete_setupArguments",
            "required": [
              "code"
            ],
            "properties": {
              "code": {
                "type": "string",
                "title": "Code",
                "description": "The pairing code from the user's account page, shown as XXXXX-XXXXX."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "title": "AgentSetup",
            "required": [
              "api_key",
              "tier",
              "rest_base_url",
              "mcp_url",
              "header_name",
              "note"
            ],
            "properties": {
              "note": {
                "type": "string",
                "title": "Note"
              },
              "tier": {
                "type": "string",
                "title": "Tier"
              },
              "api_key": {
                "type": "string",
                "title": "Api Key"
              },
              "mcp_url": {
                "type": "string",
                "title": "Mcp Url"
              },
              "header_name": {
                "type": "string",
                "title": "Header Name"
              },
              "rest_base_url": {
                "type": "string",
                "title": "Rest Base Url"
              }
            },
            "description": "The result of redeeming a pairing code: a usable API key, once."
          },
          "annotations": {
            "title": "Redeem a pairing code",
            "readOnlyHint": false,
            "openWorldHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": "Read-only access to Rayana AI's market-research engine: model-portfolio rankings, per-ticker scores, aggregator signals, cluster rotation, attention trends, daily briefs, the business-cycle read, and the broadcast model portfolios. All content is impersonal — computed once and served identically to every caller, same as the Rayana AI REST API this mirrors. The research tools require a Pro-tier or higher subscription: sign in with OAuth when the client offers it, or pass an API key as the X-API-Key header on the MCP connection. Three tools work without either: rayana_ai_plans, rayana_ai_start_checkout and rayana_ai_complete_setup, which are how an agent whose principal has no subscription yet can read the pricing, hand them a checkout link, and configure itself afterwards. Opening an AI analyst read counts against the subscription's monthly read allowance, and every response reports the reads remaining."
  },
  "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."
}