Skip to main content
Glama

Create a route alert

create_itinerary

Watch a MULTI-NIGHT TRAVERSE — a trip needing a different zone each night, which create_alert cannot express. Use this whenever the user describes moving camp: 'four nights across the Rockwall', 'the Skyline end to end'.

TWO WAYS TO SPECIFY IT:

  1. PLANNED (prefer this). Call list_routes, pass the chosen variant's id as route_id, and OMIT nights — they are filled in from the route. park_id comes with it too.

  2. CUSTOM. Pass nights yourself: an ordered list, one entry per night, each naming a campground_id and the zone site_ids that would satisfy it. A night's site_ids are an OR-set — 'night 2 can be Numa Creek OR Tumbling Creek' is one alert, not two. 'all' is refused: a route needs explicit zones.

THE WINDOW IS A SEARCH WINDOW, not the trip. Every start day between window_start and window_end is tried, so a wider window is more chances to fire. It must span at least as many days as the route has nights, or nothing could ever match.

A route counts as ONE alert against quota however many nights it runs, and its legs never appear in list_my_alerts.

REFUSALS ARE INFORMATIVE, not retryable. A custom route can be refused as not walkable (non-adjacent zones), as mixing accommodation types that are booked separately, or as mixing single-permit traverses — a permit is one booking for the whole trip. Re-sending the same nights will be refused again: offer a planned route, or nights the provider can actually sell together.

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": {
      "window_start": "<window_start>",
      "window_end": "<window_end>"
    },
    "name": "create_itinerary"
  }
}

Input Schema

NameRequiredDescriptionDefault
nightsNoCustom route only. Ordered, one per night; omit when passing route_id.
park_idNoRequired for a custom route; implied by route_id.
route_idNoA variant id from list_routes. Supplies the nights and the park, and skips the adjacency check.
tent_padsNoParks Canada zone backcountry: pads the party needs. Feeds the capacity gate on every night.
notify_smsNoPro tier only, needs a verified phone, and it is the one channel that costs real money per send — it stays off unless the user has asked for texts.
party_sizeNoPeople in the party. Where inventory is per bed or per person (huts, some backcountry zones) an opening must fit this many.
window_endYesYYYY-MM-DD — latest day the trip may still be running. Must leave room for every night.
notify_pushNoSend a push notification to the account holder's phone when something opens. An alert always keeps at least one channel, as in the app: with push, email and SMS all off and no webhook_url, push stays ON and the response says so in notifications_note. A webhook_url counts as a channel, so an alert can deliver only to your endpoint with every human channel off.
notify_emailNoPaid tiers only; silently dropped otherwise.
window_startYesYYYY-MM-DD — earliest start day to try.

Output Schema

NameRequiredDescriptionDefault
idYes
legsNo
nightsNo
park_idNo
providerNo
route_idNo
is_activeNo
park_nameNo
tent_padsNo
created_atNo
notify_smsNo
party_sizeNo
scan_countNo
window_endNo
booking_urlNo
created_viaNo
notify_pushNo
open_routesNo
notify_emailNo
window_startNo
last_checked_atNo
created_by_agentNo
last_notified_atNo
notification_countNo
distinct_zone_countNo
availabilities_foundNo
night_openings_latestNo
night_openings_recentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / notify_push / description
      Previous value: -"Send a push notification to the account holder's phone when something opens."New value: +"Send a push notification to the account holder's phone when something opens. An alert always keeps at least one channel, as in the app: with push, email and SMS all off and no webhook_url, push stays ON and the response says so in notifications_note. A webhook_url counts as a channel, so an alert can deliver only to your endpoint with every human channel off."
  2. Changed27 schema fields changed
    • changedOutput schema / properties / availabilities_found / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / booking_url / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / created_at / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / created_by_agent / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / created_via / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / distinct_zone_count / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / is_active / type
      Previous value: -"boolean"New value: +[
      +  "boolean",
      +  "null"
      +]
    • changedOutput schema / properties / last_checked_at / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / last_notified_at / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / legs / type
      Previous value: -"array"New value: +[
      +  "array",
      +  "null"
      +]
    • changedOutput schema / properties / night_openings_latest / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / night_openings_recent / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / nights / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / notification_count / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / notify_email / type
      Previous value: -"boolean"New value: +[
      +  "boolean",
      +  "null"
      +]
    • changedOutput schema / properties / notify_push / type
      Previous value: -"boolean"New value: +[
      +  "boolean",
      +  "null"
      +]
    • changedOutput schema / properties / notify_sms / type
      Previous value: -"boolean"New value: +[
      +  "boolean",
      +  "null"
      +]
    • changedOutput schema / properties / open_routes / type
      Previous value: -"array"New value: +[
      +  "array",
      +  "null"
      +]
    • changedOutput schema / properties / park_id / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / park_name / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / party_size / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / provider / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / route_id / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / scan_count / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / tent_pads / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / window_end / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / window_start / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
  3. Changed2 schema fields changed
    • addedInput schema / properties / notify_push / description
      Added value: +"Send a push notification to the account holder's phone when something opens."
    • addedInput schema / properties / party_size / description
      Added value: +"People in the party. Where inventory is per bed or per person (huts, some backcountry zones) an opening must fit this many."
  4. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare the safety profile (readOnly=false, destructive=false, openWorld=true, idempotent=false). The description adds real behavior beyond that: a route counts as ONE alert against quota regardless of nights, its legs never appear in list_my_alerts, the window is a search window tried per start day, and refusals are non-retryable for specific structural reasons. These are exactly the traits an agent cannot infer from structured fields.

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 purpose, then cleanly sectioned into mode choice, window semantics, and refusal behavior — a reader can scan to the part they need. It runs long with heavy capitalization ('OMIT', 'ONE alert', 'MULTI-NIGHT') and some restatement of channel rules the schema already covers, which keeps it off a 5.

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 10-parameter, two-mode creation tool this covers everything an agent needs to call it correctly: how to pick a mode, the window-span constraint, quota accounting, and the specific refusal classes. An output schema exists, so the description is not obliged to document return values, and it still flags the notifications_note fallback.

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

Parameters5/5

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

Schema coverage is already 100%, so the baseline would be 3, but the description adds genuine semantics: route_id supplies nights and park_id and skips the adjacency check, nights must be omitted in planned mode, site_ids is an OR-set ('one alert, not two'), 'all' is refused, and window_end must span at least as many days as there are nights. None of that is derivable from the schema text 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?

States a specific verb and resource — watch a MULTI-NIGHT TRAVERSE — and immediately scopes it against the sibling: 'a trip needing a different zone each night, which create_alert cannot express.' An agent can distinguish this from create_alert 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 Guidelines5/5

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

Explicit when-to-use trigger ('whenever the user describes moving camp') with quoted example phrasings, plus two named paths: planned via list_routes or custom via nights. It also states when-not and what not to do — 'Re-sending the same nights will be refused again: offer a planned route' — which routes the agent away from a futile retry loop.

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