Skip to main content
Glama

Change settings of many monitors

bulk_update_monitors
Idempotent

Set identical interval, timeout, regions, channels, or threshold across up to 100 monitors in one all-or-nothing call.

Instructions

Set the same interval, timeout, regions, channels or threshold on up to 100 monitors in one call, all or nothing. For example, move twenty PING monitors to other regions. Not for config or name (use update_monitor, one monitor at a time) or tags (use bulk_update_monitor_tags). change_alerts_enabled turns on change alerts for the monitor (default false): on a DNS monitor, a confirmed NOTICE change of its DNS answers, outside maintenance and not reverted, goes to the monitor's alert channels. Certificate changes send no change alert; they show in the feed and the weekly digest, and a new certificate that stops covering a monitored host sends SSL_COVERAGE_LOST whatever this is set to. Requires a key with the write scope. The plan's rules apply to the result: an interval below the plan minimum, too many fast monitors, too many regions or an unknown region is a 403. A value one monitor cannot take (several regions on an SSL, DNS or port-list TCP monitor, or an interval under 300 on a port-list one) is a 422 that starts with monitors[] (""). Returns monitors: list_monitors rows, which show the interval but not the other settings; read those with get_monitor. Example: {"monitor_ids": ["", ""], "changes": {"regions": ["eu-central", "us-east"], "interval_seconds": 300}}

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": {
      "monitor_ids": "<monitor_ids>",
      "changes": "<changes>"
    },
    "name": "bulk_update_monitors"
  }
}

Input Schema

NameRequiredDescriptionDefault
changesYesThe values to set, at least one of: interval_seconds (30 to 86400), timeout_seconds (1 to 120), regions (region codes from limits.allowed_regions in get_plan_usage), channel_ids (channel uuids from list_channels; replaces each binding, [] clears it, an unknown channel is a 404, a muted one too unless every listed monitor is bound to it already), confirmation_threshold (1 to 10) and change_alerts_enabled (true or false: the opt-in to change alerts, default false). Omit a field to keep it; never send null.
monitor_idsYes1 to 100 distinct monitor uuids from list_monitors. A repeated id is a 422; an id that is not a monitor of this organization is a 404 naming it, and then nothing changes.

Output Schema

NameRequiredDescriptionDefault
monitorsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.6.0
    • changedInput schema / properties / changes / description
      Previous value: -"The values to set, at least one of: interval_seconds (30 to 86400), timeout_seconds (1 to 120), regions (region codes from limits.allowed_regions in get_plan_usage), channel_ids (channel uuids from list_channels; replaces each binding, [] clears it, an unknown channel is a 404), confirmation_threshold (1 to 10), notification_cooldown_seconds (60 to 86400) and change_alerts_enabled (true or false: the opt-in to change alerts, default false). Omit a field to keep it; never send null."New value: +"The values to set, at least one of: interval_seconds (30 to 86400), timeout_seconds (1 to 120), regions (region codes from limits.allowed_regions in get_plan_usage), channel_ids (channel uuids from list_channels; replaces each binding, [] clears it, an unknown channel is a 404, a muted one too unless every listed monitor is bound to it already), confirmation_threshold (1 to 10) and change_alerts_enabled (true or false: the opt-in to change alerts, default false). Omit a field to keep it; never send null."
    • addedInput schema / properties / changes / properties / channel_ids / description
      Added value: +"Ids of the notification channels to alert; email addresses are channels too. An empty list means every working channel of the organization (so does omitting it on create; on update, omitting it keeps the binding). A non-empty list replaces that default: only the listed channels are alerted, nobody else is emailed implicitly. If none of the alerted channels works, the organization's owner is emailed."
    • removedInput schema / properties / changes / properties / notification_cooldown_seconds
      Removed value: -{
      -  "maximum": 86400,
      -  "minimum": 60,
      -  "type": "integer"
      -}
  2. Changed2 schema fields changedv1.3.0
    • changedInput schema / properties / changes / description
      Previous value: -"The values to set, at least one of: interval_seconds (30 to 86400), timeout_seconds (1 to 120), regions (region codes from limits.allowed_regions in get_plan_usage), channel_ids (channel uuids from list_channels; replaces each binding, [] clears it, an unknown channel is a 404), confirmation_threshold (1 to 10) and notification_cooldown_seconds (60 to 86400). Omit a field to keep it; never send null."New value: +"The values to set, at least one of: interval_seconds (30 to 86400), timeout_seconds (1 to 120), regions (region codes from limits.allowed_regions in get_plan_usage), channel_ids (channel uuids from list_channels; replaces each binding, [] clears it, an unknown channel is a 404), confirmation_threshold (1 to 10), notification_cooldown_seconds (60 to 86400) and change_alerts_enabled (true or false: the opt-in to change alerts, default false). Omit a field to keep it; never send null."
    • addedInput schema / properties / changes / properties / change_alerts_enabled
      Added value: +{
      +  "type": "boolean"
      +}
  3. Changed3 schema fields changedv0.6.1
    • addedInput schema / properties / changes / description
      Added value: +"The values to set, at least one of: interval_seconds (30 to 86400), timeout_seconds (1 to 120), regions (region codes from limits.allowed_regions in get_plan_usage), channel_ids (channel uuids from list_channels; replaces each binding, [] clears it, an unknown channel is a 404), confirmation_threshold (1 to 10) and notification_cooldown_seconds (60 to 86400). Omit a field to keep it; never send null."
    • changedInput schema / properties / monitor_ids / description
      Previous value: -"Monitors to act on. Every id must belong to the active organization."New value: +"1 to 100 distinct monitor uuids from list_monitors. A repeated id is a 422; an id that is not a monitor of this organization is a 404 naming it, and then nothing changes."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "monitors": {
      +      "items": {
      +        "properties": {
      +          "id": {
      +            "format": "uuid",
      +            "type": "string"
      +          },
      +          "interval_seconds": {
      +            "type": "integer"
      +          },
      +          "is_active": {
      +            "type": "boolean"
      +          },
      +          "last_checked_at": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "ssl_expires_at": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "status": {
      +            "description": "Known values: PENDING, UP, DEGRADED, DOWN, PAUSED.",
      +            "type": "string"
      +          },
      +          "tags": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "target": {
      +            "type": "string"
      +          },
      +          "type": {
      +            "description": "Known values: HTTP, PING, SSL, TCP, DNS.",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "name",
      +          "type",
      +          "target",
      +          "status",
      +          "is_active",
      +          "interval_seconds",
      +          "ssl_expires_at",
      +          "last_checked_at"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "monitors"
      +  ],
      +  "type": "object"
      +}
  4. First observedv0.5.4

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare non-destructive, idempotent, closed-world, so the bar is lower, yet the description adds substantial context beyond them: all-or-nothing atomicity, write-scope key requirement, 403 plan-rule failures and 422 per-index validation failures with the monitors[<i>] format, plus detailed change_alerts_enabled semantics including that SSL coverage loss alerts regardless of the setting. It stops short of describing throttling or response ordering, but the behavioral surface is well covered.

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

Conciseness3/5

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

The main action, scope and sibling routing are correctly front-loaded, but the change_alerts_enabled/certificate passage is a long single-block digression that pushes the core usage guidance early and buries later caveats. Every sentence is informative, yet the description would read far better split into short labeled lines rather than one dense paragraph.

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?

An output schema exists, yet the description still clarifies that the return is list_monitors rows which show the interval but not the other settings, pointing to get_monitor for the rest. Combined with auth scope, plan-limit errors, atomicity and per-monitor failure modes, an agent has everything needed to call this correctly for a nested-object bulk mutation.

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 baseline would be 3, but the description adds meaning beyond the schema: it explains what change_alerts_enabled actually triggers on a DNS monitor, what certificate changes do and do not alert, the plan minimums that make interval_seconds/regions fail, and the per-monitor combinations that produce a 422 (several regions on SSL/DNS/port-list, interval under 300 on port-list). That is real semantic value the schema does not carry.

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 (set) and resource (many monitors) with explicit scope: the same interval, timeout, regions, channels or threshold on up to 100 monitors in one call, all-or-nothing. It also names what it is not for (config/name, tags) and routes to the corresponding siblings, so an agent can distinguish it from update_monitor and bulk_update_monitor_tags immediately.

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?

Gives explicit when-to-use (bulk uniform change, with the 'move twenty PING monitors to other regions' example) and explicit when-not-to-use, naming update_monitor for config/name and bulk_update_monitor_tags for tags. A concrete JSON example payload is included, leaving nothing to inference.

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