{
  "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": "app.forthcast.io",
    "site": "forthcast.io",
    "addresses": [
      {
        "address": "216.24.57.18",
        "endpoints": 629,
        "shared_infrastructure": true,
        "network": {
          "asn": 397273,
          "name": "RENDER - Render",
          "prefix": "216.24.57.0/24",
          "country": "US"
        }
      },
      {
        "address": "216.24.57.16",
        "endpoints": 629,
        "shared_infrastructure": true,
        "network": {
          "asn": 397273,
          "name": "RENDER - Render",
          "prefix": "216.24.57.0/24",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "216.24.57.18",
          "216.24.57.16"
        ],
        "first_seen": "2026-11-21T13:30:02.444Z",
        "last_seen": "2026-11-22T18:15:23.587Z",
        "checks": 2
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "forthcast-inventory",
      "version": "1.1.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 628,
      "sample": [
        {
          "id": "211",
          "url": "https://api.alphabazaar.ai/mcp",
          "server_name": "ai.alphabazaar/arena",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T04:35:02.580Z"
        },
        {
          "id": "753",
          "url": "https://pay.edge-agents.ai/mcp",
          "server_name": "ai.edge-agents/intelligence",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T04:49:00.811Z"
        },
        {
          "id": "869",
          "url": "https://api.flamigo.ai/mcp",
          "server_name": "ai.flamigo/presentation",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T04:51:02.360Z"
        },
        {
          "id": "1458",
          "url": "https://lucidflow.ai/api/mcp",
          "server_name": "ai.lucidflow/bpmn-validator",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T05:04:15.935Z"
        },
        {
          "id": "1945",
          "url": "https://regga.ai/mcp",
          "server_name": "ai.regga/regga",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T06:47:02.252Z"
        },
        {
          "id": "1999",
          "url": "https://mcp.robomart.ai/mcp",
          "server_name": "ai.robomart/robomart",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T06:48:28.553Z"
        },
        {
          "id": "2147",
          "url": "https://mcp.shumi.ai/mcp",
          "server_name": "ai.shumi/mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T06:49:02.092Z"
        },
        {
          "id": "2797",
          "url": "https://vetaid-mcp.onrender.com/mcp",
          "server_name": "ai.vetaid/vetaid",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T06:54:01.752Z"
        },
        {
          "id": "2959",
          "url": "https://app.xyla.ai/mcp",
          "server_name": "ai.xyla/xyla",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T06:55:03.253Z"
        },
        {
          "id": "2975",
          "url": "https://api.zaptu.ai/mcp",
          "server_name": "ai.zaptu/zaptu",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T06:56:02.024Z"
        },
        {
          "id": "3803",
          "url": "https://mcp.outcomet.app/mcp",
          "server_name": "app.outcomet/mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T07:05:03.671Z"
        },
        {
          "id": "4587",
          "url": "https://www.jobjar.com.au/mcp",
          "server_name": "au.com.jobjar.www/trades",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T07:14:03.476Z"
        },
        {
          "id": "4626",
          "url": "https://app.sagashi.au/mcp",
          "server_name": "au.sagashi/sagashi",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T07:15:02.984Z"
        },
        {
          "id": "5055",
          "url": "https://api.assurs.ch/mcp",
          "server_name": "ch.assurs/lamal",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T07:24:01.731Z"
        },
        {
          "id": "5751",
          "url": "https://sickslip.onrender.com/api/mcp",
          "server_name": "co.sickslip.www/verify",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T07:33:01.924Z"
        },
        {
          "id": "5794",
          "url": "https://api.uniall.co/v1/agent/mcp",
          "server_name": "co.uniall/rwa-index",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T07:34:01.403Z"
        },
        {
          "id": "6216",
          "url": "https://mcp.advisorfinder.com/mcp",
          "server_name": "com.advisorfinder/mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T07:38:03.663Z"
        },
        {
          "id": "6300",
          "url": "https://agenthelpnetwork.com/mcp",
          "server_name": "com.agenthelpnetwork/agent-help-network",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T07:40:04.654Z"
        },
        {
          "id": "6369",
          "url": "https://mcp.agenttrafficlab.com/mcp",
          "server_name": "com.agenttrafficlab/atl",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T07:42:02.376Z"
        },
        {
          "id": "6631",
          "url": "https://aloha-dial-api.onrender.com/mcp",
          "server_name": "com.alohalabshq/dial",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T07:47:03.106Z"
        }
      ]
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.forthcast",
      "total": 0,
      "sample": []
    },
    "same_repository": null,
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "23068",
    "server_name": "io.forthcast/inventory",
    "url": "https://app.forthcast.io/mcp",
    "host": "app.forthcast.io",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-22T18:15:23.587Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "c5b84c6a8546a06eb3609d5c7d5884683638184ce1e7716b06423b9a0221af64",
    "first_listed_at": "2026-11-21T13:30:02.444Z",
    "created_at": "2026-11-21T07:55:07.625Z",
    "resolved_addresses": [
      "216.24.57.18",
      "216.24.57.16"
    ]
  },
  "server": {
    "name": "io.forthcast/inventory",
    "title": "Forthcast Inventory",
    "description": "Reorder points, order quantities, demand forecasts and stock health, from your numbers or Shopify.",
    "version": "1.1.0",
    "registry_status": "active",
    "repository_url": null,
    "website_url": "https://www.forthcast.io",
    "published_at": "2026-11-21T23:32:37.330Z",
    "updated_at": "2026-11-21T23:32:37.330Z",
    "first_seen": "2026-11-21T07:55:07.055Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:27:06.798Z"
  },
  "operator": {
    "key": "forthcast.io",
    "name": "forthcast.io",
    "platform": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 2,
    "answered": 2,
    "answered_percent": 100,
    "avg_listing_latency_ms": 918,
    "first_check_in_window": "2026-11-21T13:30:02.444Z",
    "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": "c5b84c6a8546a06eb3609d5c7d5884683638184ce1e7716b06423b9a0221af64",
    "tools": 11,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-21T13:30:03.539Z",
    "tool_names": [
      "get_inventory_overview",
      "get_reorder_recommendations",
      "find_inventory_items",
      "get_inventory_item",
      "list_purchase_orders",
      "get_supplier_performance",
      "calculate_reorder_point",
      "calculate_order_quantity",
      "forecast_demand_series",
      "score_inventory_health",
      "explain_inventory_metric"
    ],
    "declared": {
      "tools": [
        {
          "name": "get_inventory_overview",
          "title": "Get inventory overview",
          "description": "Use this when the merchant asks for a broad inventory health check, an executive summary, their urgent/excess/no-demand counts, inventory valuation, or current PO workload. Requires a connected Forthcast store; the assistant will prompt to sign in.",
          "inputSchema": {
            "type": "object",
            "title": "get_inventory_overviewArguments",
            "properties": {}
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "InventoryItem": {
                "type": "object",
                "title": "InventoryItem",
                "required": [
                  "sku",
                  "product",
                  "urgency",
                  "urgency_label",
                  "forthcast_url"
                ],
                "properties": {
                  "sku": {
                    "type": "string",
                    "title": "Sku"
                  },
                  "product": {
                    "type": "string",
                    "title": "Product"
                  },
                  "urgency": {
                    "type": "string",
                    "title": "Urgency"
                  },
                  "supplier": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Supplier",
                    "default": null
                  },
                  "abc_class": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Abc Class",
                    "default": null
                  },
                  "forthcast_url": {
                    "type": "string",
                    "title": "Forthcast Url"
                  },
                  "order_by_date": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Order By Date",
                    "default": null
                  },
                  "reorder_point": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Reorder Point",
                    "default": null
                  },
                  "urgency_label": {
                    "type": "string",
                    "title": "Urgency Label"
                  },
                  "lead_time_days": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Lead Time Days",
                    "default": null
                  },
                  "units_available": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Units Available",
                    "default": null
                  },
                  "revenue_forecast": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Revenue Forecast",
                    "default": null
                  },
                  "days_of_stock_left": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Days Of Stock Left",
                    "default": null
                  },
                  "days_until_reorder": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Days Until Reorder",
                    "default": null
                  },
                  "average_monthly_demand": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Average Monthly Demand",
                    "default": null
                  },
                  "suggested_reorder_quantity": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Suggested Reorder Quantity",
                    "default": null
                  },
                  "units_on_open_purchase_orders": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "integer"
                      }
                    ],
                    "title": "Units On Open Purchase Orders",
                    "default": 0
                  }
                },
                "additionalProperties": false
              },
              "UrgencyCounts": {
                "type": "object",
                "title": "UrgencyCounts",
                "properties": {
                  "excess": {
                    "type": "integer",
                    "title": "Excess",
                    "default": 0
                  },
                  "warning": {
                    "type": "integer",
                    "title": "Warning",
                    "default": 0
                  },
                  "critical": {
                    "type": "integer",
                    "title": "Critical",
                    "default": 0
                  },
                  "on_track": {
                    "type": "integer",
                    "title": "On Track",
                    "default": 0
                  },
                  "no_demand": {
                    "type": "integer",
                    "title": "No Demand",
                    "default": 0
                  }
                },
                "additionalProperties": false
              },
              "InventoryValuation": {
                "type": "object",
                "title": "InventoryValuation",
                "properties": {
                  "sku_count": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Sku Count",
                    "default": null
                  },
                  "total_units": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Total Units",
                    "default": null
                  },
                  "retail_value": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Retail Value",
                    "default": null
                  },
                  "cost_of_goods": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Cost Of Goods",
                    "default": null
                  },
                  "potential_profit": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Potential Profit",
                    "default": null
                  },
                  "annual_holding_cost": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Annual Holding Cost",
                    "default": null
                  },
                  "monthly_holding_cost": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Monthly Holding Cost",
                    "default": null
                  },
                  "profit_margin_percent": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Profit Margin Percent",
                    "default": null
                  },
                  "estimated_cost_sku_count": {
                    "type": "integer",
                    "title": "Estimated Cost Sku Count",
                    "default": 0
                  }
                },
                "additionalProperties": false
              }
            },
            "title": "InventoryOverview",
            "required": [
              "total_skus",
              "urgency_counts",
              "active_purchase_orders",
              "draft_purchase_orders",
              "top_priorities",
              "inventory_url"
            ],
            "properties": {
              "valuation": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/InventoryValuation"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "total_skus": {
                "type": "integer",
                "title": "Total Skus"
              },
              "inventory_url": {
                "type": "string",
                "title": "Inventory Url"
              },
              "top_priorities": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/InventoryItem"
                },
                "title": "Top Priorities"
              },
              "urgency_counts": {
                "$ref": "#/$defs/UrgencyCounts"
              },
              "draft_purchase_orders": {
                "type": "integer",
                "title": "Draft Purchase Orders"
              },
              "active_purchase_orders": {
                "type": "integer",
                "title": "Active Purchase Orders"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get inventory overview",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_reorder_recommendations",
          "title": "Get reorder recommendations",
          "description": "Use this when the merchant asks what to reorder, how much to buy, or which critical/warning items need action. Quantities reuse Forthcast's live lead-time, MOQ, case-pack, open-PO, location, and supplier minimum-order-value logic; this tool does not create a PO. Requires a connected Forthcast store; the assistant will prompt to sign in.",
          "inputSchema": {
            "type": "object",
            "title": "get_reorder_recommendationsArguments",
            "properties": {
              "limit": {
                "type": "integer",
                "title": "Limit",
                "default": 15,
                "maximum": 30,
                "minimum": 1,
                "description": "Maximum recommendations to return."
              },
              "priority": {
                "enum": [
                  "critical",
                  "warning",
                  "all"
                ],
                "type": "string",
                "title": "Priority",
                "default": "all",
                "description": "Return order-now items, plan-ahead items, or both."
              },
              "supplier": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Supplier",
                "default": null,
                "description": "Optional case-insensitive supplier name filter."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "ReorderRecommendation": {
                "type": "object",
                "title": "ReorderRecommendation",
                "required": [
                  "sku",
                  "urgency",
                  "recommended_quantity",
                  "reason_code",
                  "reason",
                  "forthcast_url"
                ],
                "properties": {
                  "moq": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Moq",
                    "default": null
                  },
                  "sku": {
                    "type": "string",
                    "title": "Sku"
                  },
                  "reason": {
                    "type": "string",
                    "title": "Reason"
                  },
                  "product": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Product",
                    "default": null
                  },
                  "urgency": {
                    "type": "string",
                    "title": "Urgency"
                  },
                  "supplier": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Supplier",
                    "default": null
                  },
                  "case_pack": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Case Pack",
                    "default": null
                  },
                  "unit_cost": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Unit Cost",
                    "default": null
                  },
                  "reason_code": {
                    "type": "string",
                    "title": "Reason Code"
                  },
                  "forthcast_url": {
                    "type": "string",
                    "title": "Forthcast Url"
                  },
                  "lead_time_days": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Lead Time Days",
                    "default": null
                  },
                  "monthly_demand": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Monthly Demand",
                    "default": null
                  },
                  "units_available": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Units Available",
                    "default": null
                  },
                  "estimated_line_cost": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Estimated Line Cost",
                    "default": null
                  },
                  "raw_reorder_quantity": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Raw Reorder Quantity",
                    "default": null
                  },
                  "recommended_quantity": {
                    "type": "integer",
                    "title": "Recommended Quantity"
                  },
                  "pending_purchase_order_quantity": {
                    "type": "integer",
                    "title": "Pending Purchase Order Quantity",
                    "default": 0
                  }
                },
                "additionalProperties": false
              }
            },
            "title": "ReorderRecommendations",
            "required": [
              "items",
              "count",
              "priority",
              "truncated",
              "purchase_order_url"
            ],
            "properties": {
              "count": {
                "type": "integer",
                "title": "Count"
              },
              "items": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/ReorderRecommendation"
                },
                "title": "Items"
              },
              "priority": {
                "type": "string",
                "title": "Priority"
              },
              "truncated": {
                "type": "boolean",
                "title": "Truncated"
              },
              "purchase_order_url": {
                "type": "string",
                "title": "Purchase Order Url"
              },
              "omitted_covered_items": {
                "type": "integer",
                "title": "Omitted Covered Items",
                "default": 0
              },
              "omitted_non_orderable_items": {
                "type": "integer",
                "title": "Omitted Non Orderable Items",
                "default": 0
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get reorder recommendations",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "find_inventory_items",
          "title": "Find inventory items",
          "description": "Use this when the merchant wants a bounded list of their items filtered by urgency, assigned supplier, or Shopify vendor, such as all excess items or a supplier's critical SKUs. Requires a connected Forthcast store; the assistant will prompt to sign in.",
          "inputSchema": {
            "type": "object",
            "title": "find_inventory_itemsArguments",
            "properties": {
              "limit": {
                "type": "integer",
                "title": "Limit",
                "default": 15,
                "maximum": 30,
                "minimum": 1,
                "description": "Maximum items to return."
              },
              "vendor": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Vendor",
                "default": null,
                "description": "Optional case-insensitive Shopify vendor or brand."
              },
              "urgency": {
                "anyOf": [
                  {
                    "enum": [
                      "critical",
                      "warning",
                      "ok",
                      "excess",
                      "no-demand"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Urgency",
                "default": null,
                "description": "Optional Forthcast urgency bucket."
              },
              "supplier": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Supplier",
                "default": null,
                "description": "Optional case-insensitive assigned supplier name."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "InventoryItem": {
                "type": "object",
                "title": "InventoryItem",
                "required": [
                  "sku",
                  "product",
                  "urgency",
                  "urgency_label",
                  "forthcast_url"
                ],
                "properties": {
                  "sku": {
                    "type": "string",
                    "title": "Sku"
                  },
                  "product": {
                    "type": "string",
                    "title": "Product"
                  },
                  "urgency": {
                    "type": "string",
                    "title": "Urgency"
                  },
                  "supplier": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Supplier",
                    "default": null
                  },
                  "abc_class": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Abc Class",
                    "default": null
                  },
                  "forthcast_url": {
                    "type": "string",
                    "title": "Forthcast Url"
                  },
                  "order_by_date": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Order By Date",
                    "default": null
                  },
                  "reorder_point": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Reorder Point",
                    "default": null
                  },
                  "urgency_label": {
                    "type": "string",
                    "title": "Urgency Label"
                  },
                  "lead_time_days": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Lead Time Days",
                    "default": null
                  },
                  "units_available": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Units Available",
                    "default": null
                  },
                  "revenue_forecast": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Revenue Forecast",
                    "default": null
                  },
                  "days_of_stock_left": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Days Of Stock Left",
                    "default": null
                  },
                  "days_until_reorder": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Days Until Reorder",
                    "default": null
                  },
                  "average_monthly_demand": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Average Monthly Demand",
                    "default": null
                  },
                  "suggested_reorder_quantity": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Suggested Reorder Quantity",
                    "default": null
                  },
                  "units_on_open_purchase_orders": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "integer"
                      }
                    ],
                    "title": "Units On Open Purchase Orders",
                    "default": 0
                  }
                },
                "additionalProperties": false
              }
            },
            "title": "InventoryItemList",
            "required": [
              "items",
              "count"
            ],
            "properties": {
              "count": {
                "type": "integer",
                "title": "Count"
              },
              "items": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/InventoryItem"
                },
                "title": "Items"
              },
              "truncated": {
                "type": "boolean",
                "title": "Truncated",
                "default": false
              },
              "applied_filters": {
                "type": "object",
                "title": "Applied Filters",
                "additionalProperties": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Find inventory items",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_inventory_item",
          "title": "Get inventory item",
          "description": "Use this when the merchant names an exact SKU and needs its live stock, forecast demand, days of supply, reorder point, suggested quantity, supplier, or open-PO coverage. Requires a connected Forthcast store; the assistant will prompt to sign in.",
          "inputSchema": {
            "type": "object",
            "title": "get_inventory_itemArguments",
            "required": [
              "sku"
            ],
            "properties": {
              "sku": {
                "type": "string",
                "title": "Sku",
                "maxLength": 255,
                "minLength": 1,
                "description": "Exact merchant SKU code."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "InventoryItem": {
                "type": "object",
                "title": "InventoryItem",
                "required": [
                  "sku",
                  "product",
                  "urgency",
                  "urgency_label",
                  "forthcast_url"
                ],
                "properties": {
                  "sku": {
                    "type": "string",
                    "title": "Sku"
                  },
                  "product": {
                    "type": "string",
                    "title": "Product"
                  },
                  "urgency": {
                    "type": "string",
                    "title": "Urgency"
                  },
                  "supplier": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Supplier",
                    "default": null
                  },
                  "abc_class": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Abc Class",
                    "default": null
                  },
                  "forthcast_url": {
                    "type": "string",
                    "title": "Forthcast Url"
                  },
                  "order_by_date": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Order By Date",
                    "default": null
                  },
                  "reorder_point": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Reorder Point",
                    "default": null
                  },
                  "urgency_label": {
                    "type": "string",
                    "title": "Urgency Label"
                  },
                  "lead_time_days": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Lead Time Days",
                    "default": null
                  },
                  "units_available": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Units Available",
                    "default": null
                  },
                  "revenue_forecast": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Revenue Forecast",
                    "default": null
                  },
                  "days_of_stock_left": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Days Of Stock Left",
                    "default": null
                  },
                  "days_until_reorder": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Days Until Reorder",
                    "default": null
                  },
                  "average_monthly_demand": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Average Monthly Demand",
                    "default": null
                  },
                  "suggested_reorder_quantity": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Suggested Reorder Quantity",
                    "default": null
                  },
                  "units_on_open_purchase_orders": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "integer"
                      }
                    ],
                    "title": "Units On Open Purchase Orders",
                    "default": 0
                  }
                },
                "additionalProperties": false
              }
            },
            "title": "InventoryItemResult",
            "required": [
              "found"
            ],
            "properties": {
              "item": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/InventoryItem"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "found": {
                "type": "boolean",
                "title": "Found"
              },
              "message": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Message",
                "default": null
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get inventory item",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_purchase_orders",
          "title": "List purchase orders",
          "description": "Use this when the merchant asks what is ordered, drafted, open, partially received, received, cancelled, overdue, expected, or associated with a named supplier. Results are grouped by PO; this tool does not approve, receive, cancel, or otherwise modify an order. Requires a connected Forthcast store; the assistant will prompt to sign in.",
          "inputSchema": {
            "type": "object",
            "title": "list_purchase_ordersArguments",
            "properties": {
              "limit": {
                "type": "integer",
                "title": "Limit",
                "default": 10,
                "maximum": 40,
                "minimum": 1,
                "description": "Maximum grouped purchase orders to return."
              },
              "status": {
                "anyOf": [
                  {
                    "enum": [
                      "draft",
                      "open",
                      "partial",
                      "received",
                      "cancelled"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Status",
                "default": null,
                "description": "Optional exact purchase-order status."
              },
              "supplier": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Supplier",
                "default": null,
                "description": "Optional case-insensitive supplier name filter."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "PurchaseOrderSummary": {
                "type": "object",
                "title": "PurchaseOrderSummary",
                "required": [
                  "po_number",
                  "status",
                  "line_count",
                  "units_ordered",
                  "units_received",
                  "forthcast_url"
                ],
                "properties": {
                  "status": {
                    "type": "string",
                    "title": "Status"
                  },
                  "overdue": {
                    "type": "boolean",
                    "title": "Overdue",
                    "default": false
                  },
                  "supplier": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Supplier",
                    "default": null
                  },
                  "po_number": {
                    "type": "string",
                    "title": "Po Number"
                  },
                  "created_at": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Created At",
                    "default": null
                  },
                  "line_count": {
                    "type": "integer",
                    "title": "Line Count"
                  },
                  "expected_date": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Expected Date",
                    "default": null
                  },
                  "forthcast_url": {
                    "type": "string",
                    "title": "Forthcast Url"
                  },
                  "units_ordered": {
                    "type": "integer",
                    "title": "Units Ordered"
                  },
                  "estimated_cost": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Estimated Cost",
                    "default": null
                  },
                  "units_received": {
                    "type": "integer",
                    "title": "Units Received"
                  }
                },
                "additionalProperties": false
              }
            },
            "title": "PurchaseOrderList",
            "required": [
              "orders",
              "count",
              "total_matching",
              "truncated",
              "purchase_order_url"
            ],
            "properties": {
              "count": {
                "type": "integer",
                "title": "Count"
              },
              "orders": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/PurchaseOrderSummary"
                },
                "title": "Orders"
              },
              "truncated": {
                "type": "boolean",
                "title": "Truncated"
              },
              "total_matching": {
                "type": "integer",
                "title": "Total Matching"
              },
              "applied_filters": {
                "type": "object",
                "title": "Applied Filters",
                "additionalProperties": {
                  "type": "string"
                }
              },
              "purchase_order_url": {
                "type": "string",
                "title": "Purchase Order Url"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "List purchase orders",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_supplier_performance",
          "title": "Get supplier performance",
          "description": "Use this when the merchant asks how suppliers are performing or wants rolling 24-month on-time rate, fill rate, actual versus promised lead time, spend, or invoice price accuracy, plus current open and overdue purchase-order counts. Requires a connected Forthcast store; the assistant will prompt to sign in.",
          "inputSchema": {
            "type": "object",
            "title": "get_supplier_performanceArguments",
            "properties": {
              "limit": {
                "type": "integer",
                "title": "Limit",
                "default": 20,
                "maximum": 50,
                "minimum": 1,
                "description": "Maximum suppliers to return."
              },
              "supplier": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 200
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Supplier",
                "default": null,
                "description": "Optional case-insensitive supplier name filter."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "SupplierPerformance": {
                "type": "object",
                "title": "SupplierPerformance",
                "required": [
                  "name"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "title": "Name"
                  },
                  "fill_rate": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Fill Rate",
                    "default": null
                  },
                  "total_cost": {
                    "type": "number",
                    "title": "Total Cost",
                    "default": 0
                  },
                  "total_units": {
                    "type": "integer",
                    "title": "Total Units",
                    "default": 0
                  },
                  "on_time_rate": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "On Time Rate",
                    "default": null
                  },
                  "average_days_late": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Average Days Late",
                    "default": null
                  },
                  "price_accuracy_rate": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Price Accuracy Rate",
                    "default": null
                  },
                  "open_purchase_orders": {
                    "type": "integer",
                    "title": "Open Purchase Orders",
                    "default": 0
                  },
                  "total_purchase_orders": {
                    "type": "integer",
                    "title": "Total Purchase Orders",
                    "default": 0
                  },
                  "overdue_purchase_orders": {
                    "type": "integer",
                    "title": "Overdue Purchase Orders",
                    "default": 0
                  },
                  "promised_lead_time_days": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Promised Lead Time Days",
                    "default": null
                  },
                  "received_purchase_orders": {
                    "type": "integer",
                    "title": "Received Purchase Orders",
                    "default": 0
                  },
                  "price_accuracy_sample_lines": {
                    "type": "integer",
                    "title": "Price Accuracy Sample Lines",
                    "default": 0
                  },
                  "average_actual_lead_time_days": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Average Actual Lead Time Days",
                    "default": null
                  }
                },
                "additionalProperties": false
              }
            },
            "title": "SupplierPerformanceList",
            "required": [
              "suppliers",
              "count",
              "total_matching",
              "truncated",
              "supplier_performance_url"
            ],
            "properties": {
              "count": {
                "type": "integer",
                "title": "Count"
              },
              "suppliers": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/SupplierPerformance"
                },
                "title": "Suppliers"
              },
              "truncated": {
                "type": "boolean",
                "title": "Truncated"
              },
              "total_matching": {
                "type": "integer",
                "title": "Total Matching"
              },
              "analysis_period_months": {
                "type": "integer",
                "title": "Analysis Period Months",
                "default": 24
              },
              "supplier_performance_url": {
                "type": "string",
                "title": "Supplier Performance Url"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get supplier performance",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "calculate_reorder_point",
          "title": "Calculate reorder point",
          "description": "Use this when someone asks how much safety stock to hold or at what stock level to reorder a product. Give a daily demand history (best) or an average daily demand with its variability, plus the supplier lead time and a service level. Returns safety stock, lead-time demand and the reorder point with Forthcast's formula and assumptions. Works without a connected store.",
          "inputSchema": {
            "type": "object",
            "title": "calculate_reorder_pointArguments",
            "required": [
              "lead_time_days"
            ],
            "properties": {
              "daily_demand": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "number"
                    },
                    "maxItems": 365
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Daily Demand",
                "default": null,
                "description": "Daily units sold, oldest first, 14 to 365 values."
              },
              "service_level": {
                "type": "number",
                "title": "Service Level",
                "default": 0.95,
                "maximum": 99,
                "minimum": 0.5,
                "description": "Target in-stock probability, 0.50 to 0.99 (95 also accepted)."
              },
              "lead_time_days": {
                "type": "integer",
                "title": "Lead Time Days",
                "maximum": 730,
                "minimum": 1,
                "description": "Supplier lead time in days."
              },
              "demand_std_daily": {
                "anyOf": [
                  {
                    "type": "number",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Demand Std Daily",
                "default": null,
                "description": "Standard deviation of daily demand; assumed sqrt(average) when omitted."
              },
              "average_daily_demand": {
                "anyOf": [
                  {
                    "type": "number",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Average Daily Demand",
                "default": null,
                "description": "Average units sold per day, if no daily history."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "title": "ReorderPointCalculation",
            "required": [
              "average_daily_demand",
              "demand_std_daily",
              "lead_time_days",
              "service_level",
              "z_score",
              "safety_stock",
              "lead_time_demand",
              "reorder_point",
              "intermittent_demand",
              "basis",
              "assumptions"
            ],
            "properties": {
              "basis": {
                "type": "string",
                "title": "Basis"
              },
              "z_score": {
                "type": "number",
                "title": "Z Score"
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "title": "Assumptions"
              },
              "connect_hint": {
                "type": "string",
                "title": "Connect Hint",
                "default": "Forthcast does this automatically for Shopify stores: https://apps.shopify.com/forthcast",
                "description": "How to get this done automatically on live store data."
              },
              "safety_stock": {
                "type": "number",
                "title": "Safety Stock"
              },
              "reorder_point": {
                "type": "number",
                "title": "Reorder Point"
              },
              "service_level": {
                "type": "number",
                "title": "Service Level"
              },
              "lead_time_days": {
                "type": "integer",
                "title": "Lead Time Days"
              },
              "demand_std_daily": {
                "type": "number",
                "title": "Demand Std Daily"
              },
              "lead_time_demand": {
                "type": "number",
                "title": "Lead Time Demand"
              },
              "intermittent_demand": {
                "type": "boolean",
                "title": "Intermittent Demand"
              },
              "average_daily_demand": {
                "type": "number",
                "title": "Average Daily Demand"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Calculate reorder point",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "calculate_order_quantity",
          "title": "Calculate order quantity",
          "description": "Use this when someone asks how many units to order, given demand, lead time, stock on hand and on order, and supplier rules such as MOQ, case pack or a minimum order value. Sizes the line the way Forthcast sizes a purchase-order line and lists every rule that changed the quantity. Works without a connected store.",
          "inputSchema": {
            "type": "object",
            "title": "calculate_order_quantityArguments",
            "required": [
              "lead_time_days",
              "on_hand"
            ],
            "properties": {
              "moq": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Moq",
                "default": null,
                "description": "Supplier minimum order quantity for this item."
              },
              "on_hand": {
                "type": "number",
                "title": "On Hand",
                "description": "Units available now."
              },
              "on_order": {
                "type": "number",
                "title": "On Order",
                "default": 0,
                "minimum": 0,
                "description": "Units already on open purchase orders."
              },
              "case_pack": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Case Pack",
                "default": null,
                "description": "Units per case; quantity is rounded up to whole cases."
              },
              "unit_cost": {
                "anyOf": [
                  {
                    "type": "number",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Unit Cost",
                "default": null,
                "description": "Purchase cost per unit."
              },
              "daily_demand": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "number"
                    },
                    "maxItems": 365
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Daily Demand",
                "default": null,
                "description": "Daily units sold, oldest first, 14 to 365 values."
              },
              "service_level": {
                "type": "number",
                "title": "Service Level",
                "default": 0.95,
                "maximum": 99,
                "minimum": 0.5,
                "description": "Target in-stock probability, 0.50 to 0.99."
              },
              "lead_time_days": {
                "type": "integer",
                "title": "Lead Time Days",
                "maximum": 730,
                "minimum": 1,
                "description": "Supplier lead time in days."
              },
              "min_order_value": {
                "anyOf": [
                  {
                    "type": "number",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Min Order Value",
                "default": null,
                "description": "Supplier minimum order value in currency; needs unit_cost."
              },
              "demand_std_daily": {
                "anyOf": [
                  {
                    "type": "number",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Demand Std Daily",
                "default": null,
                "description": "Standard deviation of daily demand, if known."
              },
              "cover_days_target": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 3000,
                    "minimum": 1
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Cover Days Target",
                "default": null,
                "description": "Optional explicit days of cover to buy instead of the default weeks-of-supply target."
              },
              "average_daily_demand": {
                "anyOf": [
                  {
                    "type": "number",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Average Daily Demand",
                "default": null,
                "description": "Average units sold per day, if no daily history."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "title": "OrderQuantityCalculation",
            "required": [
              "suggested_quantity",
              "raw_quantity",
              "reorder_point",
              "safety_stock",
              "shortfall",
              "weeks_of_supply_target",
              "demand_category",
              "lead_time_category",
              "value_category",
              "position",
              "rules_applied",
              "assumptions"
            ],
            "properties": {
              "position": {
                "type": "number",
                "title": "Position"
              },
              "shortfall": {
                "type": "number",
                "title": "Shortfall"
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "title": "Assumptions"
              },
              "connect_hint": {
                "type": "string",
                "title": "Connect Hint",
                "default": "Forthcast does this automatically for Shopify stores: https://apps.shopify.com/forthcast",
                "description": "How to get this done automatically on live store data."
              },
              "raw_quantity": {
                "type": "integer",
                "title": "Raw Quantity"
              },
              "safety_stock": {
                "type": "number",
                "title": "Safety Stock"
              },
              "reorder_point": {
                "type": "number",
                "title": "Reorder Point"
              },
              "rules_applied": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true
                },
                "title": "Rules Applied"
              },
              "estimated_cost": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Estimated Cost",
                "default": null
              },
              "value_category": {
                "type": "string",
                "title": "Value Category"
              },
              "demand_category": {
                "type": "string",
                "title": "Demand Category"
              },
              "lead_time_category": {
                "type": "string",
                "title": "Lead Time Category"
              },
              "suggested_quantity": {
                "type": "integer",
                "title": "Suggested Quantity"
              },
              "weeks_of_supply_target": {
                "type": "number",
                "title": "Weeks Of Supply Target"
              },
              "days_of_cover_after_delivery": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Days Of Cover After Delivery",
                "default": null
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Calculate order quantity",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "forecast_demand_series",
          "title": "Forecast demand series",
          "description": "Use this when someone pastes past sales numbers and asks what to expect next month, next quarter or next season. Takes 3 to 365 monthly, weekly or daily totals (oldest first) and returns the next periods with an 80 percent range, the model used (Holt-Winters seasonal, damped trend, Croston for intermittent demand, or moving average) and why. Works without a connected store.",
          "inputSchema": {
            "type": "object",
            "title": "forecast_demand_seriesArguments",
            "required": [
              "sales"
            ],
            "properties": {
              "sales": {
                "type": "array",
                "items": {
                  "type": "number"
                },
                "title": "Sales",
                "maxItems": 365,
                "minItems": 3,
                "description": "Past sales totals per period, oldest first."
              },
              "period": {
                "enum": [
                  "monthly",
                  "weekly",
                  "daily"
                ],
                "type": "string",
                "title": "Period",
                "default": "monthly",
                "description": "Granularity of the sales list."
              },
              "horizon": {
                "type": "integer",
                "title": "Horizon",
                "default": 6,
                "maximum": 90,
                "minimum": 1,
                "description": "Periods to forecast: up to 12 monthly, 26 weekly, 90 daily."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "title": "DemandForecastCalculation",
            "required": [
              "period",
              "method",
              "method_label",
              "confidence",
              "forecast",
              "lower",
              "upper",
              "history_points",
              "history_average",
              "trend",
              "seasonality",
              "notes"
            ],
            "properties": {
              "lower": {
                "type": "array",
                "items": {
                  "type": "number"
                },
                "title": "Lower"
              },
              "notes": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "title": "Notes"
              },
              "trend": {
                "type": "string",
                "title": "Trend"
              },
              "upper": {
                "type": "array",
                "items": {
                  "type": "number"
                },
                "title": "Upper"
              },
              "method": {
                "type": "string",
                "title": "Method"
              },
              "period": {
                "type": "string",
                "title": "Period"
              },
              "forecast": {
                "type": "array",
                "items": {
                  "type": "number"
                },
                "title": "Forecast"
              },
              "confidence": {
                "type": "string",
                "title": "Confidence"
              },
              "seasonality": {
                "type": "string",
                "title": "Seasonality"
              },
              "connect_hint": {
                "type": "string",
                "title": "Connect Hint",
                "default": "Forthcast does this automatically for Shopify stores: https://apps.shopify.com/forthcast",
                "description": "How to get this done automatically on live store data."
              },
              "method_label": {
                "type": "string",
                "title": "Method Label"
              },
              "history_points": {
                "type": "integer",
                "title": "History Points"
              },
              "history_average": {
                "type": "number",
                "title": "History Average"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Forecast demand series",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "score_inventory_health",
          "title": "Score inventory health",
          "description": "Use this when someone shares a list or CSV of products with stock and sales rates and asks which need reordering, which are overstocked, or how healthy the inventory is. Up to 500 rows. Applies Forthcast's urgency bands (Order now, Plan ahead, On track, Excess, No demand), reorder points, suggested quantities and inventory value. Works without a connected store.",
          "inputSchema": {
            "type": "object",
            "$defs": {
              "InventoryRowInput": {
                "type": "object",
                "title": "InventoryRowInput",
                "required": [
                  "sku",
                  "on_hand"
                ],
                "properties": {
                  "sku": {
                    "type": "string",
                    "title": "Sku",
                    "maxLength": 64,
                    "minLength": 1,
                    "description": "SKU or product name."
                  },
                  "on_hand": {
                    "type": "number",
                    "title": "On Hand",
                    "description": "Units available now."
                  },
                  "on_order": {
                    "anyOf": [
                      {
                        "type": "number",
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "On Order",
                    "default": null,
                    "description": "Units on open purchase orders."
                  },
                  "unit_cost": {
                    "anyOf": [
                      {
                        "type": "number",
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Unit Cost",
                    "default": null,
                    "description": "Cost per unit, for valuation."
                  },
                  "demand_per_day": {
                    "anyOf": [
                      {
                        "type": "number",
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Demand Per Day",
                    "default": null,
                    "description": "Average units sold per day."
                  },
                  "lead_time_days": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 730,
                        "minimum": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Lead Time Days",
                    "default": null,
                    "description": "Supplier lead time in days."
                  },
                  "demand_per_month": {
                    "anyOf": [
                      {
                        "type": "number",
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Demand Per Month",
                    "default": null,
                    "description": "Average units sold per month (if no daily figure)."
                  },
                  "demand_std_daily": {
                    "anyOf": [
                      {
                        "type": "number",
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Demand Std Daily",
                    "default": null,
                    "description": "Standard deviation of daily demand, if known."
                  }
                },
                "additionalProperties": false
              }
            },
            "title": "score_inventory_healthArguments",
            "required": [
              "items"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/InventoryRowInput"
                },
                "title": "Items",
                "maxItems": 500,
                "minItems": 1,
                "description": "Products to score."
              },
              "service_level": {
                "type": "number",
                "title": "Service Level",
                "default": 0.95,
                "maximum": 99,
                "minimum": 0.5,
                "description": "Target in-stock probability, 0.50 to 0.99."
              },
              "default_lead_time_days": {
                "type": "integer",
                "title": "Default Lead Time Days",
                "default": 14,
                "maximum": 730,
                "minimum": 1,
                "description": "Lead time for rows that give none."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$defs": {
              "ScoredInventoryRow": {
                "type": "object",
                "title": "ScoredInventoryRow",
                "required": [
                  "sku",
                  "urgency",
                  "urgency_label",
                  "on_hand",
                  "on_order",
                  "average_daily_demand",
                  "reorder_point",
                  "safety_stock",
                  "suggested_quantity",
                  "lead_time_days"
                ],
                "properties": {
                  "sku": {
                    "type": "string",
                    "title": "Sku"
                  },
                  "note": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Note",
                    "default": null
                  },
                  "on_hand": {
                    "type": "number",
                    "title": "On Hand"
                  },
                  "urgency": {
                    "type": "string",
                    "title": "Urgency"
                  },
                  "on_order": {
                    "type": "number",
                    "title": "On Order"
                  },
                  "safety_stock": {
                    "type": "number",
                    "title": "Safety Stock"
                  },
                  "days_of_cover": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Days Of Cover",
                    "default": null
                  },
                  "reorder_point": {
                    "type": "number",
                    "title": "Reorder Point"
                  },
                  "urgency_label": {
                    "type": "string",
                    "title": "Urgency Label"
                  },
                  "lead_time_days": {
                    "type": "integer",
                    "title": "Lead Time Days"
                  },
                  "inventory_value": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Inventory Value",
                    "default": null
                  },
                  "suggested_quantity": {
                    "type": "integer",
                    "title": "Suggested Quantity"
                  },
                  "average_daily_demand": {
                    "type": "number",
                    "title": "Average Daily Demand"
                  }
                },
                "additionalProperties": false
              }
            },
            "title": "InventoryHealthScore",
            "required": [
              "items",
              "counts",
              "rows_scored",
              "rows_skipped",
              "assumptions"
            ],
            "properties": {
              "items": {
                "type": "array",
                "items": {
                  "$ref": "#/$defs/ScoredInventoryRow"
                },
                "title": "Items"
              },
              "counts": {
                "type": "object",
                "title": "Counts",
                "additionalProperties": {
                  "type": "integer"
                }
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "title": "Assumptions"
              },
              "rows_scored": {
                "type": "integer",
                "title": "Rows Scored"
              },
              "connect_hint": {
                "type": "string",
                "title": "Connect Hint",
                "default": "Forthcast does this automatically for Shopify stores: https://apps.shopify.com/forthcast",
                "description": "How to get this done automatically on live store data."
              },
              "excess_value": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Excess Value",
                "default": null
              },
              "rows_skipped": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true
                },
                "title": "Rows Skipped"
              },
              "value_at_risk": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Value At Risk",
                "default": null
              },
              "total_inventory_value": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Total Inventory Value",
                "default": null
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Score inventory health",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "explain_inventory_metric",
          "title": "Explain inventory metric",
          "description": "Use this when someone asks what an inventory planning term means or how Forthcast calculates it: safety stock, reorder point, days of cover, urgency bands, service level, ABC class, EOQ, order quantity, fill rate, on-time rate, lead time, intermittent demand. Works without a connected store.",
          "inputSchema": {
            "type": "object",
            "title": "explain_inventory_metricArguments",
            "required": [
              "metric"
            ],
            "properties": {
              "metric": {
                "type": "string",
                "title": "Metric",
                "maxLength": 64,
                "minLength": 1,
                "description": "Metric name, for example 'reorder point' or 'days of cover'."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "title": "MetricExplanation",
            "required": [
              "found"
            ],
            "properties": {
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Name",
                "default": null
              },
              "found": {
                "type": "boolean",
                "title": "Found"
              },
              "metric": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Metric",
                "default": null
              },
              "formula": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Formula",
                "default": null
              },
              "related": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "title": "Related"
              },
              "definition": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Definition",
                "default": null
              },
              "connect_hint": {
                "type": "string",
                "title": "Connect Hint",
                "default": "Forthcast does this automatically for Shopify stores: https://apps.shopify.com/forthcast",
                "description": "How to get this done automatically on live store data."
              },
              "typical_targets": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Typical Targets",
                "default": null
              },
              "available_metrics": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "title": "Available Metrics"
              },
              "how_forthcast_computes_it": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "How Forthcast Computes It",
                "default": null
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Explain inventory metric",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": "Two kinds of tools. The calculate_, forecast_, score_ and explain_ tools work for anyone with no sign-in: use them when the user supplies numbers (demand, lead time, stock, sales history, a CSV). The get_, find_ and list_ tools read one connected Forthcast store and need the user to sign in; use them only when the user asks about their own live inventory, orders or suppliers. Prefer the overview for broad health questions, reorder recommendations for buying decisions, and the narrower item, purchase-order, or supplier tools when the user names those entities. All tools are read-only; never claim that a purchase order or inventory change was made. Public results include the assumptions used; state them when they matter."
  },
  "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."
}