Skip to main content
Glama

docker_network_inspect

Read-onlyIdempotent

Inspect a Docker network to view configuration details with environment values redacted, enabling review of network settings without exposing sensitive data.

Instructions

Inspect a Docker network with environment values redacted

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": {
      "network_id": "<network_id>"
    },
    "name": "docker_network_inspect"
  }
}

Input Schema

NameRequiredDescriptionDefault
network_idYesNetwork ID or name

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and openWorldHint=false, so the safety profile is covered. The description adds one genuine behavioral detail, that environment values are redacted in the output, though applying that to a network object is confusing and may be a generic template phrase rather than an accurate disclosure.

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

Conciseness4/5

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

A single front-loaded sentence with the action and resource first and no wasted words. The redaction clause is brief but its relevance to networks is unclear, which slightly weakens an otherwise tight statement.

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

Completeness3/5

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

For a one-parameter read-only tool with an output schema and full annotation coverage, the description covers the essentials. It omits any routing guidance versus docker_list_networks and the redaction clause is ambiguous, so it is adequate rather than complete.

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% and the single network_id parameter is already documented as 'Network ID or name'. The description adds no additional meaning such as accepted formats or whether name lookups are ambiguous, so the baseline 3 applies.

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

Purpose4/5

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

States a specific verb (Inspect) and resource (Docker network), which distinguishes it from the sibling inspect tools for containers, images, volumes and buildx. The trailing clause 'with environment values redacted' is vague and slightly puzzling for a network object, but the core action is unambiguous.

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?

There is no guidance on when to use this instead of docker_list_networks for an overview or the other inspect tools. The only hint is the word 'Inspect', leaving the agent to infer that this is the detailed single-network lookup.

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