Skip to main content
Glama

dokploy_network

Manage Docker networks for Dokploy: list, get, create, remove, recreate, resync, inspect, import. Attach networks to applications or compose services.

Instructions

Docker network management. list: serverId? (networks Dokploy knows about). get/inspect/remove/recreate/resync: networkId — inspect returns the raw Docker inspect payload, recreate drops and re-adds the network so attached services are briefly disconnected, resync re-reads the network from Docker and refreshes Dokploy's stored record without touching the network itself. create: name (+ driver bridge|overlay, internal, attachable, enableIPv4, enableIPv6, mtu 68-65535, ipam, serverId). networksToSync: serverId? — networks that exist on the Docker host but are not yet tracked by Dokploy. import: names (one or more names from networksToSync), serverId?. Attach networks to workloads with dokploy_application update networkIds, or dokploy_compose update serviceNetworks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mtuNo
ipamNocreate: IPAM settings, e.g. { config: [{ subnet: '10.0.1.0/24', gateway: '10.0.1.1' }] }
nameNocreate: network name
namesNoimport: network names to bring under Dokploy
actionYes
driverNocreate: bridge | overlay
internalNo
serverIdNo
networkIdNo
attachableNo
enableIPv4No
enableIPv6No

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.10.0
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "list",
      -  "get",
      -  "create",
      -  "remove",
      -  "recreate",
      -  "inspect",
      -  "import",
      -  "networksToSync"
      -]New value: +[
      +  "list",
      +  "get",
      +  "create",
      +  "remove",
      +  "recreate",
      +  "resync",
      +  "inspect",
      +  "import",
      +  "networksToSync"
      +]
  2. Addedv1.9.1

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it warns that recreate 'drops and re-adds the network so attached services are briefly disconnected', that resync 're-reads... without touching the network itself', and that inspect returns the raw Docker payload. It omits what remove destroys and whether operations are reversible or require elevated auth.

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?

Tight and front-loaded: it opens with the domain, then walks action-by-action with a consistent 'action: params' pattern. It is somewhat run-on and packs every branch into one paragraph, but nearly 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?

For a 12-param, 9-action tool with nested ipam and no output schema, the description covers the critical decision points and destructive side effects. It doesn't explain the return shape for list/get (which the agent may need) or the impact of remove, leaving modest gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 33% across 12 params, but the description compensates by mapping each parameter to its action (serverId for list/networksToSync, networkId for get/inspect/remove/recreate/resync, name+driver+internal+attachable+enableIPv4/IPv6+mtu+ipam for create). This adds real meaning beyond the bare enum/type schema, though constraints like driver/overlay semantics are left to the schema.

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 'Docker network management' then enumerates the nine actions with a specific verb+object for each (list, inspect, recreate, resync, import, etc.). It also names the sibling tools (dokploy_application/dokploy_compose) used for the adjacent task of attaching networks, distinguishing it from general app/compose tools, though it doesn't explicitly contrast against dokploy_docker or dokploy_docker_volume.

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?

Provides per-action conditions, e.g. networksToSync is for networks existing on the host but untracked, and import consumes names from networksToSync. It routes the agent onward for attachment ('Attach networks to workloads with dokploy_application update networkIds'). However it doesn't state exclusions or prerequisites (e.g. when not to use recreate vs resync beyond a single clause).

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