Skip to main content
Glama
mcp-uptime-kuma

mcp-uptime-kuma

Get Monitor

getMonitor
Read-only

Retrieve a monitor's configuration by ID, including check interval, notifications, tags, parent group, uptime, and average ping; optionally include type-specific fields or select named fields.

Instructions

Returns one monitor's configuration by ID (check interval, notifications, tags, parent group) with its uptime and average ping. Type-specific fields such as url, hostname and port are returned only with includeTypeSpecificFields; fields returns only the fields you name. Read it before updateMonitor. For current status use getMonitorSummary; for check history, listHeartbeats. Find IDs with listMonitors.

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": {
      "monitorID": "<monitorID>"
    },
    "name": "getMonitor"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.
monitorIDYesThe ID of the monitor to retrieve
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
monitorYesMonitor object 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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv0.17.0
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • 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)"
    • removedOutput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / properties / monitor / description
      Previous value: -"Monitor object 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: +"Monitor object 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 / monitor / required
      Removed value: -[
      -  "name",
      -  "type",
      -  "active",
      -  "interval",
      -  "retryInterval",
      -  "resendInterval",
      -  "maxretries",
      -  "upsideDown",
      -  "accepted_statuscodes"
      -]
  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 / monitor / properties / conditions / items / $ref
      Added value: +"#/definitions/__schema0"
    • removedOutput schema / properties / monitor / properties / conditions / items / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / monitor / properties / conditions / items / properties
      Removed value: -{
      -  "andOr": {
      -    "description": "Group logic operator",
      -    "enum": [
      -      "and",
      -      "or"
      -    ],
      -    "type": "string"
      -  },
      -  "children": {
      -    "description": "Nested conditions",
      -    "items": {
      -      "$ref": "#/properties/monitor/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 / monitor / properties / conditions / items / required
      Removed value: -[
      -  "type"
      -]
    • removedOutput schema / properties / monitor / properties / conditions / items / type
      Removed value: -"object"
    • changedOutput schema / properties / monitor / 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 / monitor / properties / interval / minimum
      Removed value: -20
    • addedOutput schema / properties / monitor / properties / notificationIDList / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / properties / monitor / properties / type / description
      Previous value: -"Monitor type"New value: +"Monitor type. Use listMonitorTypes for the valid values."
    • removedOutput schema / properties / monitor / 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 / monitor / 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 / monitor / 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 / monitor / properties / interval / maximum
      Removed value: -2073600
  4. Changed2 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"
    • 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.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds the non-obvious default that type-specific fields (url, hostname, port) are omitted unless flagged, and that 'fields' narrows the response. It does not mention the secrets-in-transcript risk, but that is documented in the schema rather than the description.

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 tight sentences: payload definition and gate conditions first, then read-before-update guidance, then sibling routing. Every clause carries routing or behavior information; nothing is redundant padding.

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 four-parameter read tool with a 100% documented schema, an output schema, and read-only annotations, the definition supplies everything needed: what is returned by default, how to widen or narrow it, and which siblings handle adjacent needs.

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?

With 100% schema coverage the baseline is 3, but the description adds the interaction between 'fields' and 'includeTypeSpecificFields' (a named type-specific field is returned even without the flag) and clarifies the default payload composition. The 'includeSecrets' parameter is left entirely to the schema, which keeps this from a 5.

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?

Opening clause gives a specific verb ('Returns'), resource ('one monitor's configuration'), selector ('by ID') and enumerates the payload (interval, notifications, tags, parent group, uptime, ping). It explicitly contrasts with getMonitorSummary, listHeartbeats and listMonitors, so an agent can separate it from siblings without reading 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?

It states both when to use it ('Read it before updateMonitor') and when not to, naming the exact alternatives for current status (getMonitorSummary) and check history (listHeartbeats), plus where to obtain IDs (listMonitors). No inference is left to the agent.

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