Skip to main content
Glama

Resume many monitors

bulk_resume_monitors
Idempotent

Resume up to 100 paused monitors in one all-or-nothing call; each returns to PENDING and is checked within seconds.

Instructions

Resume up to 100 paused monitors in one call, all or nothing; each goes back to PENDING and is checked within seconds. For one monitor use resume_monitor; to run a check right away on a monitor that is already running, use check_now. Requires a key with the write scope. Resuming more monitors than the plan's active limit allows is a 403 and nothing changes (see get_plan_usage). A monitor already running is left as it is. Returns monitors: the list_monitors rows after the change, in request order. Example: {"monitor_ids": ["", ""]}

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>"
    },
    "name": "bulk_resume_monitors"
  }
}

Input Schema

NameRequiredDescriptionDefault
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. Changed2 schema fields changedv0.6.1
    • 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"
      +}
  2. First observedv0.5.4

TDQS

A4.7/5.0
Behavior4/5

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

Goes well past the annotations by disclosing atomicity ('all or nothing'), the 403 plan-limit failure with no partial change, the write-scope auth requirement, and the no-op behavior for running monitors. The idempotentHint=true annotation is reinforced rather than contradicted. Minor gap: it does not say what the failure looks like for the 422/404 cases in terms of partial application, though the schema covers the 404 'nothing changes' case.

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

Conciseness5/5

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

Front-loads the core action and scope, then routes to alternatives, then states prerequisites and failure modes, then return shape and example. Every sentence carries distinct information; no restatement of the title.

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 one-parameter mutation with an output schema, the definition covers scope, atomicity, auth, failure codes, no-op semantics, and return ordering ('in request order'). Nothing an agent needs to call it correctly or interpret the result 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% and the single parameter is already fully documented, including the 422 repeated-id and 404 unknown-id cases, so the baseline is 3. The description adds a concrete call example and the provenance pointer ('id from list_monitors') plus the 100-item bound, which is modest but real added meaning.

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 (resume), a bounded batch scope (up to 100), and the resulting state (back to PENDING, checked within seconds). It explicitly separates itself from resume_monitor (single) and check_now (immediate check on a running monitor), so an agent can pick it without opening any 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?

Names three concrete alternatives with the conditions that select them: resume_monitor for one monitor, check_now for an immediate check, get_plan_usage for the active-limit check. It also gives an explicit precondition (write-scope key) and an exclusion (already-running monitors are left alone).

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