Skip to main content
Glama

best_time_to_go

Read-only

Find the best departure time for any US trip by checking traffic, weather hazards, and incident history across a time window; returns a recommended departure or latest safe time to arrive by.

Instructions

When to leave (or visit) to beat traffic and weather, for any US trip.

Answers "what's a good time to visit X", "when should I leave for the airport", "is 5 PM bad". It checks up to 16 departures across the window and returns, for each: drive minutes for that weekday and hour (TomTom historical traffic; live too within the hour), arrival time, the NWS forecast for the arrival hour with driving hazards flagged (snow, ice, fog, thunder), and how many incidents usually start on the route that hour (CommuteScout history since July 2026).

recommended is the pick: quickest without severe weather, or with arrive_by, the latest departure that still arrives on time. summary states it in one or two sentences; departures has the whole curve if the user wants options. Departure times are in the origin's local time zone (time_zone), arrival times in the destination's (arrival_time_zone); they differ on trips that cross a time-zone line.

Pair with plan_trip for what is on the road right now.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "best_time_to_go"
  }
}

Input Schema

NameRequiredDescriptionDefault
dayNo'today' (default), 'tomorrow', a weekday name, or YYYY-MM-DD, up to 60 days out.
latestNoLatest departure to consider, e.g. '8pm'. Default 9:00 PM.
originNoAn address, landmark or place anywhere in the US, e.g. '1600 Pennsylvania Ave, Washington DC' or 'Pike Place Market'. Include city and state when you have them. 'home', 'work' or a saved place's name use the user's saved places (see get_my_places). Leave origin out to start from the user's Home.
earliestNoEarliest departure to consider, local time, e.g. '7am' or '07:00'. Default 6:00 AM.
arrive_byNoInstead of a window: the time the user must arrive, destination local time ('9am', 'tomorrow 9:00'). Returns the latest safe departure.
destinationNoAn address, landmark or place anywhere in the US, e.g. '1600 Pennsylvania Ave, Washington DC' or 'Pike Place Market'. Include city and state when you have them. 'home', 'work' or a saved place's name use the user's saved places (see get_my_places). Leave origin out to start from the user's Home.
step_minutesNoSpacing between departures checked. Default fits the window into 16.
origin_coordsNoExact 'lat,lon' instead of a place name, e.g. '47.6097,-122.3421'. Wins over the place name.
destination_coordsNoExact 'lat,lon' instead of a place name, e.g. '47.6097,-122.3421'. Wins over the place name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.132.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds real behavioral substance beyond that: the data sources (TomTom historical traffic, live within the hour; NWS forecast; CommuteScout incident history since July 2026), the 16-departure cap, hazard flagging for snow/ice/fog/thunder, and the time-zone split between departure and arrival times. Since there is no output schema, the description also carries the return-shape burden and does so by naming recommended, summary, and departures.

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?

Front-loaded with the purpose and the triggering questions, then the mechanism, then the return fields, then the sibling hand-off - a logical progression. The parenthetical source attributions are informative rather than filler, though the block is dense enough that an agent must read most of it to extract the arrival-window behavior.

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?

For a 9-parameter, zero-required, open-world planning tool with no output schema, the description covers what it computes, how many options it checks, what the returned keys mean, the time-zone convention across zones, and how the two calling modes (window vs arrive_by) differ. There is little an agent would need that is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline would be 3, but the description adds meaning the schema does not: arrive_by changes the selection rule to 'the latest departure that still arrives on time' rather than just being another bound, and the 16-departure cap explains what step_minutes is actually fitting. It does not clarify the origin_coords/destination_coords precedence (that lives only in the schema), keeping it from a 5.

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 opening line states a specific purpose ('when to leave (or visit) to beat traffic and weather') and then anchors it in the actual user questions it answers: 'what's a good time to visit X', 'when should I leave for the airport', 'is 5 PM bad'. It explicitly separates itself from the sibling plan_trip ('for what is on the road right now'), so an agent can choose without opening either schema.

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

Usage Guidelines4/5

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

Guidance is clear: use this for forward-looking departure planning, pair with plan_trip for current road conditions, and switch to arrive_by mode when the user has a fixed arrival time. It also states the concrete search envelope (up to 16 departures, default 6 AM to 9 PM window, up to 60 days out per the schema). It stops short of explicit exclusions or negative cases, so not quite a 5.

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