{
  "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.hemrock.com",
    "site": "hemrock.com",
    "addresses": [
      {
        "address": "216.150.1.1",
        "endpoints": 907,
        "shared_infrastructure": true,
        "network": {
          "asn": 16509,
          "name": "AMAZON-02 - Amazon.com, Inc.",
          "prefix": "216.150.1.0/24",
          "country": "US"
        }
      },
      {
        "address": "216.150.16.193",
        "endpoints": 664,
        "shared_infrastructure": true,
        "network": {
          "asn": 16509,
          "name": "AMAZON-02 - Amazon.com, Inc.",
          "prefix": "216.150.16.0/24",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "216.150.1.1",
          "216.150.16.193"
        ],
        "first_seen": "2026-11-22T21:15:03.554Z",
        "last_seen": "2026-11-22T21:15:03.554Z",
        "checks": 1
      },
      {
        "addresses": [
          "216.150.1.1",
          "216.150.16.1"
        ],
        "first_seen": "2026-11-21T17:16:02.495Z",
        "last_seen": "2026-11-21T17:16:02.495Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Vercel",
        "evidence": "Server header \"Vercel\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "hemrock-mcp",
      "version": "1.4.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "Vercel",
      "strict-transport-security": "max-age=63072000",
      "access-control-allow-origin": "*"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 1531,
      "sample": [
        {
          "id": "26",
          "url": "https://mrk.ae/api/mcp",
          "server_name": "ae.mrk/dubai-property",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:32:02.233Z"
        },
        {
          "id": "39",
          "url": "https://www.almostimpossible.agency/mcp",
          "server_name": "agency.almostimpossible/site",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:33:00.789Z"
        },
        {
          "id": "182",
          "url": "https://www.ai-portal.ai/mcp",
          "server_name": "ai.ai-portal/ai-portal",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:35:03.203Z"
        },
        {
          "id": "225",
          "url": "https://amigurumi.ai/mcp",
          "server_name": "ai.amigurumi/patterns",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:36:00.833Z"
        },
        {
          "id": "248",
          "url": "https://app.aqta.ai/api/mcp",
          "server_name": "ai.aqta/seal",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:35:04.710Z"
        },
        {
          "id": "278",
          "url": "https://asrm.ai/mcp",
          "server_name": "ai.asrm/asrm",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:37:02.462Z"
        },
        {
          "id": "300",
          "url": "https://app.augenix.ai/api/mcp/public",
          "server_name": "ai.augenix/build",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:38:02.093Z"
        },
        {
          "id": "368",
          "url": "https://beexcellent.ai/api/mcp/public",
          "server_name": "ai.beexcellent/reference",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:40:04.155Z"
        },
        {
          "id": "375",
          "url": "https://api.betslipdoctor.ai/api/mcp",
          "server_name": "ai.betslipdoctor/mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:40:02.459Z"
        },
        {
          "id": "378",
          "url": "https://bidbetter.ai/api/mcp",
          "server_name": "ai.bidbetter/collector-car-values",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:40:02.216Z"
        },
        {
          "id": "379",
          "url": "https://bidclub.ai/api/mcp",
          "server_name": "ai.bidclub/bidclub",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:40:02.647Z"
        },
        {
          "id": "390",
          "url": "https://blinibot.ai/api/agents/mcp",
          "server_name": "ai.blinibot/agent-lounge",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:40:03.345Z"
        },
        {
          "id": "395",
          "url": "https://property.bluebed.ai/mcp",
          "server_name": "ai.bluebed.property/new-launches",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:41:00.904Z"
        },
        {
          "id": "413",
          "url": "https://booqer.ai/mcp",
          "server_name": "ai.booqer/booqer",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:41:01.200Z"
        },
        {
          "id": "416",
          "url": "https://www.bordet.ai/api/mcp/mcp",
          "server_name": "ai.bordet/bordet",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:40:03.564Z"
        },
        {
          "id": "430",
          "url": "https://www.budgetseo.ai/api/mcp",
          "server_name": "ai.budgetseo/budget-seo-mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:42:01.174Z"
        },
        {
          "id": "458",
          "url": "https://calaf.ai/api/mcp",
          "server_name": "ai.calaf/seeds",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:42:02.199Z"
        },
        {
          "id": "465",
          "url": "https://www.canaryusers.ai/api/mcp",
          "server_name": "ai.canaryusers/canaryusers",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:42:02.398Z"
        },
        {
          "id": "670",
          "url": "https://www.decisionlog.ai/api/mcp",
          "server_name": "ai.decisionlog/mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:46:01.434Z"
        },
        {
          "id": "754",
          "url": "https://www.edgechat.ai/mcp",
          "server_name": "ai.edgechat/edgepedia",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:48:12.743Z"
        }
      ]
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.github.tdavidson",
      "total": 0,
      "sample": []
    },
    "same_repository": {
      "repository_url": "https://github.com/tdavidson/mcp-hemrock",
      "total": 0,
      "sample": []
    },
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "39768",
    "server_name": "io.github.tdavidson/mcp-hemrock",
    "url": "https://mcp.hemrock.com/mcp",
    "host": "mcp.hemrock.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-22T21:15:03.554Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "be2580ecf0c7e786e893709e7c940fae78ca7612d6956b5c57eea59d7f449f0f",
    "first_listed_at": "2026-11-21T17:16:02.495Z",
    "created_at": "2026-11-21T12:05:01.602Z",
    "resolved_addresses": [
      "216.150.1.1",
      "216.150.16.193"
    ]
  },
  "server": {
    "name": "io.github.tdavidson/mcp-hemrock",
    "title": "Hemrock MCP",
    "description": "Financial models in chat: cap tables, waterfalls, fund economics, SaaS, ecommerce, unit economics.",
    "version": "1.5.4",
    "registry_status": "active",
    "repository_url": "https://github.com/tdavidson/mcp-hemrock",
    "website_url": "https://hemrock.com/mcp",
    "published_at": "2026-11-15T20:46:30.056Z",
    "updated_at": "2026-11-15T20:46:30.056Z",
    "first_seen": "2026-11-21T12:05:01.065Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:51:13.007Z"
  },
  "operator": {
    "key": "hemrock.com",
    "name": "hemrock.com",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 2,
    "answered": 2,
    "answered_percent": 100,
    "avg_listing_latency_ms": 420,
    "first_check_in_window": "2026-11-21T17:16:02.495Z",
    "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"
      }
    ]
  },
  "tool_list": {
    "sha256": "be2580ecf0c7e786e893709e7c940fae78ca7612d6956b5c57eea59d7f449f0f",
    "tools": 23,
    "resources": 1,
    "prompts": 4,
    "first_seen": "2026-11-21T17:16:02.831Z",
    "tool_names": [
      "get_context",
      "get_prompts",
      "get_checks",
      "get_best_practices",
      "list_concepts",
      "get_concept",
      "list_models",
      "get_access",
      "get_account_access",
      "get_account_usage",
      "cap_table_compute",
      "exit_waterfall_compute",
      "fund_economics_compute",
      "unit_economics_compute",
      "saas_forecast_compute",
      "ecommerce_forecast_compute",
      "list_saved_models",
      "get_saved_model",
      "run_saved_model",
      "update_saved_model",
      "create_saved_model",
      "check_in",
      "request_review"
    ],
    "declared": {
      "tools": [
        {
          "name": "get_context",
          "title": "Get Hemrock modeling context",
          "description": "Returns the universal context-setting primer for Hemrock models, plus an optional template-specific addendum. Always run this first before any other prompts.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "template_name": {
                "enum": [
                  "standard",
                  "cap_table",
                  "venture_fund",
                  "venture_fund_quarterly",
                  "runway",
                  "saas",
                  "ecommerce",
                  "unit_economics",
                  "fund_economics",
                  "fund_economics_tool_web",
                  "venture_valuation"
                ],
                "type": "string",
                "description": "Optional. If provided, appends a template-specific primer to the universal context."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "get_prompts",
          "title": "Get Hemrock task prompts",
          "description": "Returns task-specific Layer 2 prompts for a given template and task type. These are ready-to-use prompts for common modeling tasks.",
          "inputSchema": {
            "type": "object",
            "required": [
              "template_name"
            ],
            "properties": {
              "task_type": {
                "type": "string",
                "description": "Optional task type filter."
              },
              "template_name": {
                "enum": [
                  "standard",
                  "cap_table",
                  "venture_fund",
                  "venture_fund_quarterly",
                  "runway",
                  "saas",
                  "ecommerce",
                  "unit_economics",
                  "fund_economics",
                  "fund_economics_tool_web",
                  "venture_valuation"
                ],
                "type": "string",
                "description": "The Hemrock template being used."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "get_checks",
          "title": "Get Hemrock validation checks",
          "description": "Returns Layer 3 sanity-check and validation prompts — the 'where AI gets financial modeling wrong' guidance. Use these to audit AI-generated work or catch common modeling errors.",
          "inputSchema": {
            "type": "object",
            "required": [
              "template_name"
            ],
            "properties": {
              "template_name": {
                "enum": [
                  "standard",
                  "cap_table",
                  "venture_fund",
                  "venture_fund_quarterly",
                  "runway",
                  "saas",
                  "ecommerce",
                  "unit_economics",
                  "fund_economics",
                  "fund_economics_tool_web",
                  "venture_valuation",
                  "all"
                ],
                "type": "string",
                "description": "The template to get checks for. Use \"all\" for universal checks only."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "get_best_practices",
          "title": "Get Hemrock best practices",
          "description": "Returns Hemrock's financial modeling best practices and design principles for a given topic. Useful as background context for AI interactions.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "topic": {
                "enum": [
                  "formatting",
                  "structure",
                  "inputs",
                  "assumptions",
                  "review",
                  "sharing",
                  "all"
                ],
                "type": "string",
                "description": "Optional topic filter. Returns all best practices if omitted."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "list_concepts",
          "title": "List Hemrock modeling concepts",
          "description": "Lists Hemrock financial-modeling concept docs — the methodology behind the math (exit waterfalls, anti-dilution, convertibles, cohorts, circular references, unit economics, and more). Returns a compact index of slugs, titles, and descriptions. Optionally filter by template_name or tag. Call get_concept to read the full text of any entry.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "tag": {
                "type": "string",
                "description": "Optional. Filter to concepts whose tags contain this string (e.g. \"cap tables\")."
              },
              "template_name": {
                "enum": [
                  "standard",
                  "cap_table",
                  "venture_fund",
                  "venture_fund_quarterly",
                  "runway",
                  "saas",
                  "ecommerce",
                  "unit_economics",
                  "fund_economics",
                  "fund_economics_tool_web",
                  "venture_valuation"
                ],
                "type": "string",
                "description": "Optional. Filter to concepts relevant to a specific Hemrock template."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "get_concept",
          "title": "Get a Hemrock modeling concept",
          "description": "Returns the full text of a single Hemrock concept doc by slug. Use this to learn how a financial-modeling calculation actually works before building or auditing it. Get valid slugs from list_concepts.",
          "inputSchema": {
            "type": "object",
            "required": [
              "slug"
            ],
            "properties": {
              "slug": {
                "type": "string",
                "description": "The concept slug, from list_concepts (e.g. \"waterfall\", \"anti-dilution\")."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false
          }
        },
        {
          "name": "list_models",
          "title": "List Hemrock model engines",
          "description": "Lists the hosted Hemrock calculation engines (cap table, exit waterfall, fund economics, and the free unit economics, SaaS forecast and ecommerce forecast models), what each computes, and its price and checkout link. Free and needs no sign-in, so call it when the user asks what Hemrock can calculate or what it costs.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "get_access",
          "title": "Get access to a Hemrock model",
          "description": "Returns public access terms for an engine: product, annual price, billing period, annual allowance, and a customer checkout URL. This is informational and does not purchase or confirm account-specific access; use get_account_access for the authenticated account.",
          "inputSchema": {
            "type": "object",
            "required": [
              "model"
            ],
            "properties": {
              "model": {
                "enum": [
                  "cap-table",
                  "exit-waterfall",
                  "fund-economics"
                ],
                "type": "string",
                "description": "Model key to check access for."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "get_account_access",
          "title": "Get account access",
          "description": "Returns whether this connection is signed in, its annual product access and remaining calculations. Does not consume allowance. Call it before a compute tool if you are unsure the user can run one. If the result contains action_required (not signed in, no purchase, allowance used), relay it to the user with its links and offer to retry. Never skip the calculation silently.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "get_account_usage",
          "title": "Get account usage",
          "description": "Returns signed-in usage history and endpoint/source breakdown. Does not consume allowance. If the result contains action_required (not signed in, no purchase, allowance used), relay it to the user with its links and offer to retry. Never skip the calculation silently.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "to": {
                "type": "string",
                "description": "Optional UTC end date (YYYY-MM-DD)."
              },
              "from": {
                "type": "string",
                "description": "Optional UTC start date (YYYY-MM-DD)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "cap_table_compute",
          "title": "Compute a cap table",
          "description": "Use whenever the user asks who owns what after a financing: founder splits, option pools, priced rounds, SAFEs and convertible notes converting, warrants, pro-rata, or dilution across several rounds. Takes the financing events in order and returns fully diluted ownership after each event plus the final cap table. Prefer this over doing the arithmetic yourself: SAFE and note conversion (pre- vs post-money caps, discounts, pool shuffles) is where model-written math most often goes wrong, and this runs the same tested engine as Hemrock's cap table models. Free without an account for a few runs a day (the result comes with a link that saves it to Hemrock); signed in, 10 free calculations, then the Cap Table & Exit Waterfall product, $20/year for 6,000 calculations shared with exit_waterfall_compute. If the result contains action_required (not signed in, no purchase, allowance used), relay it to the user with its links and offer to retry. Never skip the calculation silently.",
          "inputSchema": {
            "type": "object",
            "required": [
              "events"
            ],
            "properties": {
              "events": {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "label",
                        "grants"
                      ],
                      "properties": {
                        "type": {
                          "const": "common_issuance"
                        },
                        "label": {
                          "type": "string"
                        },
                        "grants": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "id",
                              "name",
                              "kind",
                              "shares"
                            ],
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "kind": {
                                "enum": [
                                  "founder",
                                  "employee"
                                ]
                              },
                              "name": {
                                "type": "string"
                              },
                              "shares": {
                                "type": "number"
                              }
                            }
                          }
                        }
                      },
                      "description": "Issue common stock (founders, employees)."
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "label",
                        "shares"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "Pool id, so an option_grant can name which pool it draws from."
                        },
                        "type": {
                          "const": "option_pool"
                        },
                        "label": {
                          "type": "string"
                        },
                        "shares": {
                          "type": "number"
                        },
                        "countMode": {
                          "enum": [
                            "shares",
                            "percent"
                          ],
                          "description": "Defaults to \"shares\"."
                        },
                        "targetPct": {
                          "type": "number",
                          "description": "0..1 of post-event fully diluted, used when countMode=\"percent\"."
                        },
                        "strikePrice": {
                          "type": "number"
                        }
                      },
                      "description": "Create or expand an option pool (shares authorized, not granted)."
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "label",
                        "fromId",
                        "toId",
                        "toName",
                        "shares"
                      ],
                      "properties": {
                        "toId": {
                          "type": "string"
                        },
                        "type": {
                          "const": "secondary_sale"
                        },
                        "class": {
                          "enum": [
                            "common",
                            "preferred",
                            "option-pool",
                            "warrant"
                          ],
                          "description": "Defaults to \"common\"."
                        },
                        "label": {
                          "type": "string"
                        },
                        "round": {
                          "type": "string",
                          "description": "Which series the shares come from (e.g. \"Series A\")."
                        },
                        "fromId": {
                          "type": "string"
                        },
                        "shares": {
                          "type": "number"
                        },
                        "toName": {
                          "type": "string"
                        }
                      },
                      "description": "Transfer existing shares from one holder to another."
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "label",
                        "grants"
                      ],
                      "properties": {
                        "type": {
                          "const": "option_grant"
                        },
                        "label": {
                          "type": "string"
                        },
                        "grants": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "id",
                              "name",
                              "shares"
                            ],
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "shares": {
                                "type": "number"
                              }
                            }
                          }
                        },
                        "poolId": {
                          "type": "string",
                          "description": "Pool id to grant from; omit to draw the common pool."
                        }
                      },
                      "description": "Grant options to people from one pool (fully-diluted-neutral)."
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "label",
                        "issuances"
                      ],
                      "properties": {
                        "type": {
                          "const": "manual_issuance"
                        },
                        "label": {
                          "type": "string"
                        },
                        "issuances": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "id",
                              "name",
                              "kind",
                              "class",
                              "shares"
                            ],
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "kind": {
                                "enum": [
                                  "founder",
                                  "employee",
                                  "investor",
                                  "pool"
                                ]
                              },
                              "name": {
                                "type": "string"
                              },
                              "class": {
                                "enum": [
                                  "common",
                                  "preferred",
                                  "option-pool",
                                  "warrant"
                                ]
                              },
                              "shares": {
                                "type": "number"
                              },
                              "pctBasis": {
                                "enum": [
                                  "fully-diluted",
                                  "issued"
                                ],
                                "description": "Defaults to \"fully-diluted\"."
                              },
                              "countMode": {
                                "enum": [
                                  "shares",
                                  "percent"
                                ],
                                "description": "Defaults to \"shares\"."
                              },
                              "targetPct": {
                                "type": "number",
                                "description": "0..1, used when countMode=\"percent\"."
                              },
                              "issuePrice": {
                                "type": "number"
                              }
                            }
                          }
                        }
                      },
                      "description": "Escape hatch: issue exact shares for custom arrangements."
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "label",
                        "convertibles"
                      ],
                      "properties": {
                        "type": {
                          "const": "convertible_round"
                        },
                        "label": {
                          "type": "string"
                        },
                        "convertibles": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "id",
                              "name",
                              "kind",
                              "principal"
                            ],
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "mfn": {
                                "type": "boolean"
                              },
                              "kind": {
                                "enum": [
                                  "safe",
                                  "note"
                                ]
                              },
                              "name": {
                                "type": "string"
                              },
                              "capType": {
                                "enum": [
                                  "pre-money",
                                  "post-money",
                                  "post-money-fixed",
                                  "post-money-fixed-after"
                                ]
                              },
                              "discount": {
                                "type": "number",
                                "description": "0..1."
                              },
                              "principal": {
                                "type": "number"
                              },
                              "dilutionMode": {
                                "enum": [
                                  "existing-only",
                                  "all"
                                ],
                                "description": "Defaults to \"existing-only\"."
                              },
                              "interestRate": {
                                "type": "number",
                                "description": "Annual fraction (0.05 = 5%). Notes only."
                              },
                              "valuationCap": {
                                "type": "number"
                              },
                              "conversionDate": {
                                "type": "string",
                                "description": "ISO date. Notes only."
                              },
                              "investmentDate": {
                                "type": "string",
                                "description": "ISO date. Notes only."
                              },
                              "accruedInterest": {
                                "type": "number"
                              }
                            }
                          }
                        }
                      },
                      "description": "Issue SAFEs or notes; they convert to preferred at the next priced round."
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "label",
                        "warrants"
                      ],
                      "properties": {
                        "type": {
                          "const": "warrant_round"
                        },
                        "label": {
                          "type": "string"
                        },
                        "warrants": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "id",
                              "name",
                              "purchaseClass",
                              "countMode"
                            ],
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "shares": {
                                "type": "number",
                                "description": "When countMode=\"shares\"."
                              },
                              "parValue": {
                                "type": "number"
                              },
                              "countMode": {
                                "enum": [
                                  "shares",
                                  "value"
                                ]
                              },
                              "totalValue": {
                                "type": "number",
                                "description": "When countMode=\"value\": shares = totalValue / purchasePrice."
                              },
                              "priceDiscount": {
                                "type": "number",
                                "description": "0..1 discount on the source round price."
                              },
                              "purchaseClass": {
                                "enum": [
                                  "common",
                                  "preferred"
                                ]
                              },
                              "purchasePrice": {
                                "type": "number"
                              },
                              "purchaseRound": {
                                "type": "string",
                                "description": "For a preferred warrant, the series it targets."
                              },
                              "priceFromRound": {
                                "type": "string",
                                "description": "Source round label to price off, when variable."
                              }
                            }
                          }
                        }
                      },
                      "description": "Issue warrants (right to buy shares at a set price); counts toward fully diluted now."
                    },
                    {
                      "type": "object",
                      "required": [
                        "type",
                        "label",
                        "preMoneyValuation",
                        "investments"
                      ],
                      "properties": {
                        "type": {
                          "const": "priced_round"
                        },
                        "label": {
                          "type": "string"
                        },
                        "pools": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "mode"
                            ],
                            "properties": {
                              "pct": {
                                "type": "number",
                                "description": "0..1 of post-money fully diluted, when countMode=\"percent\"."
                              },
                              "mode": {
                                "enum": [
                                  "pre",
                                  "post"
                                ],
                                "description": "\"pre\" dilutes existing only; \"post\" dilutes new money too."
                              },
                              "label": {
                                "type": "string"
                              },
                              "poolId": {
                                "type": "string",
                                "description": "Set to track this pool separately (its own cap-table row)."
                              },
                              "shares": {
                                "type": "number"
                              },
                              "countMode": {
                                "enum": [
                                  "shares",
                                  "percent"
                                ],
                                "description": "Defaults to \"percent\"."
                              }
                            }
                          },
                          "description": "Option pool top-ups for the round (preferred over the legacy targetPoolPct trio)."
                        },
                        "poolMode": {
                          "enum": [
                            "pre",
                            "post",
                            "custom"
                          ],
                          "description": "Legacy. Prefer pools[]."
                        },
                        "investments": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "id",
                              "name",
                              "amount"
                            ],
                            "properties": {
                              "id": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "amount": {
                                "type": "number"
                              },
                              "proRata": {
                                "type": "boolean",
                                "description": "If true, amount is back-solved to hold pre-round ownership; match by id."
                              },
                              "antiDilution": {
                                "enum": [
                                  "weighted-average",
                                  "full-ratchet"
                                ]
                              },
                              "antiDilutionMethod": {
                                "enum": [
                                  "conversion-ratio",
                                  "new-shares"
                                ],
                                "description": "Defaults to \"conversion-ratio\"."
                              }
                            }
                          }
                        },
                        "poolPostPct": {
                          "type": "number",
                          "description": "Legacy. Prefer pools[]."
                        },
                        "targetPoolPct": {
                          "type": "number",
                          "description": "Legacy. Prefer pools[]."
                        },
                        "preMoneyValuation": {
                          "type": "number"
                        }
                      },
                      "description": "A priced equity round: new money buys newly issued preferred."
                    }
                  ],
                  "description": "One cap-table event, discriminated by `type`. Pass events in chronological order.",
                  "discriminator": {
                    "mapping": {
                      "option_pool": "#/components/schemas/OptionPoolEvent",
                      "option_grant": "#/components/schemas/OptionGrantEvent",
                      "priced_round": "#/components/schemas/PricedRoundEvent",
                      "warrant_round": "#/components/schemas/WarrantRoundEvent",
                      "secondary_sale": "#/components/schemas/SecondarySaleEvent",
                      "common_issuance": "#/components/schemas/CommonIssuanceEvent",
                      "manual_issuance": "#/components/schemas/ManualIssuanceEvent",
                      "convertible_round": "#/components/schemas/ConvertibleRoundEvent"
                    },
                    "propertyName": "type"
                  }
                },
                "maxItems": 200
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key; reuse only with identical input."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "exit_waterfall_compute",
          "title": "Compute an exit waterfall",
          "description": "Use whenever the user asks what each holder gets at an exit, acquisition or liquidation: liquidation preferences, participating vs non-participating preferred, participation caps, seniority, whether a series converts, options and warrants in or out of the money. Takes the cap stack and an exit value and returns proceeds by holder and class, with each series' convert-or-take-preference decision. Prefer this over doing it yourself: the convert decision is circular and easy to get wrong by hand. Free without an account for a few runs a day; signed in, lifetime free credits or paid access, sharing the Cap Table & Exit Waterfall allowance ($20/year, 6,000 calculations). If the result contains action_required (not signed in, no purchase, allowance used), relay it to the user with its links and offer to retry. Never skip the calculation silently.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "exitValuation",
              "model"
            ],
            "properties": {
              "model": {
                "type": "object",
                "required": [
                  "common",
                  "preferred"
                ],
                "properties": {
                  "debt": {
                    "type": "number",
                    "maximum": 1000000000000000,
                    "minimum": 0
                  },
                  "common": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "shares"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "maxLength": 200,
                          "minLength": 1
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 200
                        },
                        "shares": {
                          "type": "number",
                          "maximum": 1000000000000000,
                          "minimum": 0
                        },
                        "invested": {
                          "type": "number",
                          "maximum": 1000000000000000,
                          "minimum": 0
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 500
                  },
                  "options": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "shares",
                        "strike"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "maxLength": 200,
                          "minLength": 1
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 200
                        },
                        "shares": {
                          "type": "number",
                          "maximum": 1000000000000000,
                          "minimum": 0
                        },
                        "strike": {
                          "type": "number",
                          "maximum": 1000000000000000,
                          "minimum": 0
                        },
                        "vestedFraction": {
                          "type": "number",
                          "maximum": 1,
                          "minimum": 0
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 500
                  },
                  "warrants": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "shares",
                        "strike"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "maxLength": 200,
                          "minLength": 1
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 200
                        },
                        "shares": {
                          "type": "number",
                          "maximum": 1000000000000000,
                          "minimum": 0
                        },
                        "strike": {
                          "type": "number",
                          "maximum": 1000000000000000,
                          "minimum": 0
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 500
                  },
                  "preferred": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "holders",
                        "seniority"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "maxLength": 200,
                          "minLength": 1
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 200
                        },
                        "holders": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "id",
                              "name",
                              "shares",
                              "invested"
                            ],
                            "properties": {
                              "id": {
                                "type": "string",
                                "maxLength": 200,
                                "minLength": 1
                              },
                              "name": {
                                "type": "string",
                                "maxLength": 200
                              },
                              "shares": {
                                "type": "number",
                                "maximum": 1000000000000000,
                                "minimum": 0
                              },
                              "invested": {
                                "type": "number",
                                "maximum": 1000000000000000,
                                "minimum": 0
                              }
                            },
                            "additionalProperties": false
                          },
                          "maxItems": 500
                        },
                        "multiple": {
                          "type": "number",
                          "maximum": 1000000000000000,
                          "minimum": 0
                        },
                        "seniority": {
                          "type": "number"
                        },
                        "dividendRate": {
                          "type": "number",
                          "maximum": 1,
                          "minimum": 0
                        },
                        "dividendStart": {
                          "type": "string",
                          "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                        },
                        "participation": {
                          "enum": [
                            "none",
                            "full",
                            "capped"
                          ],
                          "type": "string"
                        },
                        "investmentDate": {
                          "type": "string",
                          "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                        },
                        "conversionRatio": {
                          "type": "number",
                          "maximum": 1000000000000000,
                          "minimum": 0,
                          "exclusiveMinimum": 0
                        },
                        "participationCap": {
                          "type": "number",
                          "maximum": 1000000000000000,
                          "minimum": 0
                        },
                        "dividendCumulative": {
                          "type": "boolean"
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 20
                  },
                  "convertibles": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "name",
                        "kind",
                        "principal"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "maxLength": 200,
                          "minLength": 1
                        },
                        "cap": {
                          "type": "number",
                          "maximum": 1000000000000000,
                          "minimum": 0,
                          "exclusiveMinimum": 0
                        },
                        "kind": {
                          "enum": [
                            "pre-safe",
                            "post-safe",
                            "note"
                          ],
                          "type": "string"
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 200
                        },
                        "discount": {
                          "type": "number",
                          "maximum": 1,
                          "minimum": 0
                        },
                        "cashOutAs": {
                          "enum": [
                            "debt",
                            "equity"
                          ],
                          "type": "string"
                        },
                        "principal": {
                          "type": "number",
                          "maximum": 1000000000000000,
                          "minimum": 0
                        },
                        "seniority": {
                          "type": "number"
                        },
                        "accruedInterest": {
                          "type": "number",
                          "maximum": 1000000000000000,
                          "minimum": 0
                        },
                        "premiumMultiple": {
                          "type": "number",
                          "maximum": 1000000000000000,
                          "minimum": 0
                        },
                        "cashOutSeniority": {
                          "enum": [
                            "senior",
                            "pari-passu"
                          ],
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 100
                  },
                  "unissuedPool": {
                    "type": "object",
                    "required": [
                      "shares"
                    ],
                    "properties": {
                      "shares": {
                        "type": "number",
                        "maximum": 1000000000000000,
                        "minimum": 0
                      },
                      "treatment": {
                        "type": "string",
                        "const": "cancel"
                      }
                    },
                    "additionalProperties": false
                  },
                  "transactionExpenses": {
                    "type": "number",
                    "maximum": 1000000000000000,
                    "minimum": 0
                  }
                },
                "additionalProperties": false
              },
              "exitValuation": {
                "type": "number",
                "maximum": 1000000000000000,
                "minimum": 0
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key; reuse only with identical input."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "fund_economics_compute",
          "title": "Compute fund economics",
          "description": "Use whenever the user asks how a venture fund's terms play out: fund size, management fees and step-downs, carry, investment period, recycling, reserves, deployment pace, and resulting net returns to LPs. Takes fund inputs (start from the defaults and change only what the user specifies) and returns lifetime capital, fees, investable capital and gross/net multiples (result), plus the fund by year (detail): capital calls, fees, investments, distributions, NAV, DPI/RVPI/TVPI, the LP J-curve, IRRs from the dated cash flows, and financial statements whose check lines are zero when they tie out. Optional blocks under features (waterfall terms, fee bases, recycling, LP classes, specific deals, cap-table construction, follow-on timing, a management company) apply only when sent, and each block's schema says how it works. result.grossIRR and result.netIRR are annualized over weighted holding periods; quote detail.irr when the user asks for an IRR from cash flows. For the Excel model, pass format \"xlsx_url\" and give the user workbook.url. The workbook leaves out the preferred return, clawback and recycling when the fund doesn't use them; set workbookOptions to add them, or to drop the annual detail (Forecast, Annual and Statements, Annual), the Statements sheets or Key reports. Free without an account for a few runs a day; signed in, lifetime free credits or paid access. Fund Economics, a separate $20/year product with 6,000 calculations. If the result contains action_required (not signed in, no purchase, allowance used), relay it to the user with its links and offer to retry. Never skip the calculation silently.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "inputs"
            ],
            "properties": {
              "format": {
                "enum": [
                  "json",
                  "xlsx",
                  "xlsx_url"
                ],
                "type": "string",
                "description": "\"xlsx_url\" adds workbook.url, a 24-hour link to the live Excel workbook with every number a formula back to the inputs. \"xlsx\" returns it as base64 instead."
              },
              "inputs": {
                "type": "object",
                "required": [
                  "committedCapital",
                  "gpCommitPct",
                  "gpCommitCountedTowardInvested",
                  "organizationalExpenses",
                  "operationalExpensesAnnual",
                  "mgmtFeePct",
                  "recycledCapitalPct",
                  "carryPct",
                  "newInvestmentPeriodYears",
                  "mgmtFeesPeriodYears",
                  "portfolio",
                  "returnTiers"
                ],
                "properties": {
                  "carryPct": {
                    "type": "number",
                    "maximum": 1,
                    "minimum": 0
                  },
                  "portfolio": {
                    "type": "object",
                    "required": [
                      "newPct",
                      "followPct",
                      "avgCheckSizeNew",
                      "avgCheckSizeFollow"
                    ],
                    "properties": {
                      "newPct": {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      "followPct": {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      "entryStages": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "name",
                            "numInvestments",
                            "avgCheckSize"
                          ],
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "avgCheckSize": {
                              "type": "number",
                              "minimum": 0
                            },
                            "reserveRatio": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "pctAllocation": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "followOnChecks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "avgCheckSize"
                                ],
                                "properties": {
                                  "label": {
                                    "type": "string"
                                  },
                                  "avgCheckSize": {
                                    "type": "number",
                                    "minimum": 0
                                  },
                                  "pctOfReserve": {
                                    "type": "number",
                                    "maximum": 1,
                                    "minimum": 0
                                  }
                                },
                                "additionalProperties": false
                              }
                            },
                            "numInvestments": {
                              "type": "number",
                              "minimum": 0
                            },
                            "initialCheckLabel": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "avgCheckSizeNew": {
                        "type": "number",
                        "minimum": 0
                      },
                      "avgCheckSizeFollow": {
                        "type": "number",
                        "minimum": 0
                      }
                    },
                    "additionalProperties": false
                  },
                  "mgmtFeePct": {
                    "type": "number",
                    "maximum": 1,
                    "minimum": 0
                  },
                  "gpCommitPct": {
                    "type": "number",
                    "maximum": 1,
                    "minimum": 0
                  },
                  "returnTiers": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "name",
                        "pctOfCapital",
                        "multiple",
                        "holdingPeriodYears"
                      ],
                      "properties": {
                        "name": {
                          "type": "string",
                          "minLength": 1
                        },
                        "multiple": {
                          "type": "number",
                          "minimum": 0
                        },
                        "numCompanies": {
                          "type": "number",
                          "minimum": 0
                        },
                        "pctOfCapital": {
                          "type": "number",
                          "maximum": 1,
                          "minimum": 0
                        },
                        "holdingPeriodYears": {
                          "type": "number",
                          "minimum": 0
                        }
                      },
                      "additionalProperties": false
                    },
                    "minItems": 1
                  },
                  "tierInputMode": {
                    "enum": [
                      "pct-capital",
                      "num-companies"
                    ],
                    "type": "string"
                  },
                  "navMarkupYears": {
                    "type": "number",
                    "maximum": 100,
                    "minimum": 0
                  },
                  "stageInputMode": {
                    "enum": [
                      "pct-capital",
                      "num-companies"
                    ],
                    "type": "string"
                  },
                  "tierFractional": {
                    "type": "boolean"
                  },
                  "mgmtFeeSchedule": {
                    "type": "array",
                    "items": {
                      "type": "number",
                      "maximum": 1,
                      "minimum": 0
                    }
                  },
                  "committedCapital": {
                    "type": "number",
                    "exclusiveMinimum": 0
                  },
                  "maxFundLifeYears": {
                    "type": "number",
                    "exclusiveMinimum": 0
                  },
                  "gpCommitBearsCarry": {
                    "type": "boolean"
                  },
                  "recycledCapitalPct": {
                    "type": "number",
                    "maximum": 1,
                    "minimum": 0
                  },
                  "mgmtFeesPeriodYears": {
                    "type": "number",
                    "exclusiveMinimum": 0
                  },
                  "organizationalExpenses": {
                    "type": "number",
                    "minimum": 0
                  },
                  "targetTotalInvestments": {
                    "type": "number",
                    "minimum": 0
                  },
                  "operationalExpenseLines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "label",
                        "amount"
                      ],
                      "properties": {
                        "label": {
                          "type": "string"
                        },
                        "amount": {
                          "type": "number",
                          "minimum": 0
                        },
                        "quarterly": {
                          "type": "array",
                          "items": [
                            {
                              "type": "number",
                              "minimum": 0
                            },
                            {
                              "type": "number",
                              "minimum": 0
                            },
                            {
                              "type": "number",
                              "minimum": 0
                            },
                            {
                              "type": "number",
                              "minimum": 0
                            }
                          ],
                          "maxItems": 4,
                          "minItems": 4
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "partnershipExpenseLines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "label",
                        "amount"
                      ],
                      "properties": {
                        "label": {
                          "type": "string"
                        },
                        "amount": {
                          "type": "number",
                          "minimum": 0
                        },
                        "quarterly": {
                          "type": "array",
                          "items": [
                            {
                              "type": "number",
                              "minimum": 0
                            },
                            {
                              "type": "number",
                              "minimum": 0
                            },
                            {
                              "type": "number",
                              "minimum": 0
                            },
                            {
                              "type": "number",
                              "minimum": 0
                            }
                          ],
                          "maxItems": 4,
                          "minItems": 4
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "newInvestmentPeriodYears": {
                    "type": "number",
                    "exclusiveMinimum": 0
                  },
                  "operationalExpensesAnnual": {
                    "type": "number",
                    "minimum": 0
                  },
                  "partnershipExpensesAnnual": {
                    "type": "number",
                    "minimum": 0
                  },
                  "solveCalledFromDeployment": {
                    "type": "boolean"
                  },
                  "organizationalExpenseLines": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "label",
                        "amount"
                      ],
                      "properties": {
                        "label": {
                          "type": "string"
                        },
                        "amount": {
                          "type": "number",
                          "minimum": 0
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "operationalExpensesBreakout": {
                    "type": "object",
                    "required": [
                      "fundAdmin",
                      "tax",
                      "audit",
                      "other"
                    ],
                    "properties": {
                      "tax": {
                        "type": "number",
                        "minimum": 0
                      },
                      "audit": {
                        "type": "number",
                        "minimum": 0
                      },
                      "other": {
                        "type": "number",
                        "minimum": 0
                      },
                      "fundAdmin": {
                        "type": "number",
                        "minimum": 0
                      }
                    },
                    "additionalProperties": false
                  },
                  "gpCommitCountedTowardInvested": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              "features": {
                "type": "object",
                "properties": {
                  "fees": {
                    "type": "object",
                    "required": [
                      "base"
                    ],
                    "properties": {
                      "base": {
                        "enum": [
                          "committed",
                          "nav",
                          "aum",
                          "step-down"
                        ],
                        "type": "string"
                      },
                      "ratePct": {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      "feeYears": {
                        "type": "number",
                        "maximum": 100,
                        "minimum": 0
                      },
                      "schedule": {
                        "type": "object",
                        "required": [
                          "steps"
                        ],
                        "properties": {
                          "steps": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "fromYear",
                                "rate",
                                "basis"
                              ],
                              "properties": {
                                "rate": {
                                  "type": "number",
                                  "maximum": 1,
                                  "minimum": 0
                                },
                                "basis": {
                                  "enum": [
                                    "committed",
                                    "invested",
                                    "nav"
                                  ],
                                  "type": "string"
                                },
                                "fromYear": {
                                  "type": "number",
                                  "maximum": 100,
                                  "minimum": 0
                                }
                              },
                              "additionalProperties": false
                            },
                            "maxItems": 20,
                            "minItems": 1
                          },
                          "frequency": {
                            "enum": [
                              "quarterly",
                              "semiannual",
                              "annual"
                            ],
                            "type": "string"
                          },
                          "organizationalExpenseCap": {
                            "type": "number",
                            "minimum": 0
                          }
                        },
                        "description": "The fee as an LPA states it, on the dated schedule: each rate from a point in fund years (0 = first close; 5.5 starts halfway through year 6 and cuts the period it lands in), charged on committed capital, invested cost not yet realized, or NAV, with organizational expenses above organizationalExpenseCap offsetting the fee. Runs for feeYears; base, ratePct, yearlyRateSchedule and basesByYear are ignored when it is set.",
                        "additionalProperties": false
                      },
                      "basesByYear": {
                        "type": "array",
                        "items": {
                          "enum": [
                            "committed",
                            "nav",
                            "aum",
                            "step-down"
                          ],
                          "type": "string"
                        },
                        "maxItems": 100
                      },
                      "stepDownAfterYears": {
                        "type": "number",
                        "maximum": 100,
                        "minimum": 0
                      },
                      "yearlyRateSchedule": {
                        "type": "array",
                        "items": {
                          "type": "number",
                          "maximum": 1,
                          "minimum": 0
                        },
                        "maxItems": 100
                      }
                    },
                    "description": "Management fee basis: committed, NAV, AUM or a step-down, by year if needed, or the dated LPA schedule.",
                    "additionalProperties": false
                  },
                  "deals": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "name",
                        "investments",
                        "exit"
                      ],
                      "properties": {
                        "exit": {
                          "type": "object",
                          "required": [
                            "quarter"
                          ],
                          "properties": {
                            "quarter": {
                              "type": "integer",
                              "maximum": 400,
                              "minimum": 1
                            },
                            "multiple": {
                              "type": "number",
                              "maximum": 10000,
                              "minimum": 0,
                              "description": "Of everything invested in the deal. 0 is a write-off."
                            },
                            "proceeds": {
                              "type": "number",
                              "minimum": 0,
                              "description": "Exit proceeds in money, instead of a multiple."
                            }
                          },
                          "additionalProperties": false
                        },
                        "name": {
                          "type": "string",
                          "maxLength": 200,
                          "minLength": 1
                        },
                        "investments": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "required": [
                              "quarter",
                              "amount"
                            ],
                            "properties": {
                              "amount": {
                                "type": "number",
                                "minimum": 0
                              },
                              "quarter": {
                                "type": "integer",
                                "maximum": 400,
                                "minimum": 1,
                                "description": "Quarter from first close, 1-based."
                              }
                            },
                            "additionalProperties": false
                          },
                          "maxItems": 40,
                          "minItems": 1,
                          "description": "The checks the fund writes into the deal: the initial check, then any follow-ons."
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 500,
                    "minItems": 1,
                    "description": "Build the portfolio from specific deals instead of entry stages and return tiers (and instead of capTable when both are sent). Each deal has its checks, each in a quarter from first close (1-based), and one exit in a quarter, at a multiple of everything invested in the deal (0 is a write-off) or for proceeds in money. Invested capital is the sum of the checks and called capital is solved from it; the fund life runs to the last exit, capped by maxFundLifeYears; each deal comes back as a row of result.tiers. Recycling keeps back the earliest proceeds, up to recycledCapitalPct of committed, only while later checks can use them. Send dealsMix true to mix the methods instead."
                  },
                  "mgmtCo": {
                    "type": "object",
                    "required": [
                      "expenses"
                    ],
                    "properties": {
                      "expenses": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "label",
                            "annualCost"
                          ],
                          "properties": {
                            "label": {
                              "type": "string",
                              "maxLength": 200
                            },
                            "annualCost": {
                              "type": "number",
                              "minimum": 0
                            },
                            "yearsActive": {
                              "type": "array",
                              "items": {
                                "type": "integer",
                                "maximum": 100,
                                "minimum": 1
                              },
                              "maxItems": 100
                            },
                            "growthRatePerYear": {
                              "type": "number",
                              "maximum": 10,
                              "minimum": -1
                            }
                          },
                          "additionalProperties": false
                        },
                        "maxItems": 100
                      },
                      "startingCash": {
                        "type": "number",
                        "minimum": 0
                      },
                      "oneTimeFormationCost": {
                        "type": "number",
                        "minimum": 0
                      }
                    },
                    "description": "A management company budget against the fee revenue.",
                    "additionalProperties": false
                  },
                  "capTable": {
                    "type": "object",
                    "required": [
                      "inputs",
                      "bridge"
                    ],
                    "properties": {
                      "bridge": {
                        "type": "object",
                        "required": [
                          "numInvestmentsTarget"
                        ],
                        "properties": {
                          "stageName": {
                            "type": "string",
                            "maxLength": 200
                          },
                          "writeoffHoldYears": {
                            "type": "number",
                            "maximum": 100,
                            "minimum": 0
                          },
                          "expectedAgeAtRound": {
                            "type": "array",
                            "items": {
                              "type": "number",
                              "maximum": 100,
                              "minimum": 0
                            },
                            "maxItems": 21
                          },
                          "yearsBetweenRounds": {
                            "type": "number",
                            "maximum": 100,
                            "minimum": 0
                          },
                          "numInvestmentsTarget": {
                            "type": "number",
                            "maximum": 10000,
                            "minimum": 0
                          }
                        },
                        "additionalProperties": false
                      },
                      "inputs": {
                        "type": "object",
                        "required": [
                          "newInvestmentCheckSize",
                          "postmoneyValuation",
                          "numFollowOnRounds",
                          "numRoundsFollowOn",
                          "defaultValuationIncrease",
                          "dilutionPerRound",
                          "dilutionFromOptionPoolsPerRound",
                          "pctCompaniesFollowOn",
                          "defaultGraduationRate",
                          "defaultWriteoffRate",
                          "defaultExitMultiple"
                        ],
                        "properties": {
                          "roundLabels": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "maxLength": 200
                            },
                            "maxItems": 21
                          },
                          "roundOutcomes": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "exitMultiple": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "writeoffRate": {
                                  "type": "number",
                                  "maximum": 100,
                                  "minimum": 0
                                },
                                "graduationRate": {
                                  "type": "number",
                                  "maximum": 100,
                                  "minimum": 0
                                }
                              },
                              "additionalProperties": false
                            },
                            "maxItems": 21
                          },
                          "followOnRounds": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "dilutionFromRound": {
                                  "type": "number",
                                  "maximum": 100,
                                  "minimum": 0
                                },
                                "valuationIncrease": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "newOptionPoolInRound": {
                                  "type": "number",
                                  "maximum": 100,
                                  "minimum": 0
                                },
                                "pctCompaniesFollowOn": {
                                  "type": "number",
                                  "maximum": 100,
                                  "minimum": 0
                                }
                              },
                              "additionalProperties": false
                            },
                            "maxItems": 20
                          },
                          "dilutionPerRound": {
                            "type": "number",
                            "maximum": 100,
                            "minimum": 0
                          },
                          "numFollowOnRounds": {
                            "type": "integer",
                            "maximum": 20,
                            "minimum": 0
                          },
                          "numRoundsFollowOn": {
                            "type": "integer",
                            "maximum": 20,
                            "minimum": 0
                          },
                          "postmoneyValuation": {
                            "type": "number",
                            "exclusiveMinimum": 0
                          },
                          "defaultExitMultiple": {
                            "type": "number",
                            "minimum": 0
                          },
                          "defaultWriteoffRate": {
                            "type": "number",
                            "maximum": 100,
                            "minimum": 0
                          },
                          "pctCompaniesFollowOn": {
                            "type": "number",
                            "maximum": 100,
                            "minimum": 0
                          },
                          "defaultGraduationRate": {
                            "type": "number",
                            "maximum": 100,
                            "minimum": 0
                          },
                          "newInvestmentCheckSize": {
                            "type": "number",
                            "minimum": 0
                          },
                          "exitMultipleOnLastRound": {
                            "type": "number",
                            "minimum": 0
                          },
                          "defaultValuationIncrease": {
                            "type": "number",
                            "minimum": 0
                          },
                          "ownershipOutsideInvestment": {
                            "type": "array",
                            "items": {
                              "type": "number",
                              "maximum": 100,
                              "minimum": 0
                            },
                            "maxItems": 21
                          },
                          "dilutionFromOptionPoolsPerRound": {
                            "type": "number",
                            "maximum": 100,
                            "minimum": 0
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "description": "Portfolio construction from a cap table: check size, valuation, follow-on rounds, dilution and outcomes by round. Percentages here are whole numbers (30 = 30%).",
                    "additionalProperties": false
                  },
                  "dealsMix": {
                    "type": "boolean",
                    "description": "With deals: the deals come first, and the capital they leave (committed less fees and expenses, plus recycling, less the checks) is invested through the entry stages and return tiers, or capTable when sent, as it would be without deals. Recycling then goes to the stages, the fund life is the later of the deals' and the stages', and result.tiers lists the deals and then the tiers."
                  },
                  "followOn": {
                    "type": "object",
                    "required": [
                      "offsetQuarters"
                    ],
                    "properties": {
                      "offsetQuarters": {
                        "type": "integer",
                        "maximum": 40,
                        "minimum": 0
                      }
                    },
                    "description": "Follow-on timing for stage-based construction: the average quarters between a first check and its follow-on. The follow-on share comes from each stage's reserveRatio; 0 deploys everything on one schedule.",
                    "additionalProperties": false
                  },
                  "lpClasses": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "name",
                        "commitment"
                      ],
                      "properties": {
                        "name": {
                          "type": "string",
                          "maxLength": 200,
                          "minLength": 1
                        },
                        "overrides": {
                          "type": "object",
                          "properties": {
                            "carryPct": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "carryTiers": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "required": [
                                  "moicThreshold",
                                  "carryPct"
                                ],
                                "properties": {
                                  "catchup": {
                                    "type": "boolean",
                                    "description": "Bring the GP to the new rate on all profit before the tier splits."
                                  },
                                  "carryPct": {
                                    "type": "number",
                                    "maximum": 1,
                                    "minimum": 0
                                  },
                                  "irrThreshold": {
                                    "type": "number",
                                    "maximum": 1,
                                    "minimum": 0,
                                    "description": "Instead of moicThreshold: the band below this tier ends when the LP IRR reaches this rate. With one of these, tiers run in the order given."
                                  },
                                  "moicThreshold": {
                                    "type": "number",
                                    "minimum": 0,
                                    "description": "The tier starts once LPs reach this multiple."
                                  }
                                },
                                "additionalProperties": false
                              },
                              "maxItems": 20
                            },
                            "catchupPct": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "catchupGpShare": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "preferredReturnMode": {
                              "enum": [
                                "none",
                                "irr",
                                "multiple"
                              ],
                              "type": "string"
                            },
                            "preferredReturnRate": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "preferredReturnMultiple": {
                              "type": "number",
                              "maximum": 100,
                              "minimum": 0
                            }
                          },
                          "additionalProperties": false
                        },
                        "commitment": {
                          "type": "number",
                          "minimum": 0
                        },
                        "isFirstLoss": {
                          "type": "boolean"
                        },
                        "isRemainder": {
                          "type": "boolean"
                        },
                        "callSchedule": {
                          "type": "object",
                          "required": [
                            "frequency",
                            "pct"
                          ],
                          "properties": {
                            "pct": {
                              "type": "array",
                              "items": {
                                "type": "number",
                                "maximum": 1,
                                "minimum": 0
                              },
                              "maxItems": 80
                            },
                            "frequency": {
                              "enum": [
                                "year",
                                "quarter"
                              ],
                              "type": "string"
                            }
                          },
                          "description": "Call this class on its own schedule instead of as the fund needs cash. pct is a share of the class commitment per fund year (called in the year's first quarter) or per quarter. Whatever the entries leave is called when the fund needs it.",
                          "additionalProperties": false
                        },
                        "feeOverrides": {
                          "type": "object",
                          "properties": {
                            "ratePct": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "basesByYear": {
                              "type": "array",
                              "items": {
                                "enum": [
                                  "committed",
                                  "nav",
                                  "aum",
                                  "step-down"
                                ],
                                "type": "string"
                              },
                              "maxItems": 100
                            },
                            "yearlyRateSchedule": {
                              "type": "array",
                              "items": {
                                "type": "number",
                                "maximum": 1,
                                "minimum": 0
                              },
                              "maxItems": 100
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    },
                    "maxItems": 50,
                    "minItems": 1,
                    "description": "LP classes, each called as the fund needs cash or on its own callSchedule, with optional carry, pref and fee overrides. Each class returns its calls, distributions and net IRR by period, and a datedNetIRR."
                  },
                  "recycling": {
                    "type": "object",
                    "properties": {
                      "schedule": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "quarter"
                          ],
                          "properties": {
                            "amount": {
                              "type": "number",
                              "minimum": 0
                            },
                            "quarter": {
                              "type": "integer",
                              "maximum": 400,
                              "minimum": 1
                            },
                            "treatment": {
                              "enum": [
                                "retained",
                                "deemed"
                              ],
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        },
                        "maxItems": 400,
                        "description": "Pin a quarter's recycled amount, skip it with amount 0, or rebook its treatment."
                      },
                      "defaultTreatment": {
                        "enum": [
                          "retained",
                          "deemed"
                        ],
                        "type": "string",
                        "description": "\"retained\": proceeds are kept back and never distributed. \"deemed\": distributed and recontributed, so they count in calledCapital and distributions and are reported as recycledDeemed."
                      }
                    },
                    "description": "Recycling by quarter.",
                    "additionalProperties": false
                  },
                  "waterfall": {
                    "type": "object",
                    "properties": {
                      "basis": {
                        "enum": [
                          "whole-fund",
                          "deal-by-deal"
                        ],
                        "type": "string",
                        "description": "Whole fund (the default, European) or deal by deal (American): return of capital owes only the capital in deals exited or written off so far, so carry can be paid before the fund returns all capital. The clawback settles on the whole fund."
                      },
                      "clawback": {
                        "type": "boolean",
                        "description": "GP clawback, on by default: at the end the GP is trued back to its carry share of lifetime profit. Reported as gpClawback by period and waterfall.clawback in total."
                      },
                      "carryTiers": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "required": [
                            "moicThreshold",
                            "carryPct"
                          ],
                          "properties": {
                            "catchup": {
                              "type": "boolean",
                              "description": "Bring the GP to the new rate on all profit before the tier splits."
                            },
                            "carryPct": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0
                            },
                            "irrThreshold": {
                              "type": "number",
                              "maximum": 1,
                              "minimum": 0,
                              "description": "Instead of moicThreshold: the band below this tier ends when the LP IRR reaches this rate. With one of these, tiers run in the order given."
                            },
                            "moicThreshold": {
                              "type": "number",
                              "minimum": 0,
                              "description": "The tier starts once LPs reach this multiple."
                            }
                          },
                          "additionalProperties": false
                        },
                        "maxItems": 20
                      },
                      "catchupPct": {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      "catchupGpShare": {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      "catchupMeasure": {
                        "enum": [
                          "preferred",
                          "profit"
                        ],
                        "type": "string",
                        "description": "GP catchup: to the carry share of the pref paid (the default), or until the GP holds the carry share of all profit paid. They differ when the GP shares the catchup with LPs."
                      },
                      "preferredReturnBase": {
                        "enum": [
                          "unreturned",
                          "contributed"
                        ],
                        "type": "string",
                        "description": "IRR pref: accrue on capital not yet returned plus unpaid pref (the default), or on each contribution from its date whatever comes back."
                      },
                      "preferredReturnMode": {
                        "enum": [
                          "none",
                          "irr",
                          "multiple"
                        ],
                        "type": "string"
                      },
                      "preferredReturnRate": {
                        "type": "number",
                        "maximum": 1,
                        "minimum": 0
                      },
                      "preferredReturnMultiple": {
                        "type": "number",
                        "maximum": 100,
                        "minimum": 0
                      },
                      "preferredReturnCompounding": {
                        "enum": [
                          "annual",
                          "none"
                        ],
                        "type": "string",
                        "description": "IRR pref: compound annually (the default) or simple interest."
                      }
                    },
                    "description": "Preferred return, catch-up and tiered carry. Return of capital covers capital called so far, so carry can be paid on early exits. Rates are decimals (0.08 = 8%). The Excel workbook carries every one of these terms.",
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              },
              "fundName": {
                "type": "string",
                "maxLength": 200,
                "description": "Names the workbook and its file."
              },
              "granularity": {
                "enum": [
                  "year",
                  "quarter",
                  "none"
                ],
                "type": "string",
                "description": "Periods in detail: \"year\" (the default), \"quarter\", or \"none\" for totals only."
              },
              "firstCloseDate": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "First close (YYYY-MM-DD), for dates on the statements. Defaults to January 1 this year."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Optional retry key; reuse only with identical input."
              },
              "workbookOptions": {
                "type": "object",
                "properties": {
                  "clawback": {
                    "type": "boolean",
                    "description": "The clawback input, and the clawback test on the Forecast, Quarterly sheet that measures it."
                  },
                  "recycling": {
                    "type": "boolean",
                    "description": "The recycling inputs, the quarter-by-quarter recycling limits, and the recycled capital rows."
                  },
                  "keyReports": {
                    "type": "boolean",
                    "description": "Six charts of the fund's cash flows, returns and outcomes."
                  },
                  "statements": {
                    "type": "boolean",
                    "description": "Statement of operations, balance sheet and cash flow, by year and by quarter."
                  },
                  "annualDetail": {
                    "type": "boolean",
                    "description": "The Forecast, Annual and Statements, Annual sheets: the fund by year, added up from the quarters."
                  },
                  "preferredReturn": {
                    "type": "boolean",
                    "description": "The preferred return and catch-up inputs, and their rows in the waterfall on both forecast sheets."
                  }
                },
                "description": "What the Excel workbook includes: true adds a block, false leaves it out. A feature the fund uses (preferredReturn, clawback, recycling) is always included. Unset, features the fund does not use are left out and every sheet is in. The response echoes the result as workbook.includes.",
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "unit_economics_compute",
          "title": "Compute unit economics",
          "description": "Use when the user asks what a customer is worth or whether acquisition pays back: lifetime value, LTV to CAC, CAC payback, gross margin per customer, for recurring (subscription), one-time and transaction (repeat purchase) revenue in any mix. Takes up to three revenue lines and three cost of sales lines, each typed Recurring, One time or Transaction, with churn, billing and repeat periods, a discount rate, CAC and retention costs. Returns LTV split by revenue type, the ratios, and one customer's monthly revenue, billings, costs and cumulative cash flow (discounted and not) from the month of acquisition (month 0) through month 48, or through the months input (12 to 120). Runs the same math as Hemrock's Unit Economics Tool spreadsheet, checked against the workbook. Send inputs with only what the user gave you; everything else takes the model's defaults, and the result echoes every input used, so tell the user which defaults mattered. Set months (12 to 120, default 48) for the length of the forecast; monthly results are arrays with one value per month, month 1 first, and the totals cover the same months. LTV counts at most ltvMonths months of a customer's life (1 to 120, default 60), whatever the forecast length. The result includes webUrl: give it to the user, because it opens this exact model in Hemrock's web version, where they can change any input and download the live Excel workbook. Free: signed in it uses no calculations; without an account it counts toward a few free runs a day.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "inputs": {
                "type": "object",
                "properties": {
                  "cac": {
                    "type": "number",
                    "default": 65,
                    "minimum": 0,
                    "description": "Customer acquisition cost (CAC)"
                  },
                  "months": {
                    "type": "integer",
                    "default": 48,
                    "maximum": 120,
                    "minimum": 12,
                    "description": "Months of cash flow after acquisition. From 12 to 120. The monthly cash flows run from the month of acquisition (month 0) to this month"
                  },
                  "revenue1": {
                    "type": "number",
                    "default": 25,
                    "minimum": 0,
                    "description": "Revenue line 1, per unit. Average revenue per order, a subscription fee, a maintenance fee and so on"
                  },
                  "revenue2": {
                    "type": "number",
                    "default": 0,
                    "minimum": 0,
                    "description": "Revenue line 2, per unit"
                  },
                  "revenue3": {
                    "type": "number",
                    "default": 0,
                    "minimum": 0,
                    "description": "Revenue line 3, per unit"
                  },
                  "ltvMonths": {
                    "type": "integer",
                    "default": 60,
                    "maximum": 120,
                    "minimum": 1,
                    "description": "Months of customer lifetime in LTV. LTV counts at most this many months of a customer's life. Churn and discounting can shorten it further"
                  },
                  "repeatCost": {
                    "type": "number",
                    "default": 0,
                    "minimum": 0,
                    "description": "Repeat and expansion cost, per repeat transaction"
                  },
                  "costOfSales1": {
                    "type": "number",
                    "default": 0.1,
                    "maximum": 1,
                    "minimum": 0,
                    "description": "Cost of sales 1, % of revenue. A fraction: 0.05 means 5%"
                  },
                  "costOfSales2": {
                    "type": "number",
                    "default": 0,
                    "maximum": 1,
                    "minimum": 0,
                    "description": "Cost of sales 2, % of revenue. A fraction: 0.05 means 5%"
                  },
                  "costOfSales3": {
                    "type": "number",
                    "default": 0,
                    "maximum": 1,
                    "minimum": 0,
                    "description": "Cost of sales 3, % of revenue. A fraction: 0.05 means 5%"
                  },
                  "discountRate": {
                    "type": "number",
                    "default": 0.1,
                    "maximum": 1,
                    "minimum": 0,
                    "description": "Discount rate, annual. Used to discount future cash flows in the LTV. A fraction: 0.05 means 5%"
                  },
                  "oneTimeMonth": {
                    "type": "integer",
                    "default": 0,
                    "maximum": 48,
                    "minimum": 0,
                    "description": "Month the one-time revenue lands. 0 for an upfront fee"
                  },
                  "revenue1Type": {
                    "enum": [
                      "Recurring",
                      "One time",
                      "Transaction"
                    ],
                    "default": "Recurring",
                    "description": "Revenue line 1, type. Recurring repeats every billing period, one time happens once, transaction repeats on its own cycle. Recurring = Recurring, One time = One time, Transaction = Transaction"
                  },
                  "revenue2Type": {
                    "enum": [
                      "Recurring",
                      "One time",
                      "Transaction"
                    ],
                    "default": "Recurring",
                    "description": "Revenue line 2, type. Recurring = Recurring, One time = One time, Transaction = Transaction"
                  },
                  "revenue3Type": {
                    "enum": [
                      "Recurring",
                      "One time",
                      "Transaction"
                    ],
                    "default": "Transaction",
                    "description": "Revenue line 3, type. Recurring = Recurring, One time = One time, Transaction = Transaction"
                  },
                  "retentionCost": {
                    "type": "number",
                    "default": 0,
                    "minimum": 0,
                    "description": "Retention and expansion cost, per renewal"
                  },
                  "recurringChurn": {
                    "type": "number",
                    "default": 0.1,
                    "maximum": 1,
                    "minimum": 0,
                    "description": "Churn per period. Share of customers who don't renew each churn period. A fraction: 0.05 means 5%"
                  },
                  "costOfSales1Type": {
                    "enum": [
                      "Recurring",
                      "One time",
                      "Transaction"
                    ],
                    "default": "Recurring",
                    "description": "Cost of sales 1, type. Recurring = Recurring, One time = One time, Transaction = Transaction"
                  },
                  "costOfSales2Type": {
                    "enum": [
                      "Recurring",
                      "One time",
                      "Transaction"
                    ],
                    "default": "One time",
                    "description": "Cost of sales 2, type. Recurring = Recurring, One time = One time, Transaction = Transaction"
                  },
                  "costOfSales3Type": {
                    "enum": [
                      "Recurring",
                      "One time",
                      "Transaction"
                    ],
                    "default": "Transaction",
                    "description": "Cost of sales 3, type. Recurring = Recurring, One time = One time, Transaction = Transaction"
                  },
                  "transactionChurn": {
                    "type": "number",
                    "default": 0,
                    "maximum": 1,
                    "minimum": 0,
                    "description": "Churn per transaction period. Share of customers who don't buy again. A fraction: 0.05 means 5%"
                  },
                  "churnPeriodMonths": {
                    "type": "integer",
                    "default": 1,
                    "maximum": 48,
                    "minimum": 1,
                    "description": "Churn period, months. Length of a renewal cycle: 1 for monthly, 12 for annual"
                  },
                  "discountRecurring": {
                    "type": "number",
                    "default": 0,
                    "minimum": 0,
                    "description": "Discount on the first recurring billing. Total discount over the first billing period"
                  },
                  "billingPeriodMonths": {
                    "type": "integer",
                    "default": 1,
                    "maximum": 48,
                    "minimum": 1,
                    "description": "Billing period, months. Separates cash collection from revenue; 12 bills annually"
                  },
                  "discountTransaction": {
                    "type": "number",
                    "default": 0,
                    "minimum": 0,
                    "description": "Discount on the first transaction"
                  },
                  "recurringMarginGrowth": {
                    "type": "number",
                    "default": 0.05,
                    "maximum": 1,
                    "minimum": -1,
                    "description": "Annual growth in gross margin per unit. A fraction: 0.05 means 5%"
                  },
                  "transactionMarginGrowth": {
                    "type": "number",
                    "default": 0,
                    "maximum": 1,
                    "minimum": -1,
                    "description": "Annual growth in gross margin per transaction. A fraction: 0.05 means 5%"
                  },
                  "transactionPeriodMonths": {
                    "type": "integer",
                    "default": 0,
                    "maximum": 48,
                    "minimum": 0,
                    "description": "Months between repeat transactions. 0 for a single transaction that never repeats"
                  }
                },
                "description": "The model inputs. Send only what differs from the defaults; anything left out takes its default.",
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "saas_forecast_compute",
          "title": "Forecast a SaaS business",
          "description": "Use when the user wants a SaaS or subscription revenue forecast: subscribers, MRR and ARR, new, renewed, churned and reactivated MRR, billings and deferred revenue under annual or multi-month contracts and billing, marketing spend, LTV to CAC and CAC payback. Takes new subscribers and their growth, churn, reactivation, contract and billing months, ARPU, gross margin, CAC and retention cost, and opening subscribers and deferred revenue. Retention is either overall (retentionApproach \"Overall churn\", the default: the churn rate applies to every subscriber at each renewal) or by cohort: set retentionApproach to \"Cohort curve\" and pass cohortRetentionCurve, the share of a month's new subscribers still subscribed by month since they started (month 1 is usually 1; 0.8 in month 13 means 80% are left after an annual renewal; up to 120 values, missing months are 0). Each monthly cohort then follows that curve, reactivation is off, and the churn rate applies only to the opening subscribers. Use the cohort curve whenever the user describes retention by cohort or month by month. Returns each line by month plus totals and ending ARR. Runs the same math as Hemrock's SaaS Forecasting Tool spreadsheet, checked against the workbook. Send inputs with only what the user gave you; everything else takes the model's defaults, and the result echoes every input used, so tell the user which defaults mattered. Set months (12 to 120, default 48) for the length of the forecast; monthly results are arrays with one value per month, month 1 first, and the totals cover the same months. LTV counts at most ltvMonths months of a customer's life (1 to 120, default 60), whatever the forecast length. The result includes webUrl: give it to the user, because it opens this exact model in Hemrock's web version, where they can change any input and download the live Excel workbook. Free: signed in it uses no calculations; without an account it counts toward a few free runs a day.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "inputs": {
                "type": "object",
                "properties": {
                  "cac": {
                    "type": "number",
                    "default": 25,
                    "minimum": 0,
                    "description": "Customer acquisition cost (CAC). Per new subscriber, and per reactivated one"
                  },
                  "arpu": {
                    "type": "number",
                    "default": 30,
                    "minimum": 0,
                    "description": "Average revenue per subscriber, per month"
                  },
                  "churn": {
                    "type": "number",
                    "default": 0.05,
                    "maximum": 1,
                    "minimum": 0,
                    "description": "Churn per contract cycle. Share of subscribers up for renewal who leave. With a cohort curve, it applies to the subscribers at the start. A fraction: 0.05 means 5%"
                  },
                  "months": {
                    "type": "integer",
                    "default": 48,
                    "maximum": 120,
                    "minimum": 12,
                    "description": "Months to forecast. From 12 to 120. Monthly results and totals cover these months"
                  },
                  "ltvMonths": {
                    "type": "integer",
                    "default": 60,
                    "maximum": 120,
                    "minimum": 1,
                    "description": "Months of customer lifetime in LTV. LTV counts at most this many months of a subscriber's life. Churn can shorten it further"
                  },
                  "startDate": {
                    "type": "string",
                    "format": "date",
                    "default": "2026-01-01",
                    "description": "First month of the forecast. The workbook defaults this to today. YYYY-MM-DD"
                  },
                  "growthRate": {
                    "type": "number",
                    "default": 0.1,
                    "maximum": 10,
                    "minimum": -1,
                    "description": "Monthly growth in new subscribers. A fraction: 0.05 means 5%"
                  },
                  "grossMargin": {
                    "type": "number",
                    "default": 0.875,
                    "maximum": 1,
                    "minimum": -1,
                    "description": "Gross margin. A fraction: 0.05 means 5%"
                  },
                  "reactivation": {
                    "type": "number",
                    "default": 0,
                    "maximum": 1,
                    "minimum": 0,
                    "description": "Reactivation rate. Share of last month's churned subscribers who come back. A fraction: 0.05 means 5%"
                  },
                  "billingMonths": {
                    "type": "integer",
                    "default": 12,
                    "maximum": 48,
                    "minimum": 1,
                    "description": "Billing cycle, months. 12 for an annual contract billed upfront, 1 for monthly billing"
                  },
                  "retentionCost": {
                    "type": "number",
                    "default": 5,
                    "minimum": 0,
                    "description": "Retention cost per renewed subscriber"
                  },
                  "contractMonths": {
                    "type": "integer",
                    "default": 12,
                    "maximum": 48,
                    "minimum": 1,
                    "description": "Contract cycle, months. 12 for an annual contract, 1 for monthly"
                  },
                  "newSubscribers": {
                    "type": "number",
                    "default": 25,
                    "minimum": 0,
                    "description": "New subscribers in the first month"
                  },
                  "growthRateChange": {
                    "type": "number",
                    "default": -0.05,
                    "maximum": 10,
                    "minimum": -1,
                    "description": "Monthly change in that growth rate. -5% means the growth rate falls by 5% of itself each month. A fraction: 0.05 means 5%"
                  },
                  "retentionApproach": {
                    "enum": [
                      "Overall churn",
                      "Cohort curve"
                    ],
                    "default": "Overall churn",
                    "description": "Retention approach. Overall applies the churn rate to every subscriber at each renewal. Cohort follows each month's new subscribers along a retention curve you enter. Overall churn = Overall: churn at each renewal, Cohort curve = Cohort: enter a retention curve"
                  },
                  "openingSubscribers": {
                    "type": "number",
                    "default": 0,
                    "minimum": 0,
                    "description": "Subscribers at the start"
                  },
                  "cohortRetentionCurve": {
                    "type": "array",
                    "items": {
                      "type": "number",
                      "maximum": 1,
                      "minimum": 0
                    },
                    "default": [
                      1,
                      0.97,
                      0.9409,
                      0.9127,
                      0.8853,
                      0.8587,
                      0.833,
                      0.808,
                      0.7837,
                      0.7602,
                      0.7374,
                      0.7153,
                      0.6938,
                      0.673,
                      0.6528,
                      0.6333,
                      0.6143,
                      0.5958,
                      0.578,
                      0.5606,
                      0.5438,
                      0.5275,
                      0.5117,
                      0.4963,
                      0.4814,
                      0.467,
                      0.453,
                      0.4394,
                      0.4262,
                      0.4134,
                      0.401,
                      0.389,
                      0.3773,
                      0.366,
                      0.355,
                      0.3444,
                      0.334,
                      0.324,
                      0.3143,
                      0.3049,
                      0.2957,
                      0.2868,
                      0.2782,
                      0.2699,
                      0.2618,
                      0.2539,
                      0.2463,
                      0.2389,
                      0.2318,
                      0.2248,
                      0.2181,
                      0.2115,
                      0.2052,
                      0.199,
                      0.1931,
                      0.1873,
                      0.1816,
                      0.1762,
                      0.1709,
                      0.1658,
                      0.1608,
                      0.156,
                      0.1513,
                      0.1468,
                      0.1424,
                      0.1381,
                      0.1339,
                      0.1299,
                      0.126,
                      0.1223,
                      0.1186,
                      0.115,
                      0.1116,
                      0.1082,
                      0.105,
                      0.1018,
                      0.0988,
                      0.0958,
                      0.0929,
                      0.0902,
                      0.0874,
                      0.0848,
                      0.0823,
                      0.0798,
                      0.0774,
                      0.0751,
                      0.0728,
                      0.0707,
                      0.0685,
                      0.0665,
                      0.0645,
                      0.0626,
                      0.0607,
                      0.0589,
                      0.0571,
                      0.0554,
                      0.0537,
                      0.0521,
                      0.0505,
                      0.049,
                      0.0476,
                      0.0461,
                      0.0447,
                      0.0434,
                      0.0421,
                      0.0408,
                      0.0396,
                      0.0384,
                      0.0373,
                      0.0362,
                      0.0351,
                      0.034,
                      0.033,
                      0.032,
                      0.031,
                      0.0301,
                      0.0292,
                      0.0283,
                      0.0275,
                      0.0267
                    ],
                    "maxItems": 120,
                    "description": "Share of a cohort still subscribed, by month since starting. 0.9 means 90%. Month 1 is the month a subscriber starts, so it is usually 1. Churn then applies only to the subscribers at the start. Up to 120 values, for Month 1 to Month 120; missing values are 0"
                  },
                  "openingDeferredRevenue": {
                    "type": "number",
                    "default": 0,
                    "minimum": 0,
                    "description": "Deferred revenue at the start"
                  }
                },
                "description": "The model inputs. Send only what differs from the defaults; anything left out takes its default.",
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "ecommerce_forecast_compute",
          "title": "Forecast an ecommerce business by cohort",
          "description": "Use when the user wants an ecommerce or DTC forecast built on customer cohorts: each month's new customers become a cohort that reorders along a retention curve, and the forecast adds the cohorts up into orders, revenue, cost of sales, marketing spend, operating income, contribution margin per order and the website traffic needed. The retention curve is either overall, built from a churn rate per repeat cycle and the cycle length (retentionCurveSource \"calculated from the churn rate and repeat cycle inputs\", the default), or a cohort curve entered directly: set retentionCurveSource to \"manual input\" and pass manualRetentionCurve, orders per new customer by month since the first order (month 1 is the first order, usually 1; 0.3 in month 4 means 30 of every 100 customers order again that month; up to 120 values, missing months are 0). Use the entered curve whenever the user describes retention month by month or has cohort data. Returns each line by month, the retention curve used (all 120 months), lifetime orders per customer and LTV. Runs the same math as Hemrock's Ecommerce Forecasting Tool spreadsheet, checked against the workbook. Send inputs with only what the user gave you; everything else takes the model's defaults, and the result echoes every input used, so tell the user which defaults mattered. Set months (12 to 120, default 48) for the length of the forecast; monthly results are arrays with one value per month, month 1 first, and the totals cover the same months. LTV counts at most ltvMonths months of a customer's life (1 to 120, default 60), whatever the forecast length. The result includes webUrl: give it to the user, because it opens this exact model in Hemrock's web version, where they can change any input and download the live Excel workbook. Free: signed in it uses no calculations; without an account it counts toward a few free runs a day.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "inputs": {
                "type": "object",
                "properties": {
                  "churn": {
                    "type": "number",
                    "default": 0.5,
                    "maximum": 1,
                    "minimum": 0,
                    "description": "Churn per repeat cycle. Share of customers who don't order again in the next cycle. A fraction: 0.05 means 5%"
                  },
                  "aovNew": {
                    "type": "number",
                    "default": 50,
                    "minimum": 0,
                    "description": "Average order value, new customer"
                  },
                  "cacNew": {
                    "type": "number",
                    "default": 30,
                    "minimum": 0,
                    "description": "Acquisition cost, new customer"
                  },
                  "months": {
                    "type": "integer",
                    "default": 48,
                    "maximum": 120,
                    "minimum": 12,
                    "description": "Months to forecast. From 12 to 120. Monthly results and totals cover these months"
                  },
                  "aovChange": {
                    "type": "number",
                    "default": 0.1,
                    "maximum": 10,
                    "minimum": -1,
                    "description": "Monthly change in order value. A fraction: 0.05 means 5%"
                  },
                  "aovRepeat": {
                    "type": "number",
                    "default": 40,
                    "minimum": 0,
                    "description": "Average order value, repeat customer. The workbook starts this at 80% of the new-customer value"
                  },
                  "cacChange": {
                    "type": "number",
                    "default": 0,
                    "maximum": 10,
                    "minimum": -1,
                    "description": "Monthly change in acquisition costs. A fraction: 0.05 means 5%"
                  },
                  "cacRepeat": {
                    "type": "number",
                    "default": 10,
                    "minimum": 0,
                    "description": "Acquisition cost, repeat order"
                  },
                  "ltvMonths": {
                    "type": "integer",
                    "default": 60,
                    "maximum": 120,
                    "minimum": 1,
                    "description": "Months of customer lifetime in LTV. Lifetime orders and LTV count at most this many months of the retention curve"
                  },
                  "startDate": {
                    "type": "string",
                    "format": "date",
                    "default": "2025-01-01",
                    "description": "First month of the forecast. YYYY-MM-DD"
                  },
                  "growthRate": {
                    "type": "number",
                    "default": 0.9,
                    "maximum": 10,
                    "minimum": -1,
                    "description": "Monthly growth in new customers. A fraction: 0.05 means 5%"
                  },
                  "costOfSales": {
                    "type": "number",
                    "default": 0.25,
                    "maximum": 1,
                    "minimum": 0,
                    "description": "Cost of sales, % of revenue. A fraction: 0.05 means 5%"
                  },
                  "newCustomers": {
                    "type": "number",
                    "default": 550,
                    "minimum": 0,
                    "description": "New customers in the first month"
                  },
                  "shippingCost": {
                    "type": "number",
                    "default": 0,
                    "minimum": 0,
                    "description": "Shipping cost per order"
                  },
                  "aovChangeTrend": {
                    "type": "number",
                    "default": -0.05,
                    "maximum": 10,
                    "minimum": -1,
                    "description": "Monthly change in that rate. -5% means the rate of change falls by 5% of itself each month. A fraction: 0.05 means 5%"
                  },
                  "cacChangeTrend": {
                    "type": "number",
                    "default": 0,
                    "maximum": 10,
                    "minimum": -1,
                    "description": "Monthly change in that rate. A fraction: 0.05 means 5%"
                  },
                  "conversionRate": {
                    "type": "number",
                    "default": 0.02,
                    "maximum": 1,
                    "minimum": 0.0001,
                    "description": "Conversion rate. Share of website sessions that order; used for the traffic you would need. A fraction: 0.05 means 5%"
                  },
                  "cohortThreshold": {
                    "type": "number",
                    "default": 0,
                    "minimum": 0,
                    "description": "Change cohort performance after this many customers"
                  },
                  "shippingRevenue": {
                    "type": "number",
                    "default": 0,
                    "minimum": 0,
                    "description": "Shipping revenue per order"
                  },
                  "cohortAdjustment": {
                    "type": "number",
                    "default": 1,
                    "minimum": 0,
                    "description": "Cohort performance multiplier once past that"
                  },
                  "growthRateChange": {
                    "type": "number",
                    "default": -0.15,
                    "maximum": 10,
                    "minimum": -1,
                    "description": "Monthly change in that growth rate. A fraction: 0.05 means 5%"
                  },
                  "openingCustomers": {
                    "type": "number",
                    "default": 0,
                    "minimum": 0,
                    "description": "Customers at the start"
                  },
                  "costOfSalesChange": {
                    "type": "number",
                    "default": 0,
                    "maximum": 10,
                    "minimum": -1,
                    "description": "Monthly change in cost of sales. A fraction: 0.05 means 5%"
                  },
                  "repeatCycleMonths": {
                    "type": "integer",
                    "default": 3,
                    "maximum": 48,
                    "minimum": 1,
                    "description": "Repeat cycle, months. Months between repeat orders"
                  },
                  "retentionMultiplier": {
                    "type": "number",
                    "default": 1,
                    "minimum": 0,
                    "description": "Retention curve multiplier. Scales repeat orders after the first month for every cohort"
                  },
                  "manualRetentionCurve": {
                    "type": "array",
                    "items": {
                      "type": "number",
                      "minimum": 0
                    },
                    "default": [
                      1,
                      0,
                      0.5,
                      0,
                      0.25,
                      0,
                      0.125,
                      0,
                      0.0625,
                      0,
                      0.03125,
                      0,
                      0.015625,
                      0,
                      0.0078125,
                      0,
                      0.00390625,
                      0,
                      0.001953125,
                      0,
                      0.0009765625,
                      0,
                      0.00048828125,
                      0,
                      0.000244140625,
                      0,
                      0.0001220703125,
                      0,
                      0.00006103515625,
                      0,
                      0.000030517578125,
                      0,
                      0.0000152587890625,
                      0,
                      0.00000762939453125,
                      0,
                      0.000003814697265625,
                      0,
                      0.0000019073486328125,
                      0,
                      9.5367431640625e-7,
                      0,
                      4.76837158203125e-7,
                      0,
                      2.384185791015625e-7,
                      0,
                      1.1920928955078125e-7,
                      0,
                      5.960464477539063e-8,
                      0,
                      2.9802322387695312e-8,
                      0,
                      1.4901161193847656e-8,
                      0,
                      7.450580596923828e-9,
                      0,
                      3.725290298461914e-9,
                      0,
                      1.862645149230957e-9,
                      0,
                      9.313225746154785e-10,
                      0,
                      4.656612873077393e-10,
                      0,
                      2.3283064365386963e-10,
                      0,
                      1.1641532182693481e-10,
                      0,
                      5.820766091346741e-11,
                      0,
                      2.9103830456733704e-11,
                      0,
                      1.4551915228366852e-11,
                      0,
                      7.275957614183426e-12,
                      0,
                      3.637978807091713e-12,
                      0,
                      1.8189894035458565e-12,
                      0,
                      9.094947017729282e-13,
                      0,
                      4.547473508864641e-13,
                      0,
                      2.2737367544323206e-13,
                      0,
                      1.1368683772161603e-13,
                      0,
                      5.684341886080802e-14,
                      0,
                      2.842170943040401e-14,
                      0,
                      1.4210854715202004e-14,
                      0,
                      7.105427357601002e-15,
                      0,
                      3.552713678800501e-15,
                      0,
                      1.7763568394002505e-15,
                      0,
                      8.881784197001252e-16,
                      0,
                      4.440892098500626e-16,
                      0,
                      2.220446049250313e-16,
                      0,
                      1.1102230246251565e-16,
                      0,
                      5.551115123125783e-17,
                      0,
                      2.7755575615628914e-17,
                      0,
                      1.3877787807814457e-17,
                      0,
                      6.938893903907228e-18,
                      0,
                      3.469446951953614e-18,
                      0,
                      1.734723475976807e-18,
                      0
                    ],
                    "maxItems": 120,
                    "description": "Orders per new customer, by month since first order. Month 1 is the first order, so it is usually 1. A value of 0.3 in month 4 means 30 of every 100 customers in a cohort order again that month. Months you leave blank are 0. Up to 120 values, for Month 1 to Month 120; missing values are 0"
                  },
                  "retentionCurveSource": {
                    "enum": [
                      "calculated from the churn rate and repeat cycle inputs",
                      "manual input"
                    ],
                    "default": "calculated from the churn rate and repeat cycle inputs",
                    "description": "Retention approach. Every monthly cohort follows this curve. Build it from a churn rate and a repeat cycle, or enter orders per customer for each month yourself. calculated from the churn rate and repeat cycle inputs = Overall: churn and the repeat cycle, manual input = Cohort: enter a retention curve"
                  },
                  "additionalCostOfSales1": {
                    "type": "number",
                    "default": 0.1,
                    "maximum": 1,
                    "minimum": 0,
                    "description": "Additional cost of sales, % of revenue. A fraction: 0.05 means 5%"
                  },
                  "additionalCostOfSales2": {
                    "type": "number",
                    "default": 0,
                    "maximum": 1,
                    "minimum": 0,
                    "description": "Second additional cost of sales, % of revenue. A fraction: 0.05 means 5%"
                  },
                  "costOfSalesChangeTrend": {
                    "type": "number",
                    "default": 0,
                    "maximum": 10,
                    "minimum": -1,
                    "description": "Monthly change in that rate. A fraction: 0.05 means 5%"
                  }
                },
                "description": "The model inputs. Send only what differs from the defaults; anything left out takes its default.",
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "list_saved_models",
          "title": "List saved models",
          "description": "Lists the cap tables, exit waterfalls, fund models and unit economics, SaaS and ecommerce forecasts saved to the user's Hemrock account, plus fund models others have shared with them, newest first. Each has its kind, id, name, the user's role (owner, editor, viewer) and a url that opens it in the browser builder. Call this when the user mentions \"my cap table\", \"my fund model\", \"my forecast\" or a model by name, before building one from scratch. Free: uses no calculations. Needs a signed-in connection.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "kind": {
                "enum": [
                  "cap-table",
                  "waterfall",
                  "fund",
                  "unit-economics",
                  "saas-forecasting",
                  "ecommerce-forecasting"
                ],
                "type": "string",
                "description": "\"cap-table\" (Cap Table builder), \"waterfall\" (Exit Waterfall builder), \"fund\" (the web Venture Capital Model), or \"unit-economics\", \"saas-forecasting\", \"ecommerce-forecasting\" (the web models with the same names as their compute tools)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "get_saved_model",
          "title": "Open a saved model",
          "description": "Returns a saved model's contents in the shape the compute tools take: a cap table's events and options, a waterfall's model and saved exit, a fund's inputs, the features switched on, and featuresSavedButOff (configured but switched off), or a forecast's inputs. Free: uses no calculations. Needs a signed-in connection.",
          "inputSchema": {
            "type": "object",
            "required": [
              "kind",
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "The model id from list_saved_models."
              },
              "kind": {
                "enum": [
                  "cap-table",
                  "waterfall",
                  "fund",
                  "unit-economics",
                  "saas-forecasting",
                  "ecommerce-forecasting"
                ],
                "type": "string",
                "description": "\"cap-table\" (Cap Table builder), \"waterfall\" (Exit Waterfall builder), \"fund\" (the web Venture Capital Model), or \"unit-economics\", \"saas-forecasting\", \"ecommerce-forecasting\" (the web models with the same names as their compute tools)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "run_saved_model",
          "title": "Run a saved model",
          "description": "Calculates a saved model as it stands, with the same engine as the browser builder: ownership after every event for a cap table, proceeds by holder for a waterfall (at the saved exit, or up to 10 exitValuations you pass), a fund's lifetime totals plus the fund by year (granularity \"quarter\" or \"none\" to change that), or a forecast's outputs, the same as its compute tool. For a fund, workbook true adds a 24-hour link to the live Excel workbook; that needs the Venture Capital Model, the same as the browser's Excel export, and workbookOptions chooses what it includes. Free: uses no calculations. Needs a signed-in connection.",
          "inputSchema": {
            "type": "object",
            "required": [
              "kind",
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "The model id from list_saved_models."
              },
              "kind": {
                "enum": [
                  "cap-table",
                  "waterfall",
                  "fund",
                  "unit-economics",
                  "saas-forecasting",
                  "ecommerce-forecasting"
                ],
                "type": "string",
                "description": "\"cap-table\" (Cap Table builder), \"waterfall\" (Exit Waterfall builder), \"fund\" (the web Venture Capital Model), or \"unit-economics\", \"saas-forecasting\", \"ecommerce-forecasting\" (the web models with the same names as their compute tools)."
              },
              "workbook": {
                "type": "boolean",
                "description": "Fund only: add a link to the live Excel workbook."
              },
              "granularity": {
                "enum": [
                  "year",
                  "quarter",
                  "none"
                ],
                "type": "string",
                "description": "Fund only."
              },
              "exitValuations": {
                "type": "array",
                "items": {
                  "type": "number"
                },
                "description": "Waterfall only: sale prices to run, up to 10."
              },
              "workbookOptions": {
                "type": "object",
                "properties": {
                  "clawback": {
                    "type": "boolean"
                  },
                  "recycling": {
                    "type": "boolean"
                  },
                  "keyReports": {
                    "type": "boolean"
                  },
                  "statements": {
                    "type": "boolean"
                  },
                  "annualDetail": {
                    "type": "boolean"
                  },
                  "preferredReturn": {
                    "type": "boolean"
                  }
                },
                "description": "Fund only: what the workbook includes. true adds a block, false leaves it out. A feature the fund uses (preferredReturn, clawback, recycling) is always in. Unset, it matches the model's last export from the web, or leaves out features the fund does not use and keeps every sheet.",
                "additionalProperties": false
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "update_saved_model",
          "title": "Change a saved model",
          "description": "Saves a change to a model in the user's account; the browser builder shows it the next time it opens. Send only the fields that change. Owners can change anything; invited editors of a fund model can change its inputs while the owner has access; viewers can't change anything. Tell the user what you changed, run the model to show the effect, and give them the url. Free: uses no calculations. Needs a signed-in connection.",
          "inputSchema": {
            "type": "object",
            "required": [
              "kind",
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "The model id from list_saved_models."
              },
              "kind": {
                "enum": [
                  "cap-table",
                  "waterfall",
                  "fund",
                  "unit-economics",
                  "saas-forecasting",
                  "ecommerce-forecasting"
                ],
                "type": "string",
                "description": "\"cap-table\" (Cap Table builder), \"waterfall\" (Exit Waterfall builder), \"fund\" (the web Venture Capital Model), or \"unit-economics\", \"saas-forecasting\", \"ecommerce-forecasting\" (the web models with the same names as their compute tools)."
              },
              "name": {
                "type": "string",
                "description": "The model name shown in the builder. Owner only."
              },
              "model": {
                "type": "object",
                "description": "Waterfall only: the cap stack, the same shape as exit_waterfall_compute's model. Replaces the saved one."
              },
              "events": {
                "type": "array",
                "items": {
                  "type": "object"
                },
                "description": "Cap table only: the full list of financing events, in order, the same shape cap_table_compute takes. Replaces the saved list, so read the model first and send back the whole list with your change."
              },
              "inputs": {
                "type": "object",
                "description": "Fund: fund inputs to change, the same fields as fund_economics_compute inputs. Unit economics, SaaS and ecommerce forecasting: the same inputs as that model's compute tool. Merged onto the saved inputs, so send only what changes."
              },
              "options": {
                "type": "object",
                "description": "Cap table: { wholeShares, pricePrecision }. Waterfall: { exitValuation, exitDate, wholeShares, pricePrecision }. Merged onto the saved options."
              },
              "features": {
                "type": "object",
                "description": "Fund only: features to switch on or off, keyed capTable, fees, waterfall, recycling, lpClasses, mgmtCo or followOn, with the same shapes as fund_economics_compute features. An object switches the feature on with that config; false switches it off and keeps its config. The user switches these on deliberately, so only change one they asked about."
              },
              "fundName": {
                "type": "string",
                "description": "Fund only: the fund name used in the model and its workbook."
              },
              "cashFlows": {
                "type": "boolean",
                "description": "Fund only: show the Forecast and Statements tabs in the builder."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create_saved_model",
          "title": "Save a new model",
          "description": "Saves a new model to the user's account so they can open it in the browser builder and keep working on it. A fund or a forecast (unit-economics, saas-forecasting, ecommerce-forecasting) starts from Hemrock's defaults with your inputs merged on; a cap table needs events; a waterfall needs a model and options.exitValuation. Use it when the user wants to keep a model you built in chat, and give them the url. Free: uses no calculations. Needs a signed-in connection.",
          "inputSchema": {
            "type": "object",
            "required": [
              "kind"
            ],
            "properties": {
              "kind": {
                "enum": [
                  "cap-table",
                  "waterfall",
                  "fund",
                  "unit-economics",
                  "saas-forecasting",
                  "ecommerce-forecasting"
                ],
                "type": "string",
                "description": "\"cap-table\" (Cap Table builder), \"waterfall\" (Exit Waterfall builder), \"fund\" (the web Venture Capital Model), or \"unit-economics\", \"saas-forecasting\", \"ecommerce-forecasting\" (the web models with the same names as their compute tools)."
              },
              "name": {
                "type": "string",
                "description": "The model name shown in the builder. Owner only."
              },
              "model": {
                "type": "object",
                "description": "Waterfall only: the cap stack, the same shape as exit_waterfall_compute's model. Replaces the saved one."
              },
              "events": {
                "type": "array",
                "items": {
                  "type": "object"
                },
                "description": "Cap table only: the full list of financing events, in order, the same shape cap_table_compute takes. Replaces the saved list, so read the model first and send back the whole list with your change."
              },
              "inputs": {
                "type": "object",
                "description": "Fund: fund inputs to change, the same fields as fund_economics_compute inputs. Unit economics, SaaS and ecommerce forecasting: the same inputs as that model's compute tool. Merged onto the saved inputs, so send only what changes."
              },
              "options": {
                "type": "object",
                "description": "Cap table: { wholeShares, pricePrecision }. Waterfall: { exitValuation, exitDate, wholeShares, pricePrecision }. Merged onto the saved options."
              },
              "features": {
                "type": "object",
                "description": "Fund only: features to switch on or off, keyed capTable, fees, waterfall, recycling, lpClasses, mgmtCo or followOn, with the same shapes as fund_economics_compute features. An object switches the feature on with that config; false switches it off and keeps its config. The user switches these on deliberately, so only change one they asked about."
              },
              "fundName": {
                "type": "string",
                "description": "Fund only: the fund name used in the model and its workbook."
              },
              "cashFlows": {
                "type": "boolean",
                "description": "Fund only: show the Forecast and Statements tabs in the builder."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "check_in",
          "title": "Check in on saved models",
          "description": "Reports what's worth knowing today about the models saved to the user's Hemrock account: for each of the ten most recently edited cap tables, exit waterfalls and fund models, notes where a number has crossed a line worth a look (a thin option pool, unconverted SAFEs, preferences taking most of an exit, a heavy fee load, a fund life past 12 years, a model untouched for 90 days), each with the number in it. Also lists live workshops in the next few weeks and the services that fit what's saved. Call it when the user asks how their models look, or on a scheduled check-in or morning brief. Lead with flagged notes; if nothing is flagged, say little or nothing. Free and read-only. Needs a signed-in connection.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true
          }
        },
        {
          "name": "request_review",
          "title": "Get a person on the model",
          "description": "Returns how to get a person on the user's model: a one-hour working session with the person who built Hemrock's models (also the way to get a model or workflow built with AI reviewed), custom model work, or fractional CFO for venture funds. Each comes with its live price and booking link. Use it when the user asks for a human review, is stuck after a check fails, or a check_in note needs judgement. Offer it; don't push it. Pass the saved model's url so the user can bring it to the session. Free and needs no sign-in. It books nothing: the user books and pays on hemrock.com.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "need": {
                "enum": [
                  "review",
                  "custom",
                  "cfo"
                ],
                "type": "string",
                "description": "\"review\" for an hour on an existing model (the default), \"custom\" for a model built to order, \"cfo\" for ongoing fund finance."
              },
              "model_url": {
                "type": "string",
                "description": "Optional. The saved model's url from list_saved_models, for the user to bring along."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [
        {
          "name": "hemrock-result",
          "uri": "ui://hemrock/result-f5772644a52c.html",
          "mimeType": "text/html;profile=mcp-app",
          "description": "Interactive view of a cap table, exit waterfall or fund economics result."
        }
      ],
      "prompts": [
        {
          "name": "model_a_round",
          "description": "Build a cap table through a round (founders, pool, SAFEs, notes, priced rounds) with Hemrock's cap table engine and show ownership after each step.",
          "arguments": [
            {
              "name": "company",
              "required": false,
              "description": "The cap table and financing history in plain words: founders and shares, option pool, SAFEs or notes, the round being modeled."
            }
          ]
        },
        {
          "name": "exit_waterfall",
          "description": "Run an exit through the cap stack with Hemrock's waterfall engine: preferences, participation, conversion, options and warrants.",
          "arguments": [
            {
              "name": "exit_value",
              "required": false,
              "description": "Exit or sale price, e.g. \"$50 million\"."
            },
            {
              "name": "cap_stack",
              "required": false,
              "description": "Holders and classes: common, each preferred series with amount invested, preference multiple, participation and seniority, options and warrants."
            }
          ]
        },
        {
          "name": "fund_returns",
          "description": "Forecast a venture fund's fees, carry, investable capital and net returns to LPs with Hemrock's fund economics engine.",
          "arguments": [
            {
              "name": "fund_terms",
              "required": false,
              "description": "Fund size, management fee and any step-down, carry, investment period, recycling, reserves, expected returns."
            }
          ]
        },
        {
          "name": "review_my_model",
          "description": "Check a financial model or AI-edited spreadsheet against Hemrock's sanity checks and best practices. Free; no sign-in needed.",
          "arguments": [
            {
              "name": "template",
              "required": false,
              "description": "Which Hemrock model it is built on, if any (standard, cap_table, venture_fund, runway, saas, ecommerce, fund_economics)."
            }
          ]
        }
      ]
    },
    "instructions": "Hemrock runs cap-table, exit-waterfall and fund-economics calculations on hosted engines (cap_table_compute, exit_waterfall_compute, fund_economics_compute). Prefer them over doing that math yourself: they apply the same methodology as the Hemrock models.\n\nFor founders, unit_economics_compute (LTV, LTV to CAC, CAC payback), saas_forecast_compute (subscribers, MRR, ARR, billings and deferred revenue) and ecommerce_forecast_compute (a forecast built from monthly customer cohorts, on a retention curve you can enter month by month) run for 12 to 120 months (the months input, 48 by default) and are free: signed in they use no calculations. Each result has a webUrl that opens the same inputs in the web model; give it to the user.\n\nWithout an account, the compute tools run a few free calculations a day and return a link that saves the result to a free Hemrock account; offer it. Signed in, each account has 10 free calculations per product, then annual access. If a compute tool returns action_required, do not skip it or silently fall back to your own math. Tell the user what is needed, give them the links in action_required, and offer to retry once they have signed in or purchased.\n\nget_account_access shows whether this connection is signed in and what it can run, without using any allowance. list_models and get_access are public and show prices and checkout links.\n\nThe user's own models live in their account: the cap tables, waterfalls, fund models and unit economics, SaaS and ecommerce forecasts they saved in the Hemrock web builders. When they mention one, call list_saved_models before rebuilding it from scratch, then get_saved_model, run_saved_model and update_saved_model to work on it, and give them its url to open it in the browser. These tools are free.\n\ncheck_in reports what is worth knowing about the user's saved models today, plus workshops and services that fit; use it for scheduled check-ins and morning briefs, and lead with flagged notes. request_review gives the user a way to get a person on their model, with live prices; offer it when they want a human review, never push it.\n\nThis connection may be the public one (https://mcp.hemrock.com/mcp). To sign in, the user adds https://mcp.hemrock.com/mcp/account instead, which asks for their Hemrock sign-in."
  },
  "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."
}