Skip to main content
Glama

Update check

update_check
Idempotent

Modify an existing uptime check by UID or slug: only supplied fields change, config is replaced whole, and the updated check is returned. It reschedules runs, records a version, and uses no quota.

Instructions

Update an existing check by UID or slug and return the updated check. PATCH semantics — only the fields you pass are modified, others stay as-is, except config, which is replaced whole rather than merged. Use create_check to make a new check and delete_check to remove one; to pause without deleting, set enabled:false instead. A change of regions, period, config or enabled reschedules the check's runs, and every update is recorded as one version in its history. No quota is consumed; reversible by updating again with the previous values. Requires the mcp scope (mcp:read tokens are refused) and at least the user role in the organization.

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": {
      "identifier": "<identifier>"
    },
    "name": "update_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew human-readable name, e.g. "API production".
slugNoNew URL-friendly slug, e.g. "api-prod".
configNoReplace check-specific config (full object — not merged).
labelsNoReplace labels object (empty object clears all). Example: {"env":"staging"}.
periodNoNew check interval as HH:MM:SS, e.g. "00:00:30" for 30 seconds.
enabledNoToggle whether the check runs. Set to false to pause the check, true to resume it.
regionsNoPin the check to exactly these regions, e.g. ["eu-west-1","us-east-1"] (placement becomes "pinned"). An empty array puts the check back on the default placement: automatic across regionCount healthy regions (unless the org's own default_regions names a private location, which pins it to those defaults). The check keeps running either way; use enabled: false to stop it.
placementNoSwitch the placement: "auto" lets the scheduler place the check (keeping its current region count and every current region still healthy) and move it off a region that goes dark; "pinned" freezes the current regions unless regions is also given.
failQuorumNoMulti-region quorum: how many of the check's regions must be failing, for the confirmation period, before it is down and an incident opens. "all", "majority" or a whole number such as "2" (clamped to the region count). The default is all regions for 1-2 regions and a majority for 3+. Fewer failing regions than the quorum is a "regional issue": the check shows warning and no incident opens. "all" keeps the per-result rule: any passing region resets the confirmation. Pass "default" to put the check back on the default.
identifierYesCheck UID or URL-friendly slug, e.g. "api-prod" or "63d49e55-97e3-4e8c-b7ab-c862de7a43f3".
regionPoolNoAutomatic placement only: candidate cloud region slugs; an empty array means any. Implies placement auto.
descriptionNoUpdated free-text description shown in the UI.
regionCountNoAutomatic placement only: how many regions run the check. Implies placement auto.
checkGroupUidNoMove to a different group (UID or slug). Pass an empty string to ungroup.
sealedSecretsNoCheck secrets sealed for the org's agents (private regions only): {"keys":["basicAuth"],"fingerprints":["…"],"ct":"<base64 age file>"}. Fetch the recipients from GET /api/v1/orgs/{org}/sealing-recipients and seal with the age CLI or dash0. Prefer it to plaintext secrets: an org in browser sealing mode `required` refuses plaintext ones. Seal a `_binding` (type and target digest) next to the secrets and send "bound":true, or use `solidping seal --type --config-json`: the agents refuse the secrets once the check's URL, host or port changes (409 SEALED_TARGET_CHANGED).
resolveOpenIncidentsNoWith enabled:false, also close the check's open incidents (resolution type check_disabled).
recoveryPeriodSecondsNoWall-clock seconds the check must stay UP before auto-resolving. Any failure inside the window resets the recovery clock. 0 = resolve immediately. Range 0–86400.
confirmationPeriodSecondsNoWall-clock seconds to wait after the first failure before opening an incident. 0 = open immediately. Range 0–86400 (one day).

Output Schema

NameRequiredDescriptionDefault
uidYesCheck UID.
nameNoHuman-readable name.
slugNoURL-friendly slug.
typeNoCheck type, e.g. "http".
configNoCheck-specific configuration for the type.
labelsNoKey-value labels.
periodNoCheck interval as HH:MM:SS.
statusNoSynthesized status: up, down, validating, created or degraded.
enabledNoWhether the check runs.
regionsNoRegions the check runs from.
createdAtNoRFC3339 creation timestamp.
placementNo"pinned" or "auto".
descriptionNoFree-text description.
lastResultAtNoRFC3339 timestamp of the newest real result.
checkGroupUidNoCheck group UID, when the check belongs to a group.
statusChangedAtNoRFC3339 timestamp of the last status change.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.48.0
    • addedInput schema / properties / sealedSecrets
      Added value: +{
      +  "description": "Check secrets sealed for the org's agents (private regions only): {\"keys\":[\"basicAuth\"],\"fingerprints\":[\"…\"],\"ct\":\"<base64 age file>\"}. Fetch the recipients from GET /api/v1/orgs/{org}/sealing-recipients and seal with the age CLI or dash0. Prefer it to plaintext secrets: an org in browser sealing mode `required` refuses plaintext ones. Seal a `_binding` (type and target digest) next to the secrets and send \"bound\":true, or use `solidping seal --type --config-json`: the agents refuse the secrets once the check's URL, host or port changes (409 SEALED_TARGET_CHANGED).",
      +  "type": "object"
      +}
  2. Changed10 schema fields changedv0.42.0
    • addedInput schema / properties / checkGroupUid / maxLength
      Added value: +2048
    • addedInput schema / properties / description / maxLength
      Added value: +2048
    • addedInput schema / properties / failQuorum / maxLength
      Added value: +2048
    • addedInput schema / properties / identifier / maxLength
      Added value: +2048
    • addedInput schema / properties / identifier / minLength
      Added value: +1
    • addedInput schema / properties / name / maxLength
      Added value: +2048
    • addedInput schema / properties / period / maxLength
      Added value: +2048
    • addedInput schema / properties / placement / maxLength
      Added value: +2048
    • addedInput schema / properties / resolveOpenIncidents
      Added value: +{
      +  "description": "With enabled:false, also close the check's open incidents (resolution type check_disabled).",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / slug / maxLength
      Added value: +2048
  3. Changed2 schema fields changedv0.41.0
    • addedInput schema / additionalProperties
      Added value: +false
    • addedOutput schema / additionalProperties
      Added value: +false
  4. Changed7 schema fields changedv0.38.5
    • changedInput schema / properties / enabled / description
      Previous value: -"Toggle whether the check runs."New value: +"Toggle whether the check runs. Set to false to pause the check, true to resume it."
    • addedInput schema / properties / failQuorum
      Added value: +{
      +  "description": "Multi-region quorum: how many of the check's regions must be failing, for the confirmation period, before it is down and an incident opens. \"all\", \"majority\" or a whole number such as \"2\" (clamped to the region count). The default is all regions for 1-2 regions and a majority for 3+. Fewer failing regions than the quorum is a \"regional issue\": the check shows warning and no incident opens. \"all\" keeps the per-result rule: any passing region resets the confirmation. Pass \"default\" to put the check back on the default.",
      +  "type": "string"
      +}
    • addedInput schema / properties / placement
      Added value: +{
      +  "description": "Switch the placement: \"auto\" lets the scheduler place the check (keeping its current region count and every current region still healthy) and move it off a region that goes dark; \"pinned\" freezes the current regions unless regions is also given.",
      +  "type": "string"
      +}
    • addedInput schema / properties / regionCount
      Added value: +{
      +  "description": "Automatic placement only: how many regions run the check. Implies placement auto.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / regionPool
      Added value: +{
      +  "description": "Automatic placement only: candidate cloud region slugs; an empty array means any. Implies placement auto.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / properties / regions / description
      Previous value: -"Replace region list, e.g. [\"eu-west-1\",\"us-east-1\"]. Pass an empty array to run from no regions (effectively pauses execution)."New value: +"Pin the check to exactly these regions, e.g. [\"eu-west-1\",\"us-east-1\"] (placement becomes \"pinned\"). An empty array puts the check back on the default placement: automatic across regionCount healthy regions (unless the org's own default_regions names a private location, which pins it to those defaults). The check keeps running either way; use enabled: false to stop it."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "checkGroupUid": {
      +      "description": "Check group UID, when the check belongs to a group.",
      +      "type": "string"
      +    },
      +    "config": {
      +      "description": "Check-specific configuration for the type.",
      +      "type": "object"
      +    },
      +    "createdAt": {
      +      "description": "RFC3339 creation timestamp.",
      +      "type": "string"
      +    },
      +    "description": {
      +      "description": "Free-text description.",
      +      "type": "string"
      +    },
      +    "enabled": {
      +      "description": "Whether the check runs.",
      +      "type": "boolean"
      +    },
      +    "labels": {
      +      "description": "Key-value labels.",
      +      "type": "object"
      +    },
      +    "lastResultAt": {
      +      "description": "RFC3339 timestamp of the newest real result.",
      +      "type": "string"
      +    },
      +    "name": {
      +      "description": "Human-readable name.",
      +      "type": "string"
      +    },
      +    "period": {
      +      "description": "Check interval as HH:MM:SS.",
      +      "type": "string"
      +    },
      +    "placement": {
      +      "description": "\"pinned\" or \"auto\".",
      +      "type": "string"
      +    },
      +    "regions": {
      +      "description": "Regions the check runs from.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "slug": {
      +      "description": "URL-friendly slug.",
      +      "type": "string"
      +    },
      +    "status": {
      +      "description": "Synthesized status: up, down, validating, created or degraded.",
      +      "type": "string"
      +    },
      +    "statusChangedAt": {
      +      "description": "RFC3339 timestamp of the last status change.",
      +      "type": "string"
      +    },
      +    "type": {
      +      "description": "Check type, e.g. \"http\".",
      +      "type": "string"
      +    },
      +    "uid": {
      +      "description": "Check UID.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "uid"
      +  ],
      +  "type": "object"
      +}
  5. First observedv0.32.1

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnly, idempotent and destructive hints; the description goes further with PATCH semantics, config replacement, rescheduling side effects, version history recording, no quota consumption, reversibility via a second update, and the required mcp scope plus user role. It also implies idempotency is state-based while still creating a history version, which the annotations alone would not convey.

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-loads the core operation and return value, then layers semantics, alternatives, side effects and finally auth. Every sentence carries information, though the auth requirement is buried at the end of a dense single block and would read better as its own sentence.

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 an 18-parameter mutation tool with an output schema, the description covers the safety profile, side effects, auth prerequisites and reversibility. Nothing an agent needs to call it correctly 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 is 3, but the description adds cross-parameter meaning the schema does not: PATCH semantics, config being replaced rather than merged, and the fact that changes to regions, period, config or enabled reschedule runs. It stops short of clarifying the interplay between placement, regions and regionCount beyond what the schema states.

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 ("Update an existing check by UID or slug") and names the return ("the updated check"). It also routes away from siblings (create_check, delete_check) so the agent can distinguish it 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?

Explicitly names alternatives and the condition selecting them: create_check for new checks, delete_check for removal, and enabled:false to pause instead of deleting. Exclusions are stated, not implied.

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