Skip to main content
Glama

Inspect node

docker_inspect_node

Inspect a Docker Swarm node by ID to retrieve its status, role, and configuration details, optionally within a named multi-context pool.

Instructions

Invoke the inspect_node operation.

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>"
    },
    "name": "docker_inspect_node"
  }
}

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.4.2

TDQS

C2/5.0
Behavior2/5

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

Annotations already declare openWorldHint=true, destructiveHint=false, and notably readOnlyHint=false, which the description neither explains nor contradicts. The description adds no behavioral context - no mention of permissions, whether the call touches the daemon, or what happens on an unknown node_id - and notably leaves the surprising readOnlyHint=false for an 'inspect' operation unexplained.

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

Conciseness2/5

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

It is short, but short because it says nothing - this is under-specification rather than conciseness. There is no front-loaded statement of purpose or scope.

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?

With no output schema and a bare one-line description, an agent has no information about what an inspect returns or how to use the result. For a tool with a required identifier and multi-context resolution, the definition is essentially incomplete.

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 50%: only 'context' is documented, while the required 'node_id' has no description at either the schema or description level. The description contributes nothing about node_id format (ID vs hostname) or how the context pool is resolved, so it fails to compensate for the coverage gap.

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

Purpose2/5

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

The description is a tautology: "Invoke the inspect_node operation" only restates the tool name and title. It never says what is being inspected (a Docker swarm node, presumably) or what the operation returns, so the agent cannot distinguish it from siblings such as docker_node_inspect or docker_inspect_container.

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?

No when-to-use guidance, no prerequisites, and no mention of alternatives. The presence of near-duplicate siblings (docker_node_inspect, k8s_inspect_node, podman_inspect_node) makes the absence of any routing guidance a real gap.

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