get_config
Retrieve a Docker Swarm config's attributes by providing its config ID.
Instructions
Get a swarm config by id.
args: config_id - The config id returns: dict - The config's attrs
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config_id | Yes |
Retrieve a Docker Swarm config's attributes by providing its config ID.
Get a swarm config by id.
args: config_id - The config id returns: dict - The config's attrs
| Name | Required | Description | Default |
|---|---|---|---|
| config_id | Yes |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and destructiveHint=false. The description adds minimal extra behavioral info (returns dict of config attrs) but does not disclose error handling, authentication needs, or what happens with invalid IDs.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Extremely concise, front-loaded with the core action, and no wasted words. The format with args and returns is efficient and easy to scan.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple retrieval tool with one parameter and no output schema, the description covers the basics: purpose, parameter meaning, and return type. It misses error scenarios but is largely adequate.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description's explanation of config_id as 'the config id' provides necessary meaning beyond the type-only schema. This compensates well for the schema gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states 'Get a swarm config by id', which is a specific verb and resource. It distinguishes from sibling tools like list_configs (list all) and create_config/remove_config.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance on when to use this vs alternatives like list_configs or other config operations. While the use case is implied (retrieve one config by ID), the description lacks direct usage context or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/GavinLucas/docker-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server