Skip to main content
Glama

dokploy_network

Manage Docker networks in Dokploy: list, create, inspect, remove, recreate, resync, or import untracked host networks, then attach them to applications and 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.

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": {
      "action": "<action>"
    },
    "name": "dokploy_network"
  }
}

Input 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. Changed3 schema fields changedv1.11.2
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / ipam / additionalProperties
      Removed value: -false
  2. 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"
      +]
  3. Addedv1.9.1

TDQS

A4.3/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 largely rises to it: it discloses that recreate drops and re-adds the network so attached services are briefly disconnected, that resync only refreshes Dokploy's stored record without touching Docker, and that inspect returns the raw Docker inspect payload. Gaps remain on remove (whether it fails when services are attached) and on required permissions, but the destructive side effects are surfaced where they matter most.

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?

The text is front-loaded with a one-line purpose, then proceeds action by action with no filler, which is efficient for a nine-action tool. The telegraphic notation ('list: serverId?', 'name (+ driver bridge|overlay, ...)') compresses well but costs some first-read clarity.

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-parameter, nine-action tool with no annotations and no output schema, the definition covers every action in the enum and explains the non-obvious return and side-effect behavior. What is missing is the semantics of the boolean create flags and remove's failure conditions, which matters given the absent output schema.

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 description coverage is only 33% across 12 parameters, so the description must compensate, and it does so by mapping parameters to actions (networkId for get/inspect/remove/recreate/resync, serverId optional for list/networksToSync/import, name plus driver/internal/attachable/enableIPv4/enableIPv6/mtu/ipam for create). The meaning of several create-only flags (internal, attachable, enableIPv4/enableIPv6) and of serverId is still left to inference.

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?

The definition names the resource (Docker networks) and enumerates all nine actions against it, specifying the key parameter each one needs (networkId vs. serverId vs. name/names). An agent can distinguish list from get/inspect, and resync from recreate, without opening the schema.

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?

It routes the agent coherently: networksToSync finds untracked host networks, and import explicitly takes 'one or more names from networksToSync', which implies the intended two-step flow. It also names alternatives for the adjacent job ('Attach networks to workloads with dokploy_application... or dokploy_compose...'), but there are no explicit when-not or prerequisite statements (e.g., what happens if remove is called on an in-use network).

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