Skip to main content
Glama

dokploy_infrastructure

Manage application ports, authentication, and TLS certificates by creating, deleting, listing, retrieving, or removing configurations through a single action-based interface.

Instructions

Manage ports, auth, certs. createPort: applicationId+publishedPort+targetPort. deletePort: portId. createAuth: applicationId+username+password. deleteAuth: securityId. listCerts: all. getCert: certificateId. createCert: name+certificateData+privateKey. removeCert: certificateId.

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_infrastructure"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
actionYes
portIdNo
passwordNo
protocolNo
serverIdNo
usernameNo
autoRenewNo
privateKeyNoPEM format
securityIdNo
targetPortNo
publishModeNo
applicationIdNo
certificateIdNo
publishedPortNo
certificateDataNoPEM format

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 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
  2. Changed1 schema field changedv1.7.4
    • addedInput schema / additionalProperties
      Added value: +false
  3. First observedv1.7.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden, yet it discloses no behavioral traits: it does not flag that deletePort/deleteAuth/removeCert are destructive, does not mention permission or auth requirements, and does not describe return values. It only maps parameters to actions, leaving side effects and permanence undisclosed.

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

Conciseness3/5

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

The text is compact and front-loads the scope sentence, but the action/parameter list is telegraphic and run together, reducing scannability for an eight-action enum dispatch. Little waste, but also little structure.

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

Completeness2/5

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

For a multi-action tool with 16 parameters, no annotations, and no output schema, the description should explain what each action returns and which are destructive. It only supplies parameter mappings for the actions, leaving behavior, outputs, and permission requirements undocumented.

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?

With schema coverage at 13% across 16 flat parameters, the description compensates partially by stating the required parameter set per action (e.g., createPort needs applicationId+publishedPort+targetPort). However, several parameters (name, protocol, serverId, autoRenew, publishMode) are never explained, so compensation is incomplete.

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?

The description opens with a specific scope ('Manage ports, auth, certs') and enumerates eight concrete actions (createPort, deletePort, createAuth, etc.), so an agent can tell this tool handles port publishing, basic auth, and certificates. It is clear about the resource domains, though it does not explicitly contrast with siblings like dokploy_domain or dokploy_server.

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?

It lists which parameters each action takes but never states when to use this tool versus alternatives, nor any prerequisites (e.g., an application must exist before creating a port). Usage must be inferred entirely from action names.

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