docker_cleanup
Remove unused Docker containers and resources to free up system space and improve performance.
Instructions
Clean up tracked Docker containers and resources
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Remove unused Docker containers and resources to free up system space and improve performance.
Clean up tracked Docker containers and resources
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations and no output schema, the description does not disclose what 'clean up' entails (e.g., deletion, pruning, stopping), potential side effects (destructive vs safe), or what 'tracked' means. The agent lacks critical behavioral insight.
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?
The description is a single concise sentence with no redundant words. It could be slightly more informative without losing conciseness.
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?
Given zero parameters, no output schema, and many sibling Docker tools, the description lacks specifics about what resources are affected (all containers vs only tracked ones), whether it's idempotent, or if it requires prior setup. The agent may be uncertain about using this tool safely.
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?
The input schema has zero parameters, so schema_description_coverage is 100%. No parameter information is needed, and the description does not need to add meaning beyond the schema. Baseline 4 is appropriate.
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?
The description clearly states the tool's purpose with a specific verb ('clean up') and resource ('tracked Docker containers and resources'), which distinguishes it from sibling tools like docker_containers (listing) and docker_images (image management).
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 guidance is provided on when to use this tool versus alternatives like docker_cleanup vs docker_system or other cleanup commands. The description lacks context for appropriate usage scenarios.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.