Skip to main content
Glama

Jet lag planner

jet-lag-planner
Read-onlyIdempotent

Builds a jet lag plan from the home and destination time zones, the flight’s local departure and arrival times and the traveller’s usual sleep. Returns the body-clock shift needed, the direction (advance or delay), and for each day before departure, the travel day and the days after arrival: a sleep window, light to seek, light to avoid and an optional caffeine cut-off. Based on published circadian research; general guidance, not medical advice. Web page: https://globalluxagency.com/tools/jet-lag-planner

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "homeTimeZone": "<homeTimeZone>",
      "destinationTimeZone": "<destinationTimeZone>",
      "departure": "<departure>",
      "arrival": "<arrival>"
    },
    "name": "jet-lag-planner"
  }
}

Input Schema

NameRequiredDescriptionDefault
arrivalYesArrival, local time at the destination, YYYY-MM-DDTHH:MM.
bedtimeNoUsual bedtime at home, HH:MM (24-hour).23:00
caffeineNoInclude a daily caffeine cut-off.
strategyNoShift the body clock earlier (advance), later (delay), or let the planner choose (auto).auto
wakeTimeNoUsual wake time at home, HH:MM (24-hour).07:00
departureYesDeparture, local time at home, YYYY-MM-DDTHH:MM.
homeTimeZoneYesIANA time zone at home, e.g. Europe/London.
preflightDaysNoDays before departure to start shifting sleep (0 = none; 2–3 suggested).
destinationTimeZoneYesIANA time zone at the destination, e.g. Asia/Dubai.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already establish readOnly, idempotent, non-destructive and closed-world behavior, so the safety profile is covered. The description goes further by disclosing the return shape in detail (body-clock shift, advance/delay direction, per-day sleep windows, light to seek/avoid, caffeine cut-off) and by flagging that output is research-based general guidance rather than medical advice — context an agent cannot get from annotations or schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core capability is front-loaded in the first sentence, with the return description immediately after and the disclaimer kept short. The long opening sentence is dense but every clause carries information; the trailing URL is minor padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With nine parameters, no output schema, and a non-trivial domain, the description does the work of explaining what comes back day by day and how the shift direction is determined. An agent has enough to decide to call it and to interpret the result without additional documentation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The prose maps onto several parameters (the two time zones, departure/arrival, and 'usual sleep'), but it adds no constraints or format details beyond the schema and says nothing about strategy, preflightDays, or the caffeine toggle, which the schema must carry alone.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and artifact — 'Builds a jet lag plan' — and enumerates exactly which inputs define it (home/destination time zones, local departure and arrival times, usual sleep). That framing clearly separates it from adjacent calculators such as flight-arrival-time-calculator, which compute a single value rather than a multi-day protocol.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: an agent can infer it applies when a traveller has known flights and wants pre-emptive circadian guidance. There is no explicit 'use this when…' statement, no mention of when a simpler calculator would suffice, and no preconditions such as how far in advance the plan is useful.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources