Skip to main content
Glama

Edit an alert

update_alert
DestructiveIdempotent

Change an existing alert instead of replacing it. Dates, nights, notifications, party size, activity and equipment can all be edited, and the campground_selections can be NARROWED.

Prefer this over delete-and-recreate: an alert carries its scan history and accumulated odds, a recreate throws both away and leaves the user unwatched in between.

An edit overwrites what the user set up, and removed sites cannot be added back. A new trip or request is a new alert, even on a park that already has one, unless the user named the alert to change.

SELECTIONS ONLY NARROW. You may remove sites, zones or campgrounds; you may not add any, and you may not change the park. Quota is priced on what an alert watches, so an edit that grew a selection would route around the check that priced it. To watch MORE, create a second alert, or delete this one and create it again with the full list — and say which you did.

Omit a field to leave it alone; pass null to clear one.

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": {
      "alert_id": "<alert_id>"
    },
    "name": "update_alert"
  }
}

Input Schema

NameRequiredDescriptionDefault
alert_idYesThe alert's id, from list_my_alerts or create_alert.
date_endNoYYYY-MM-DD — the last bookable NIGHT.
has_sewerNoOnly sites with a sewer hookup.
has_waterNoOnly sites with a water hookup.
pets_onlyNoOnly sites that allow pets.
tent_padsNoBackcountry ZONE inventory only (Parks Canada): how many tent pads the party needs. Ignored elsewhere.
date_startNoYYYY-MM-DD.
nights_maxNoLongest stay to accept, in nights; omit to accept any length from nights_min up.
nights_minNoShortest stay to accept, in nights.
notify_smsNoText message on a match. Pro tier only and silently dropped otherwise, needs a verified phone number, 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.
shade_onlyNoOnly sites with some shade (the park's own data).
split_stayNoAccept a stay split across DIFFERENT sites rather than one site for every night. More matches, at the cost of moving camp mid-trip.
days_filterNoWhich arrival days count: every day, weekends only, or weekdays only.
entry_datesNoENTRY-DATE inventory only: the exact dates wanted, YYYY-MM-DD. Replaces the current set, so pass every date you still want.
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.
is_tent_onlyNoOnly tent-only sites, for campers who want to avoid being pitched beside RVs. NOT the same as equipment_filter_mode 'tent'.
notify_emailNoPaid tiers only; silently dropped otherwise.
activity_typeNoThe activity the alert watches (as listed on the park: camping, backcountry, day_use, …).
is_accessibleNoOnly wheelchair-accessible sites.
has_electricityNoOnly sites with an electrical hookup.
is_pull_throughNoOnly pull-through sites (no reversing) — for big rigs.
toilet_in_rangeNoOnly sites with restrooms in good range: a flush/standard toilet within 100 m and no vault toilet under 40 m (the `toilet_handy` trait in list_zone_sites). Sites without mapped toilets do not match.
waterfront_onlyNoOnly waterfront sites (lake, river, ocean, island, springs).
sub_equipment_idNoFrom list_equipment_options for this park's provider. Never guess it: the integers are per-provider and a wrong one filters to the wrong sites silently.
min_electricity_ampsNoMinimum amperage. Also matches electric sites that don't state their amps. Use a value the park's sites list in electricity_amps; 0 clears the filter.
campground_selectionsNoThe NARROWED selection — a strict subset of what the alert already watches. Anything not listed stops being watched.
equipment_filter_modeNoWhat the user is camping IN. 'any' watches every site regardless. Pair 'tent' or 'rv' with sub_equipment_id from list_equipment_options — the mode alone does not say WHICH trailer.

Output Schema

NameRequiredDescriptionDefault
idYes
park_idNo
user_idNo
date_endNo
providerNo
has_sewerNo
has_waterNo
is_activeNo
park_nameNo
pets_onlyNo
tent_padsNo
alert_typeNo
created_atNo
date_startNo
nights_maxNo
nights_minNo
notify_smsNo
party_sizeNo
scan_countNo
shade_onlyNo
split_stayNo
updated_atNo
booking_urlNo
created_viaNo
days_filterNo
entry_datesNo
notify_pushNo
is_tent_onlyNo
notify_emailNo
activity_typeNo
day_use_cellsNo
is_accessibleNo
out_of_seasonNo
equipment_nameNo
has_electricityNo
is_pull_throughNo
last_checked_atNo
toilet_in_rangeNo
waterfront_onlyNo
created_by_agentNo
last_notified_atNo
auto_boost_activeNo
notification_countNo
cancellations_foundNo
availabilities_foundNo
min_electricity_ampsNo
campground_selectionsNo
equipment_filter_modeNo
op_access_point_resource_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / toilet_in_range / description
      Previous value: -"Only sites with restrooms in good range: a flush/standard toilet within 60 m and no vault toilet under 40 m (the `toilet_handy` trait in list_zone_sites). Sites without mapped toilets do not match."New value: +"Only sites with restrooms in good range: a flush/standard toilet within 100 m and no vault toilet under 40 m (the `toilet_handy` trait in list_zone_sites). Sites without mapped toilets do not match."
  2. Changed3 schema fields changed
    • addedInput schema / properties / shade_only
      Added value: +{
      +  "description": "Only sites with some shade (the park's own data).",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / toilet_in_range
      Added value: +{
      +  "description": "Only sites with restrooms in good range: a flush/standard toilet within 60 m and no vault toilet under 40 m (the `toilet_handy` trait in list_zone_sites). Sites without mapped toilets do not match.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / waterfront_only
      Added value: +{
      +  "description": "Only waterfront sites (lake, river, ocean, island, springs).",
      +  "type": "boolean"
      +}
  3. Changed1 schema field changed
    • addedOutput schema / properties / auto_boost_active
      Added value: +{
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
  4. 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."
  5. Changed3 schema fields changed
    • removedOutput schema / properties / avoid_traits
      Removed value: -{
      -  "type": [
      -    "array",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / prefer_traits
      Removed value: -{
      -  "type": [
      -    "array",
      -    "null"
      -  ]
      -}
    • addedOutput schema / properties / toilet_in_range
      Added value: +{
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
  6. Changed2 schema fields changed
    • addedOutput schema / properties / avoid_traits
      Added value: +{
      +  "type": [
      +    "array",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / prefer_traits
      Added value: +{
      +  "type": [
      +    "array",
      +    "null"
      +  ]
      +}
  7. Changed46 schema fields changed
    • changedOutput schema / properties / activity_type / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / alert_type / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • 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 / campground_selections / type
      Previous value: -"array"New value: +[
      +  "array",
      +  "null"
      +]
    • changedOutput schema / properties / cancellations_found / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "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 / date_end / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / date_start / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / day_use_cells / type
      Previous value: -"object"New value: +[
      +  "object",
      +  "null"
      +]
    • changedOutput schema / properties / days_filter / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / entry_dates / type
      Previous value: -"array"New value: +[
      +  "array",
      +  "null"
      +]
    • changedOutput schema / properties / equipment_filter_mode / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • addedOutput schema / properties / equipment_name
      Added value: +{}
    • changedOutput schema / properties / has_electricity / type
      Previous value: -"boolean"New value: +[
      +  "boolean",
      +  "null"
      +]
    • changedOutput schema / properties / has_sewer / type
      Previous value: -"boolean"New value: +[
      +  "boolean",
      +  "null"
      +]
    • changedOutput schema / properties / has_water / type
      Previous value: -"boolean"New value: +[
      +  "boolean",
      +  "null"
      +]
    • changedOutput schema / properties / is_accessible / type
      Previous value: -"boolean"New value: +[
      +  "boolean",
      +  "null"
      +]
    • changedOutput schema / properties / is_active / type
      Previous value: -"boolean"New value: +[
      +  "boolean",
      +  "null"
      +]
    • changedOutput schema / properties / is_pull_through / type
      Previous value: -"boolean"New value: +[
      +  "boolean",
      +  "null"
      +]
    • changedOutput schema / properties / is_tent_only / 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 / min_electricity_amps / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / nights_max / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / nights_min / 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 / op_access_point_resource_id / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "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 / pets_only / type
      Previous value: -"boolean"New value: +[
      +  "boolean",
      +  "null"
      +]
    • changedOutput schema / properties / provider / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / scan_count / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / shade_only / type
      Previous value: -"boolean"New value: +[
      +  "boolean",
      +  "null"
      +]
    • changedOutput schema / properties / split_stay / type
      Previous value: -"boolean"New value: +[
      +  "boolean",
      +  "null"
      +]
    • removedOutput schema / properties / sub_equipment_id
      Removed value: -{
      -  "type": "integer"
      -}
    • changedOutput schema / properties / tent_pads / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / updated_at / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / user_id / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / waterfront_only / type
      Previous value: -"boolean"New value: +[
      +  "boolean",
      +  "null"
      +]
  8. Changed6 schema fields changed
    • addedInput schema / properties / has_sewer
      Added value: +{
      +  "description": "Only sites with a sewer hookup.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / has_water
      Added value: +{
      +  "description": "Only sites with a water hookup.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / min_electricity_amps
      Added value: +{
      +  "description": "Minimum amperage. Also matches electric sites that don't state their amps. Use a value the park's sites list in electricity_amps; 0 clears the filter.",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / has_sewer
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / has_water
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / min_electricity_amps
      Added value: +{
      +  "type": "integer"
      +}
  9. Changed7 schema fields changed
    • addedInput schema / properties / activity_type / description
      Added value: +"The activity the alert watches (as listed on the park: camping, backcountry, day_use, …)."
    • addedInput schema / properties / alert_id / description
      Added value: +"The alert's id, from list_my_alerts or create_alert."
    • addedInput schema / properties / days_filter / description
      Added value: +"Which arrival days count: every day, weekends only, or weekdays only."
    • addedInput schema / properties / nights_max / description
      Added value: +"Longest stay to accept, in nights; omit to accept any length from nights_min up."
    • addedInput schema / properties / nights_min / description
      Added value: +"Shortest stay to accept, in nights."
    • 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."
  10. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description goes well beyond them: an edit overwrites the user's setup, removed sites cannot be re-added, scan history and accumulated odds are preserved versus a recreate, and quota pricing explains why growth is blocked. The omit-vs-null rule and the push-channel fallback are behavior an agent could not 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 the core action and the alternative, then layered constraints in short paragraphs with emphasis on the one hard rule. It runs long and repeats the narrowing point ('can be NARROWED' then a dedicated block), but that redundancy is deliberate for a constraint that silently breaks quota pricing.

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 28-parameter destructive mutation with an output schema and full annotation coverage, the description supplies exactly what is missing: when to use it, what is irreversible, why selections cannot grow, and how to clear versus preserve fields. Nothing an agent needs to invoke it safely is absent.

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 is 3, but the description adds real semantics on top: 'Omit a field to leave it alone; pass null to clear one' is a calling convention absent from the schema, and the narrowing constraint on campground_selections changes how that parameter must be constructed. It does not walk through the many filter booleans, but those are already self-documenting.

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 ('Change an existing alert instead of replacing it') and immediately frames it against the replace-style alternative (delete-and-recreate), so an agent can separate it from create_alert and delete_alert without opening a 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 routing: prefer this over delete-and-recreate, and 'a new trip or request is a new alert... unless the user named the alert to change' tells the agent when to call create_alert instead. It also states the workaround path (create a second alert, or delete and recreate) when more sites are needed.

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