Skip to main content
Glama
mcp-uptime-kuma

mcp-uptime-kuma

Update Docker Host

updateDockerHost
DestructiveIdempotent

Update an existing Docker host connection in Uptime Kuma by changing only the fields you pass. Use it to rename a host, switch its connection type, or set a new socket path or TCP URL.

Instructions

Updates an existing Docker daemon connection. Only the fields you pass change. Credentials in a dockerDaemon URL sent back as "***" keep their stored value. Check a new address with testDockerHost first. Find the ID with listDockerHosts.

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": {
      "dockerHostID": "<dockerHostID>"
    },
    "name": "updateDockerHost"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew human-readable name
dockerTypeNoNew connection type
dockerDaemonNoNew socket path or TCP URL
dockerHostIDYesThe ID of the docker host to update

Output Schema

NameRequiredDescriptionDefault
idNo
okYes
msgNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.17.0
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedOutput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
  2. 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"
  3. 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?

Adds real context beyond the annotations: it discloses partial-update semantics ('Only the fields you pass change') and the credential-masking rule for '***' in dockerDaemon, which is non-obvious behavior an agent must handle to avoid wiping stored secrets. It does not elaborate on the destructiveHint implications (e.g., what an incorrect address breaks), so it falls short of a 5.

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?

Five short sentences, front-loaded with the core action and follow-up rules; no redundant restatement of the name or schema. Every sentence carries either scope, semantics, or a routing instruction.

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 4-parameter mutation tool with an output schema and full annotation coverage, the description supplies the missing pieces: partial-update behavior, credential masking, validation prerequisite, and ID lookup path. Nothing an agent needs to invoke it correctly is absent.

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; the description earns above that by explaining the '***' round-trip convention on dockerDaemon and the merge semantics affecting all optional parameters. The enum and path/URL format are left to the schema, which is acceptable.

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 ('Updates an existing Docker daemon connection') and implicitly distinguishes itself from createDockerHost/deleteDockerHost by emphasizing 'existing' and partial-field updates. An agent can tell this is a modification tool for an already-registered daemon.

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 routes the agent: 'Check a new address with testDockerHost first' for validation, and 'Find the ID with listDockerHosts' to obtain the required dockerHostID. Both prerequisites and the sibling to consult are named, leaving little to inference.

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