Skip to main content
Glama

list_swarm_nodes

Read-only

Get Docker Swarm node details—role, status, availability, and task count—filtered by agent UUID or local to assess cluster health.

Instructions

List Docker Swarm nodes with their role, status, availability and task count.

Input Schema

NameRequiredDescriptionDefault
agent_idNoFilter by agent UUID, or 'local'. Omit for all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.1

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safe read-only nature is covered. The description adds useful context by naming the fields returned, but it does not cover pagination, authentication, or any quirks of the listing operation.

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?

A single front-loaded sentence with no wasted words. It immediately states the resource and the information returned.

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

Completeness4/5

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

For a simple list tool with one optional parameter, no output schema, and a readOnly annotation, the description is nearly complete. It names the returned fields, though it could mention the agent_id filter or pagination for full completeness.

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 description coverage is 100%, so the single optional agent_id parameter is fully documented in the schema. The description adds no parameter meaning beyond what the schema already provides, which is acceptable at baseline.

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 ('List Docker Swarm nodes') and enumerates the returned fields (role, status, availability, task count). The 'Docker Swarm nodes' resource clearly distinguishes it from sibling list tools for swarm services, swarm tasks, Kubernetes nodes, and containers.

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

Usage Guidelines3/5

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

The purpose implies when to use it—when you need to see swarm node details—but there is no explicit guidance on alternatives or exclusions. It does not, for example, distinguish when to use this versus get_swarm_info or list_swarm_tasks.

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