{
  "schemaVersion": "2026-06-02",
  "name": "Aligner Calculator",
  "description": "Machine-readable tool manifest for calculating aligner tray change dates.",
  "origin": "https://calculator.glamour.dental",
  "llmsTxt": "https://calculator.glamour.dental/llms.txt",
  "openapi": "https://calculator.glamour.dental/openapi.json",
  "tools": [
    {
      "name": "aligner_schedule_calculator",
      "title": "Aligner Schedule Calculator",
      "description": "Calculate aligner tray change dates for a treatment plan.",
      "version": "1.0.0",
      "riskLevel": "low",
      "auth": {
        "type": "none"
      },
      "annotations": {
        "readOnlyHint": true
      },
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "currentTray",
          "nextTrayFrom",
          "nextTrayTo",
          "daysPerTray",
          "startDate"
        ],
        "properties": {
          "currentTray": {
            "type": "integer",
            "minimum": 1,
            "description": "Current aligner tray number."
          },
          "nextTrayFrom": {
            "type": "integer",
            "minimum": 1,
            "description": "First future tray number to include in the schedule. Must be greater than currentTray."
          },
          "nextTrayTo": {
            "type": "integer",
            "minimum": 1,
            "description": "Last future tray number to include in the schedule. Must be greater than or equal to nextTrayFrom."
          },
          "daysPerTray": {
            "type": "integer",
            "minimum": 1,
            "description": "Number of days each aligner tray is worn."
          },
          "startDate": {
            "type": "string",
            "format": "date",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "Date for the current tray in YYYY-MM-DD format."
          }
        }
      },
      "outputSchema": {
        "$ref": "https://calculator.glamour.dental/openapi.json#/components/schemas/AlignerScheduleResponse"
      },
      "implementation": {
        "type": "http",
        "method": "GET",
        "path": "/api/aligner",
        "openapiOperation": "https://calculator.glamour.dental/openapi.json#/paths/~1api~1aligner/get",
        "queryParameters": [
          "currentTray",
          "nextTrayFrom",
          "nextTrayTo",
          "daysPerTray",
          "startDate"
        ]
      }
    }
  ]
}
