Skip to main content
Glama

Create DDNS token

create_ddns_token

Create a scoped DNS updater token for one hostname or pattern in a verified zone, for dynamic DNS A/AAAA updates or ACME DNS-01 TXT records, with optional source IP and rate limits.

Instructions

Create a narrow DNS updater token for one hostname/pattern inside a verified customer-owned zone. purpose=ddns allows A/AAAA updater use; purpose=acme allows TXT only under _acme-challenge for DNS-01. Set allow_from to restrict updater source IPs/CIDRs. The full token is returned once. Requires dns:write when using an API key.

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": {
      "zone_id": "<zone_id>",
      "name_pattern": "<name_pattern>"
    },
    "name": "create_ddns_token"
  }
}

Input Schema

NameRequiredDescriptionDefault
purposeNoToken purpose. ddns allows A/AAAA updates; acme allows TXT-only DNS-01 updates under _acme-challenge. Defaults to ddns.
zone_idYesDNS zone ID
allow_fromNoOptional comma-separated source IP/CIDR allowlist for updater requests, e.g. 203.0.113.10,2001:db8::/64.
expires_atNoOptional expiry date (YYYY-MM-DD or datetime).
name_patternYesAllowed hostname or wildcard pattern. For purpose=acme this must be _acme-challenge.<zone> or _acme-challenge.<host>.<zone>.
record_typesNoAllowed record types. For purpose=ddns: A, AAAA, or A,AAAA. For purpose=acme: TXT only.
rate_limit_per_minuteNoPer-token update limit, 1-120/min. Defaults to 10.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.16

TDQS

A4/5.0
Behavior4/5

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

Annotations declare a non-readonly, non-destructive, non-idempotent, open-world mutation; the description adds genuinely useful behavior beyond that: the full token is returned only once (so the caller must capture it immediately), and API-key callers need dns:write. It does not state whether invoking again creates a duplicate token or what happens on failure, which keeps it below a 5.

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

Conciseness5/5

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

Four dense sentences, each carrying distinct information (scope, purpose semantics, allowlist, one-time return, permission requirement), with the resource and scope front-loaded. No filler or restatement of the title.

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 7-parameter mutation with no output schema, the description covers the critical ephemeral-secret behavior and the permission prerequisite, which is what an agent most needs. Minor gaps remain around error/duplicate behavior and whether expires_at/rate_limit choices have defaults implications.

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%, so every parameter is already documented in the schema, including the purpose enum and allow_from CIDR format. The description reinforces purpose semantics and allow_from's role but adds no parameter detail beyond what the schema already carries, 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+resource ("Create a narrow DNS updater token") scoped to "one hostname/pattern inside a verified customer-owned zone." The scope qualifiers distinguish it from a general token creator, though it never names its sibling revoke_ddns_token/list_ddns_tokens explicitly.

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?

Gives clear conditional guidance for choosing between purpose=ddns (A/AAAA) and purpose=acme (TXT only under _acme-challenge for DNS-01), which is the main decision an agent faces here. It also states the prerequisite of a verified customer-owned zone and the dns:write requirement, but does not discuss when to prefer this over other token/credential creation paths.

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

Deploy Server

Other Tools