Skip to main content
Glama

Docker node update

docker_node_update

Update a Docker Swarm node's availability to control task scheduling and maintenance.

Instructions

Update a node's availability (real update via :meth:update_node).

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": {
      "node_id": "<node_id>",
      "availability": "<availability>"
    },
    "name": "docker_node_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextNoNamed context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted.
node_idYes
availabilityYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.4.2

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true, so the safety profile is known. The phrase 'real update via update_node' adds useful context that this is not a dry-run or preview call, but the description omits what availability change does to running workloads, whether it is reversible, and what permissions may be required.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The sentence is short and front-loaded, but it wastes characters on a Sphinx cross-reference marker (`:meth:`update_node``) that conveys no value to an agent. It is brief yet under-specified rather than efficient.

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

Completeness2/5

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

For a mutating tool with no output schema and two undocumented parameters, the description should explain accepted availability values and the effect on the node. Neither is covered, so an agent has an incomplete picture before calling it.

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

Parameters2/5

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

Schema coverage is only 33%, with both `node_id` and `availability` lacking schema descriptions, so the description carries a heavy burden. It only implies that `availability` is the field being changed and never states the valid values (e.g. active/pause/drain) or the format of `node_id`, leaving the most important parameter essentially undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource — updating a node's availability — which is concrete enough for an agent to understand the operation. However, it offers no differentiation from the near-identical sibling `docker_update_node`, leaving the agent unable to choose between them from the text alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus `docker_update_node` or `docker_node_inspect`, and no prerequisites or exclusions are given. The agent must infer usage entirely from the name.

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

Deploy Server

Other Tools