Skip to main content
Glama

Change uptime monitor

update_uptime_monitor
Destructive

Change an uptime monitor: its address, kind, interval ('make it check every 30 seconds'), keyword, port, expected status codes, when and how it alerts, its name or labels. Omitted fields stay as they are; the interval must be one the plan allows. Pause, resume, check now and delete are pause_monitor, resume_monitor, run_monitor and delete_monitor; where alerts go is the task's channels.

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": {
      "uuid": "<uuid>"
    },
    "name": "update_uptime_monitor"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoA new address (a host name for a port or DNS monitor)
kindNoWhat to check: 'http' (default) requests the address and is down when the HTTP status is outside expectedStatus, the request fails or times out, or the certificate is invalid; 'keyword' also reads the response and is down when keyword is missing (or present, with keywordMode 'absent'); 'port' opens a TCP connection to the host in url on port; 'dns' looks up the host's records of dnsRecordType (through public resolvers) and is down when there are none or they lack a value in dnsExpected; 'email' (the Email preset: url is the domain of the email addresses, example.com) watches its MX, SPF, DMARC and DKIM records: at setup Monity looks them up, tries the usual DKIM selectors (plus emailSelectors), keeps what it finds as the baseline, and alerts when one disappears, changes or becomes invalid (two SPF records, more than 10 SPF lookups, +all, a DMARC record without p=, a revoked DKIM key); refused when the domain has no email records; 'heartbeat' checks nothing itself: the person's job (a cron, a backup) calls the monitor's secret heartbeat URL, and it is down when no call arrives within the interval plus graceSeconds.
nameNoA new name
portNoport monitors: the TCP port (5432 for PostgreSQL, 443, 22…); the host is url.
uuidYesThe uptime monitor (from get_uptime_status or list_monitors)
labelsNoReplaces its labels by name; [] or null removes them all.
methodNoThe HTTP method (GET by default; HEAD for a lighter check, not with a keyword).
keywordNokeyword monitors: the text the response must contain (or must not, with keywordMode 'absent'), case-insensitive, e.g. 'Add to cart'.
ignoreTlsNoAccept an invalid or self-signed certificate (a staging server); default false. Expiry is still watched.
assertionsNohttp and keyword monitors: checks on the answer that must all pass, e.g. [{source:'json', path:'$.status', op:'equals', value:'ok'}] for an API health endpoint. [] removes them.
dnsExpectedNodns monitors: values the answer must include (an address, a host name, an MX host, a TXT string); none means any answer will do.
keywordModeNokeyword monitors: 'contains' (default) is down when the keyword is missing, 'absent' when it appears (e.g. 'Error' or 'Out of stock').
graceSecondsNoheartbeat monitors: how late a call may be before it is down: 60, 300 (default), 900, 1800, 3600 or 21600.
dnsRecordTypeNodns monitors: the record type to look up (A by default).
sslExpiryDaysNoHTTPS: warn this many days before the certificate expires: 0 (off), 3, 7, 14 (default) or 30.
emailSelectorsNoemail monitors: DKIM selectors to watch, the s= of a sent message's DKIM-Signature header (selector1, google, k1). On create they are tried with the usual ones; only those that answer with a key are kept. Leave it out unless the person names one.
expectedStatusNoHTTP codes that count as up: '200-399' by default; codes, ranges and '2xx' separated by commas ('200,401').
timeoutSecondsNoGive up after this many seconds: 5, 10, 15, 30 (default), 45 or 60.
alertOnRecoveryNoSend an alert when it is back up, with how long it was down (default true).
followRedirectsNoFollow redirects, up to five (default true); false counts a 3xx against expectedStatus.
intervalSecondsNoHow often, in seconds: 30, 60, 120, 300, 600, 900, 1800 or 3600; a heartbeat also 21600, 43200 or 86400, matching how often its job runs (86400 for nightly). Never faster than the plan allows (the error names what it allows). Leave it out unless the person names a speed: the default is every minute, or the plan's fastest when that is slower, and a day for a heartbeat. 1,000 checks use 1 credit: every minute is about 44 credits a month, 30 seconds about 87, 5 minutes about 9.
slowThresholdMsNoAlert when three checks in a row take longer than this many milliseconds (100 to 60000); 0 (default) is off.
domainExpiryDaysNoWarn this many days before the domain's registration expires: 0 (off), 7, 14, 30 (default) or 60. Checked once a day where the registry offers it.
alertAfterSecondsNoHold the down alert until it has been down this long: 0 (default, as soon as a failure is confirmed), 60, 120, 300, 600, 900, 1800 or 3600.
remindEverySecondsNoRepeat the down alert while it stays down: 0 (default, never), 900, 1800, 3600, 10800, 21600 or 86400.
keywordCaseSensitiveNokeyword monitors: match upper and lower case exactly (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and openWorldHint=true; the description adds real context beyond them: partial-update merge semantics, plan-enforced interval limits with the error naming what the plan allows, and credit costs per check frequency. It does not explicitly warn that changes take effect immediately or are irreversible, which would be the remaining gap for a destructive mutation.

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?

One dense but well-ordered paragraph: purpose first, then the field list, then the omission rule, then sibling routing. Given 26 parameters it is appropriately sized, though the parenthetical drill examples and the credit-cost aside add minor bulk that could be trimmed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 26-parameter mutation tool with no output schema, the description covers the two things an agent most needs: that untouched fields are preserved and where the outside-of-scope operations live. It omits what a successful response looks like and whether a confirmation step exists, which are the notable residual gaps.

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 already 100%, so the baseline is 3, but the description adds meaning the schema can't: the plan constraint on intervals, the example phrasing ('make it check every 30 seconds'), the default-when-omitted behavior, and credit economics. That is genuine added value rather than restated field definitions.

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?

Specific verb ('Change') plus resource ('an uptime monitor') and an explicit enumeration of the mutable fields (address, kind, interval, keyword, port, status codes, alerting, name, labels). It also names the exact siblings that handle adjacent operations, so the agent can distinguish this tool from pause_monitor, resume_monitor, run_monitor and delete_monitor without opening their schemas.

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?

States the key usage rule — 'Omitted fields stay as they are' — which tells the agent this is a partial update, and explicitly routes pause/resume/check-now/delete to four named alternatives. It also redirects alert-destination changes elsewhere ('where alerts go is the task's channels'), which is genuine when-not-to-use guidance.

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