Skip to main content
Glama
falkenslab
by falkenslab

Remove a network

remove_network
DestructiveIdempotent

Delete an unused Docker network by name or ID after confirming no containers are attached. Ask the user before proceeding.

Instructions

Remove a network (no container may be attached). Confirm with the person first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
networkYesThe network's name or id, as its list gives it

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
removedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered. The description adds non-obvious operational context the annotations cannot: the operation fails while containers are attached, and the agent should confirm with a human first.

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?

Two short sentences, zero filler, with the constraint front-loaded and the confirmation requirement following immediately. Every clause earns its place.

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?

An output schema exists, so return values need not be described, and annotations carry the destructiveness/idempotency profile. The description supplies the precondition and confirmation step, leaving only minor gaps (error behavior when the precondition is violated, whether removal is permanent).

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?

Only one parameter and schema description coverage is 100% — the schema already documents 'network' with name-or-id semantics and a format pattern. The description adds no further meaning, so the baseline 3 applies.

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 ('Remove') and resource ('a network'), which cleanly separates it from siblings such as remove_container, remove_volume, and remove_image. The parenthetical precondition adds scope precision rather than restating the title.

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

Usage Guidelines4/5

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

Gives a concrete precondition ('no container may be attached') and an explicit human-in-the-loop requirement ('Confirm with the person first'), which is real when-to-use guidance. It stops short of naming the diagnostic alternative (e.g., inspect_network to check attachments) or what to do when the precondition fails.

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