Skip to main content
Glama
mcp-uptime-kuma

mcp-uptime-kuma

List Monitors

listMonitors
Read-only

Retrieve monitor configurations with filters for keywords, type, active state, maintenance, tags, and parent group; use returned fields and pagination to find monitor IDs or compare settings.

Instructions

Returns the configuration of every monitor, or of those matching the filters (keywords, type, active, maintenance, tags, parent group). Use it to find monitor IDs or compare settings; for current UP/DOWN status use getMonitorSummary instead. Type-specific fields such as url, hostname and port are returned only with includeTypeSpecificFields; fields returns only the fields you name. Returns up to 50 monitors per call; pass nextCursor back as cursor for the next page.

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": "listMonitors"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoTags a monitor must all have, comma-separated, each "name" or "name=value", case-insensitive. E.g. "production,env=staging"
typeNoMonitor type(s), comma-separated. listMonitorTypes lists them.
limitNoHow many monitors to return (default: 50)
activeNotrue: only active monitors; false: only paused ones
cursorNoThe nextCursor of the previous call, for the next page
fieldsNoOnly these fields, comma-separated, e.g. "name,url,active"; id is always returned. A type-specific field named here is returned without includeTypeSpecificFields. Default: every field.
keywordsNoSpace-separated keywords matched against the monitor's pathName, case-insensitively; all must match
parentIdNoOnly the direct children of this group monitor (not recursive); null for top-level monitors
maintenanceNotrue: only monitors in maintenance; false: only those not in maintenance
includeSecretsNoReturn credentials in full instead of "***"; they then stay in the transcript. Default: false, or UPTIME_KUMA_INCLUDE_SECRETS.
includeTypeSpecificFieldsNoAlso return type-specific fields such as url, hostname and port (default: false)

Output Schema

NameRequiredDescriptionDefault
countYesHow many monitors this page holds
totalYesHow many match the filters, across every page
monitorsYesArray of monitor objects with common fields plus uptime/avgPing. May include type-specific fields when includeTypeSpecificFields is true; with fields, only the fields asked for. Credentials (pushToken, basic_auth_pass, bearer_token, headers, ...) read "***" unless includeSecrets is set.
nextCursorNoPass as cursor for the next page; absent on the last page

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed19 schema fields changedv0.17.0
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • changedInput schema / properties / active / description
      Previous value: -"Filter by active status. true=only active monitors, false=only inactive monitors."New value: +"true: only active monitors; false: only paused ones"
    • addedInput schema / properties / cursor
      Added value: +{
      +  "description": "The nextCursor of the previous call, for the next page",
      +  "type": "string"
      +}
    • addedInput schema / properties / fields
      Added value: +{
      +  "description": "Only these fields, comma-separated, e.g. \"name,url,active\"; id is always returned. A type-specific field named here is returned without includeTypeSpecificFields. Default: every field.",
      +  "type": "string"
      +}
    • changedInput schema / properties / includeSecrets / description
      Previous value: -"Return credentials in full instead of \"***\". Off by default: this output is persisted in conversation transcripts and logs. Can also be enabled globally with UPTIME_KUMA_INCLUDE_SECRETS=true."New value: +"Return credentials in full instead of \"***\"; they then stay in the transcript. Default: false, or UPTIME_KUMA_INCLUDE_SECRETS."
    • changedInput schema / properties / includeTypeSpecificFields / description
      Previous value: -"Include type-specific fields (url, hostname, port, etc.) in addition to common fields. Default: false. When false, only returns MonitorBase fields plus uptime/avgPing."New value: +"Also return type-specific fields such as url, hostname and port (default: false)"
    • changedInput schema / properties / keywords / description
      Previous value: -"Space-separated keywords to filter monitors by pathName (case-insensitive fuzzy match). All keywords must match for a monitor to be included."New value: +"Space-separated keywords matched against the monitor's pathName, case-insensitively; all must match"
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "How many monitors to return (default: 50)",
      +  "exclusiveMinimum": 0,
      +  "type": "integer"
      +}
    • changedInput schema / properties / maintenance / description
      Previous value: -"Filter by maintenance status. true=only monitors in maintenance, false=only monitors not in maintenance."New value: +"true: only monitors in maintenance; false: only those not in maintenance"
    • changedInput schema / properties / parentId / description
      Previous value: -"Filter to the DIRECT children of this group monitor. Pass null for top-level monitors (those with no parent). Not recursive — use the group's own childrenIDs to walk deeper."New value: +"Only the direct children of this group monitor (not recursive); null for top-level monitors"
    • changedInput schema / properties / tags / description
      Previous value: -"Filter by tag name and optional value. Comma-separated for multiple tags. Format: \"tagName\" or \"tagName=value\". Monitor must have all specified tags. Case-insensitive. Examples: \"production\", \"env=staging\", \"production,region=us-east\""New value: +"Tags a monitor must all have, comma-separated, each \"name\" or \"name=value\", case-insensitive. E.g. \"production,env=staging\""
    • changedInput schema / properties / type / description
      Previous value: -"Filter by monitor type(s). Comma-separated for multiple types. Use listMonitorTypes tool to see all available types."New value: +"Monitor type(s), comma-separated. listMonitorTypes lists them."
    • removedOutput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • addedOutput schema / properties / count / description
      Added value: +"How many monitors this page holds"
    • changedOutput schema / properties / monitors / description
      Previous value: -"Array of monitor objects with common fields plus uptime/avgPing. May include type-specific fields when includeTypeSpecificFields is true. Credentials (pushToken, basic_auth_pass, bearer_token, headers, ...) read \"***\" unless includeSecrets is set."New value: +"Array of monitor objects with common fields plus uptime/avgPing. May include type-specific fields when includeTypeSpecificFields is true; with fields, only the fields asked for. Credentials (pushToken, basic_auth_pass, bearer_token, headers, ...) read \"***\" unless includeSecrets is set."
    • removedOutput schema / properties / monitors / items / required
      Removed value: -[
      -  "name",
      -  "type",
      -  "active",
      -  "interval",
      -  "retryInterval",
      -  "resendInterval",
      -  "maxretries",
      -  "upsideDown",
      -  "accepted_statuscodes"
      -]
    • addedOutput schema / properties / nextCursor
      Added value: +{
      +  "description": "Pass as cursor for the next page; absent on the last page",
      +  "type": "string"
      +}
    • addedOutput schema / properties / total
      Added value: +{
      +  "description": "How many match the filters, across every page",
      +  "type": "number"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "monitors",
      -  "count"
      -]New value: +[
      +  "monitors",
      +  "count",
      +  "total"
      +]
  2. Changed12 schema fields changedv0.13.0
    • addedOutput schema / definitions
      Added value: +{
      +  "__schema0": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "andOr": {
      +        "description": "Group logic operator",
      +        "enum": [
      +          "and",
      +          "or"
      +        ],
      +        "type": "string"
      +      },
      +      "children": {
      +        "description": "Nested conditions",
      +        "items": {
      +          "allOf": [
      +            {
      +              "$ref": "#/definitions/__schema0"
      +            }
      +          ]
      +        },
      +        "type": "array"
      +      },
      +      "operator": {
      +        "description": "Comparison operator",
      +        "type": "string"
      +      },
      +      "type": {
      +        "description": "A single comparison, or a group of nested conditions",
      +        "enum": [
      +          "expression",
      +          "group"
      +        ],
      +        "type": "string"
      +      },
      +      "value": {
      +        "description": "Expected value",
      +        "type": "string"
      +      },
      +      "variable": {
      +        "description": "Variable to check",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  }
      +}
    • addedOutput schema / properties / monitors / items / properties / conditions / items / $ref
      Added value: +"#/definitions/__schema0"
    • removedOutput schema / properties / monitors / items / properties / conditions / items / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / monitors / items / properties / conditions / items / properties
      Removed value: -{
      -  "andOr": {
      -    "description": "Group logic operator",
      -    "enum": [
      -      "and",
      -      "or"
      -    ],
      -    "type": "string"
      -  },
      -  "children": {
      -    "description": "Nested conditions",
      -    "items": {
      -      "$ref": "#/properties/monitors/items/properties/conditions/items"
      -    },
      -    "type": "array"
      -  },
      -  "operator": {
      -    "description": "Comparison operator",
      -    "type": "string"
      -  },
      -  "type": {
      -    "description": "Condition or group",
      -    "enum": [
      -      "condition",
      -      "group"
      -    ],
      -    "type": "string"
      -  },
      -  "value": {
      -    "description": "Expected value",
      -    "type": "string"
      -  },
      -  "variable": {
      -    "description": "Variable to check",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / monitors / items / properties / conditions / items / required
      Removed value: -[
      -  "type"
      -]
    • removedOutput schema / properties / monitors / items / properties / conditions / items / type
      Removed value: -"object"
    • changedOutput schema / properties / monitors / items / properties / interval / description
      Previous value: -"Check interval in seconds (min 20; no upper bound since Uptime Kuma 2.5.0)"New value: +"Check interval in seconds (min 1, no upper bound)"
    • removedOutput schema / properties / monitors / items / properties / interval / minimum
      Removed value: -20
    • addedOutput schema / properties / monitors / items / properties / notificationIDList / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / properties / monitors / items / properties / type / description
      Previous value: -"Monitor type"New value: +"Monitor type. Use listMonitorTypes for the valid values."
    • removedOutput schema / properties / monitors / items / properties / type / enum
      Removed value: -[
      -  "http",
      -  "keyword",
      -  "json-query",
      -  "ping",
      -  "port",
      -  "dns",
      -  "docker",
      -  "mqtt",
      -  "mongodb",
      -  "redis",
      -  "sqlserver",
      -  "postgres",
      -  "mysql",
      -  "grpc-keyword",
      -  "kafka-producer",
      -  "radius",
      -  "rabbitmq",
      -  "smtp",
      -  "snmp",
      -  "real-browser",
      -  "gamedig",
      -  "push",
      -  "group",
      -  "tailscale-ping",
      -  "manual"
      -]
    • changedOutput schema / properties / monitors / items / required
      Previous value: -[
      -  "name",
      -  "type",
      -  "interval",
      -  "retryInterval"
      -]New value: +[
      +  "name",
      +  "type",
      +  "active",
      +  "interval",
      +  "retryInterval",
      +  "resendInterval",
      +  "maxretries",
      +  "upsideDown",
      +  "accepted_statuscodes"
      +]
  3. Changed2 schema fields changedv0.11.22
    • changedOutput schema / properties / monitors / items / properties / interval / description
      Previous value: -"Check interval in seconds (20-2073600)"New value: +"Check interval in seconds (min 20; no upper bound since Uptime Kuma 2.5.0)"
    • removedOutput schema / properties / monitors / items / properties / interval / maximum
      Removed value: -2073600
  4. Changed3 schema fields changedv0.11.9
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedInput schema / properties / parentId / anyOf
      Previous value: -[
      -  {
      -    "type": "null"
      -  },
      -  {
      -    "type": "integer"
      -  }
      -]New value: +[
      +  {
      +    "type": "integer"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  5. First observedv0.0.0-dev

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the safe-read profile (readOnlyHint=true, openWorldHint=false), yet the description adds real behavior: a 50-monitor page cap, the nextCursor pagination contract, and the fact that type-specific fields are omitted unless explicitly requested. It does not, however, mention that includeSecrets writes credentials into the transcript — that risk note lives only in the schema.

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?

Three dense sentences, front-loaded with what is returned and scoped by filters, then the sibling routing, then the projection and pagination rules. No filler and nothing buried.

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, so return-value shape need not be explained; the description covers what matters operationally for an 11-parameter list tool — filtering, projection, secrets exposure gating, and paging.

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 coverage is 100%, so every parameter is already documented in detail, including the subtle interaction where naming a type-specific field in 'fields' bypasses includeTypeSpecificFields. The description repeats the filter list and the includeTypeSpecificFields/fields gating but adds no syntax, defaults, or edge-case meaning beyond the schema — baseline 3.

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?

The description opens with a specific verb and resource ('Returns the configuration of every monitor') and immediately scopes it with the filter set. It explicitly distinguishes itself from getMonitorSummary by naming the sibling and the condition that selects it.

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?

It gives two positive use cases ('find monitor IDs or compare settings') and one explicit exclusion with the alternative named ('for current UP/DOWN status use getMonitorSummary instead'). The agent knows which tool to pick without inspecting schemas.

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