Skip to main content
Glama

dokploy_dns_provider

Configure DNS providers and manage DNS records across Cloudflare, Route53, Porkbun, Infomaniak and OVH: list, create, update, remove providers, test credentials, and create or delete zone records.

Instructions

DNS provider configuration and DNS record management. Providers: list, get (dnsProviderId), create (name+config), update (dnsProviderId+name+config — the API REPLACES the provider, so both must be sent even when changing one), remove (dnsProviderId), testConnection (dnsProviderId for a saved provider, or config to check credentials before saving). config is discriminated on providerType: cloudflare{apiToken}, route53{accessKeyId,secretAccessKey}, porkbun{apiKey,secretApiKey}, infomaniak{apiToken} or ovh{applicationKey,applicationSecret,consumerKey,endpoint?,zone?}. Records: listZones (dnsProviderId), listRecords (dnsProviderId+zoneId), createRecord/updateRecord (dnsProviderId+zoneId+type+recordName+content, ttl?, proxied?, plus recordId for update), deleteRecord (dnsProviderId+zoneId+recordId). Record type: A, AAAA, CNAME, MX, TXT, NS, SRV, CAA or PTR. proxied only takes effect on Cloudflare. Provider credentials are never echoed back in tool output; provider reads return id, name and providerType only.

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

Input Schema

NameRequiredDescriptionDefault
ttlNo
nameNoProvider name (letters, digits, _ and - only)
typeNoRecord type
actionYes
configNoProvider credentials, keyed by providerType
zoneIdNo
contentNoRecord value, e.g. an IP for A or a target host for CNAME
proxiedNoCloudflare only: route the record through Cloudflare's proxy
recordIdNo
recordNameNoDNS record name (sent as `name`; distinct from the provider name)
dnsProviderIdNo

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
    • changedInput schema / properties / config / oneOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "apiToken": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "providerType": {
      -        "const": "cloudflare",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "providerType",
      -      "apiToken"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "accessKeyId": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "providerType": {
      -        "const": "route53",
      -        "type": "string"
      -      },
      -      "secretAccessKey": {
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "providerType",
      -      "accessKeyId",
      -      "secretAccessKey"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "apiKey": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "providerType": {
      -        "const": "porkbun",
      -        "type": "string"
      -      },
      -      "secretApiKey": {
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "providerType",
      -      "apiKey",
      -      "secretApiKey"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "apiToken": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "providerType": {
      -        "const": "infomaniak",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "providerType",
      -      "apiToken"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "applicationKey": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "applicationSecret": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "consumerKey": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "endpoint": {
      -        "description": "defaults to ovh-eu",
      -        "enum": [
      -          "ovh-eu",
      -          "ovh-ca",
      -          "ovh-us",
      -          "kimsufi-eu",
      -          "kimsufi-ca",
      -          "soyoustart-eu",
      -          "soyoustart-ca"
      -        ],
      -        "type": "string"
      -      },
      -      "providerType": {
      -        "const": "ovh",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "providerType",
      -      "applicationKey",
      -      "applicationSecret",
      -      "consumerKey"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "apiToken": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "providerType": {
      +        "const": "cloudflare",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "providerType",
      +      "apiToken"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "accessKeyId": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "providerType": {
      +        "const": "route53",
      +        "type": "string"
      +      },
      +      "secretAccessKey": {
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "providerType",
      +      "accessKeyId",
      +      "secretAccessKey"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "apiKey": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "providerType": {
      +        "const": "porkbun",
      +        "type": "string"
      +      },
      +      "secretApiKey": {
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "providerType",
      +      "apiKey",
      +      "secretApiKey"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "apiToken": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "providerType": {
      +        "const": "infomaniak",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "providerType",
      +      "apiToken"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "applicationKey": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "applicationSecret": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "consumerKey": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "endpoint": {
      +        "description": "defaults to ovh-eu",
      +        "enum": [
      +          "ovh-eu",
      +          "ovh-ca",
      +          "ovh-us",
      +          "kimsufi-eu",
      +          "kimsufi-ca",
      +          "soyoustart-eu",
      +          "soyoustart-ca"
      +        ],
      +        "type": "string"
      +      },
      +      "providerType": {
      +        "const": "ovh",
      +        "type": "string"
      +      },
      +      "zone": {
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "providerType",
      +      "applicationKey",
      +      "applicationSecret",
      +      "consumerKey"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed4 schema fields changedv1.10.0
    • changedInput schema / properties / config / oneOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "apiToken": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "providerType": {
      -        "const": "cloudflare",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "providerType",
      -      "apiToken"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "accessKeyId": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "providerType": {
      -        "const": "route53",
      -        "type": "string"
      -      },
      -      "secretAccessKey": {
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "providerType",
      -      "accessKeyId",
      -      "secretAccessKey"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "apiToken": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "providerType": {
      +        "const": "cloudflare",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "providerType",
      +      "apiToken"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "accessKeyId": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "providerType": {
      +        "const": "route53",
      +        "type": "string"
      +      },
      +      "secretAccessKey": {
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "providerType",
      +      "accessKeyId",
      +      "secretAccessKey"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "apiKey": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "providerType": {
      +        "const": "porkbun",
      +        "type": "string"
      +      },
      +      "secretApiKey": {
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "providerType",
      +      "apiKey",
      +      "secretApiKey"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "apiToken": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "providerType": {
      +        "const": "infomaniak",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "providerType",
      +      "apiToken"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "applicationKey": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "applicationSecret": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "consumerKey": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "endpoint": {
      +        "description": "defaults to ovh-eu",
      +        "enum": [
      +          "ovh-eu",
      +          "ovh-ca",
      +          "ovh-us",
      +          "kimsufi-eu",
      +          "kimsufi-ca",
      +          "soyoustart-eu",
      +          "soyoustart-ca"
      +        ],
      +        "type": "string"
      +      },
      +      "providerType": {
      +        "const": "ovh",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "providerType",
      +      "applicationKey",
      +      "applicationSecret",
      +      "consumerKey"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / proxied
      Added value: +{
      +  "description": "Cloudflare only: route the record through Cloudflare's proxy",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / type / description
      Previous value: -"Record type — the API accepts only A or CNAME"New value: +"Record type"
    • changedInput schema / properties / type / enum
      Previous value: -[
      -  "A",
      -  "CNAME"
      -]New value: +[
      +  "A",
      +  "AAAA",
      +  "CNAME",
      +  "MX",
      +  "TXT",
      +  "NS",
      +  "SRV",
      +  "CAA",
      +  "PTR"
      +]
  3. Addedv1.9.1

TDQS

A4.2/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 real work: it discloses that update REPLACES the provider so both name and config must be resent, that credentials are never echoed back, that provider reads return only id/name/providerType, and that proxied applies only on Cloudflare. It omits permission/auth requirements, whether record deletion is irreversible, and any rate-limit behavior for upstream DNS APIs.

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?

Dense but well organized: purpose first, then Providers, then Records, then enums and caveats, with no filler sentences. The heavy use of nested parentheses makes it harder to scan than a bulleted structure would be, but nothing is wasted.

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 an 11-parameter, 11-action multiplexed tool with a discriminated union and no output schema, the description covers nearly everything an agent needs to invoke it correctly. The remaining gap is return-value shape for listZones, listRecords and testConnection, which is only partially addressed for provider reads.

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

Parameters5/5

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

Schema description coverage is only 55%, and the description compensates by supplying the conditional per-action parameter matrix the schema cannot express (e.g. recordId only for update/deleteRecord, dnsProviderId+zoneId for record operations). It also spells out the discriminated config shape per providerType and clarifies that recordName is sent as `name`, distinct from the provider name — genuine meaning beyond 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?

Opens with a specific verb+resource statement ('DNS provider configuration and DNS record management') and then enumerates all 11 actions, so an agent knows exactly what surface this tool covers. It does not, however, distinguish itself from adjacent siblings such as dokploy_vault_provider, which also deals with credentials, leaving that routing to inference.

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?

The action-by-action parentheticals effectively say when each action applies and what it needs, including the useful distinction that testConnection accepts either dnsProviderId (saved provider) or config (credentials before saving). There are no explicit when-not-to-use exclusions or named alternative tools, so it stops short of a 5.

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