Skip to main content
Glama

Create uptime monitor

create_uptime_monitor

Watch whether a website, API, keyword on a page, TCP port or cron job is up, and alert the moment it goes down and when it is back. Use it for 'tell me when example.com goes down', 'monitor my API every minute', 'check that my homepage still says Add to cart', 'watch port 5432 on db.example.com' and 'my backup should ping you every night'. With kind 'email' it watches a domain's email records (MX, SPF, DKIM, DMARC) for 'tell me if our email setup breaks' or 'watch our SPF and DMARC'. Not for changes in a page's content (prices, new posts): that is create_monitor. Monity checks from its own servers every 30 seconds to an hour, retries a failure twice (3 and 6 seconds later) before calling it down, warns before an HTTPS certificate expires, and sends alerts (down, back up with how long, certificate, slow, reminders) to the task's channels, email to the workspace by default. It is a task: it counts against the plan's active tasks. Returns the monitor with its interval, credits a month and link; a heartbeat monitor also returns the URL its job must call.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_uptime_monitor"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoThe address: https://… for 'http' and 'keyword' (a bare domain gets https://), a host name such as db.example.com for 'port' and 'dns'. A heartbeat needs none: it is only its label.
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.
nameNoIts name (defaults to the host, with the port for a port monitor)
portNoport monitors: the TCP port (5432 for PostgreSQL, 443, 22…); the host is url.
labelsNoLabel names to file it under; existing labels are reused.
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').
workspaceIdNoWorkspace to create it in (from list_workspaces); defaults to the person’s personal workspace.
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.6/5.0
Behavior5/5

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

Annotations only declare write/open-world/non-destructive; the description adds substantial behavior an agent cannot get from them: checks run from Monity's servers every 30s–1h, failures are retried twice (3s and 6s) before being called down, certificates are warned on expiry, and which alert events go to which channels. It also discloses side effects and cost — the monitor counts as an active task against the plan, and credits-per-month are stated per interval.

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 purpose, then examples, then the sibling exclusion, then behavioral/cost context — a sensible order for a 26-parameter tool. It is a dense paragraph rather than scan-friendly segments, and the email-kind sentence partially duplicates the enum description, but no sentence is idle given the tool's breadth.

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 mutation tool with 26 optional parameters and no output schema, the description still covers the essentials an agent needs: side effects (task quota, credit consumption), defaulting behavior (default interval, plan floor, errors naming the plan limit), and return values (monitor with interval, credits and link; heartbeat returns its URL). No required parameters exist, so the absence of ordering/prerequisite detail is not a gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the schema itself explains every parameter in depth (per-kind semantics for url, kind, heartbeat, dns, email selectors), so the description is largely restating it — e.g. the 'email' kind explanation duplicates the enum description. The description does add framing value by tying kinds to example use cases, but little syntax or constraint detail beyond what the schema already carries. Baseline 3 applies.

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?

Opens with a concrete verb and resource set ('Watch whether a website, API, keyword on a page, TCP port or cron job is up, and alert...'), enumerating the exact check kinds the tool creates. It also names the sibling it is not ('Not for changes in a page's content ... that is create_monitor'), so an agent can separate it from create_monitor without opening either 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?

Gives a series of natural-language triggers ('tell me when example.com goes down', 'my backup should ping you every night') plus an explicit exclusion routing content-change requests to create_monitor. The email-preset sentence further states the condition under which that kind applies. Nothing about when to pick this vs. an alternative is left to inference.

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