Toolpal

@toolpal/meeting-planner

public

v2.0published 1 download this weekMIT

Finds meeting times across cities and time zones, with daylight saving time handled exactly. Lists the windows on a given day when everyone is within working hours (or, if there are none, the windows that suit the most people), and converts a proposed time into every participant's local time. Offline, no API key needed.

manifest.json9.2 KBRaw
{
  "manifestVersion": 1,
  "name": "@toolpal/meeting-planner",
  "version": "2.0",
  "description": "Finds meeting times across cities and time zones, with daylight saving time handled exactly. Lists the windows on a given day when everyone is within working hours (or, if there are none, the windows that suit the most people), and converts a proposed time into every participant's local time. Offline, no API key needed.",
  "license": "MIT",
  "keywords": [
    "meeting",
    "timezone",
    "scheduling",
    "dst",
    "calendar",
    "productivity"
  ],
  "entry": "dist/tool.mjs",
  "sdk": "0.1.0",
  "engines": {
    "node": ">=22.15.0"
  },
  "inputSchema": {
    "type": "object",
    "required": [
      "zones"
    ],
    "properties": {
      "zones": {
        "type": "array",
        "items": {
          "type": "string",
          "maxLength": 60
        },
        "minItems": 1,
        "maxItems": 12,
        "description": "Cities or IANA time zones, e.g. [\"New York\", \"London\", \"Asia/Kolkata\"]. The first is the reference for date and time."
      },
      "date": {
        "type": "string",
        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
        "description": "Day to plan, YYYY-MM-DD in the first zone; today there by default"
      },
      "time": {
        "type": "string",
        "pattern": "^([01]?\\d|2[0-3]):[0-5]\\d$",
        "description": "A proposed meeting time, HH:MM in the first zone, to convert for everyone"
      },
      "workdayStart": {
        "type": "integer",
        "minimum": 0,
        "maximum": 23,
        "description": "Start of working hours, 9 by default"
      },
      "workdayEnd": {
        "type": "integer",
        "minimum": 1,
        "maximum": 24,
        "description": "End of working hours, 18 by default"
      },
      "includeWeekends": {
        "type": "boolean",
        "description": "Count Saturday and Sunday as working days; false by default"
      }
    }
  },
  "outputSchema": {
    "type": "object",
    "required": [
      "date",
      "workingHours",
      "zones",
      "everyoneAvailable",
      "windows",
      "summary"
    ],
    "properties": {
      "date": {
        "type": "string"
      },
      "workingHours": {
        "type": "string"
      },
      "zones": {
        "type": "array",
        "items": {
          "type": "object",
          "required": [
            "input",
            "timeZone",
            "utcOffset"
          ],
          "properties": {
            "input": {
              "type": "string"
            },
            "timeZone": {
              "type": "string"
            },
            "utcOffset": {
              "type": "string",
              "description": "Offset in effect on that day"
            },
            "proposedTime": {
              "type": "string"
            },
            "proposedTimeIsWorkingHours": {
              "type": "boolean"
            }
          }
        }
      },
      "everyoneAvailable": {
        "type": "boolean",
        "description": "Whether some window has every participant within working hours"
      },
      "windows": {
        "type": "array",
        "items": {
          "type": "object",
          "required": [
            "startUtc",
            "endUtc",
            "durationMinutes",
            "local"
          ],
          "properties": {
            "startUtc": {
              "type": "string"
            },
            "endUtc": {
              "type": "string"
            },
            "durationMinutes": {
              "type": "integer"
            },
            "local": {
              "type": "array",
              "items": {
                "type": "object",
                "required": [
                  "timeZone",
                  "from",
                  "to",
                  "working"
                ],
                "properties": {
                  "timeZone": {
                    "type": "string"
                  },
                  "from": {
                    "type": "string"
                  },
                  "to": {
                    "type": "string"
                  },
                  "working": {
                    "type": "boolean"
                  }
                }
              }
            }
          }
        }
      },
      "summary": {
        "type": "string"
      }
    }
  },
  "examples": [
    {
      "title": "New York & London overlap",
      "prompt": "Find working-hour overlap between New York and London on 2026-11-24 and check 10:00 AM NY",
      "input": {
        "zones": [
          "New York",
          "London"
        ],
        "date": "2026-11-24",
        "time": "10:00"
      },
      "output": {
        "date": "2026-11-24",
        "workingHours": "09:00–18:00, Mon–Fri",
        "zones": [
          {
            "input": "New York",
            "timeZone": "America/New_York",
            "utcOffset": "UTC-05:00",
            "proposedTime": "Tue 2026-11-24 10:00",
            "proposedTimeIsWorkingHours": true
          },
          {
            "input": "London",
            "timeZone": "Europe/London",
            "utcOffset": "UTC+00:00",
            "proposedTime": "Tue 2026-11-24 15:00",
            "proposedTimeIsWorkingHours": true
          }
        ],
        "everyoneAvailable": true,
        "windows": [
          {
            "startUtc": "2026-11-24T14:00Z",
            "endUtc": "2026-11-24T18:00Z",
            "durationMinutes": 240,
            "local": [
              {
                "timeZone": "America/New_York",
                "from": "Tue 2026-11-24 09:00",
                "to": "Tue 2026-11-24 13:00",
                "working": true
              },
              {
                "timeZone": "Europe/London",
                "from": "Tue 2026-11-24 14:00",
                "to": "Tue 2026-11-24 18:00",
                "working": true
              }
            ]
          }
        ],
        "summary": "All 2 participants are within working hours for 4h 0m on 2026-11-24, in 1 window(s)."
      }
    },
    {
      "title": "Three continents (best partial windows)",
      "prompt": "Find the best meeting windows for San Francisco, London, and Bengaluru on 2026-11-24",
      "input": {
        "zones": [
          "San Francisco",
          "London",
          "Bengaluru"
        ],
        "date": "2026-11-24",
        "time": "09:00"
      },
      "output": {
        "date": "2026-11-24",
        "workingHours": "09:00–18:00, Mon–Fri",
        "zones": [
          {
            "input": "San Francisco",
            "timeZone": "America/Los_Angeles",
            "utcOffset": "UTC-08:00",
            "proposedTime": "Tue 2026-11-24 09:00",
            "proposedTimeIsWorkingHours": true
          },
          {
            "input": "London",
            "timeZone": "Europe/London",
            "utcOffset": "UTC+00:00",
            "proposedTime": "Tue 2026-11-24 17:00",
            "proposedTimeIsWorkingHours": true
          },
          {
            "input": "Bengaluru",
            "timeZone": "Asia/Kolkata",
            "utcOffset": "UTC+05:30",
            "proposedTime": "Tue 2026-11-24 22:30",
            "proposedTimeIsWorkingHours": false
          }
        ],
        "everyoneAvailable": false,
        "windows": [
          {
            "startUtc": "2026-11-24T09:00Z",
            "endUtc": "2026-11-24T12:30Z",
            "durationMinutes": 210,
            "local": [
              {
                "timeZone": "America/Los_Angeles",
                "from": "Tue 2026-11-24 01:00",
                "to": "Tue 2026-11-24 04:30",
                "working": false
              },
              {
                "timeZone": "Europe/London",
                "from": "Tue 2026-11-24 09:00",
                "to": "Tue 2026-11-24 12:30",
                "working": true
              },
              {
                "timeZone": "Asia/Kolkata",
                "from": "Tue 2026-11-24 14:30",
                "to": "Tue 2026-11-24 18:00",
                "working": true
              }
            ]
          },
          {
            "startUtc": "2026-11-24T17:00Z",
            "endUtc": "2026-11-24T18:00Z",
            "durationMinutes": 60,
            "local": [
              {
                "timeZone": "America/Los_Angeles",
                "from": "Tue 2026-11-24 09:00",
                "to": "Tue 2026-11-24 10:00",
                "working": true
              },
              {
                "timeZone": "Europe/London",
                "from": "Tue 2026-11-24 17:00",
                "to": "Tue 2026-11-24 18:00",
                "working": true
              },
              {
                "timeZone": "Asia/Kolkata",
                "from": "Tue 2026-11-24 22:30",
                "to": "Tue 2026-11-24 23:30",
                "working": false
              }
            ]
          }
        ],
        "summary": "No time on 2026-11-24 suits everyone; the windows below keep 2 of 3 participants within working hours."
      }
    }
  ],
  "permissions": {
    "net": false,
    "env": [],
    "tmp": false
  },
  "limits": {
    "timeoutMs": 10000,
    "memoryMb": 128
  },
  "build": {
    "toolpal": "0.1.0",
    "esbuild": "0.28.2",
    "options": "sha256-tMpkndD8HsDUvZadrPbEAMGGIGK7nvmTGxMMlUxy9Fo="
  }
}