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, enabling DDNS A/AAAA or ACME TXT DNS-01 updates; optionally restrict source IPs.

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.

Input Schema

TableJSON 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 are minimal (readOnlyHint=false, openWorldHint=false, destructiveHint=false) with no secrets-handling or auth info. The description adds genuinely useful behavior: the full token is returned only once, allow_from can restrict source IPs, and dns:write is required when using an API key. That is real context beyond the annotations, though it doesn't cover rate/return format in depth (rate limit is left to the schema).

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 tight sentences with zero filler; the creation scope leads, followed by purpose semantics, IP restriction, one-time token return, and permission requirement. Every sentence carries actionable information.

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 mutation tool with no output schema, the description supplies the key precondition (verified customer-owned zone), the critical return caveat (token shown once), and the auth requirement (dns:write). It could say more about what happens on expiry or about the returned token's non-retrievability after creation, but the essentials an agent needs are present.

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 the schema already documents purpose, allow_from, name_pattern, record_types, and rate_limit_per_minute thoroughly. The description's explanations of purpose and allow_from largely restate the schema descriptions rather than adding syntax or edge-case detail beyond them. Baseline 3 applies.

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?

States a specific verb and resource with scope: 'Create a narrow DNS updater token for one hostname/pattern inside a verified customer-owned zone.' This clearly distinguishes it from list_ddns_tokens and revoke_ddns_token, and the adjective 'narrow' plus 'verified customer-owned zone' conveys the constraint profile up front.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains what each purpose value is for (ddns = A/AAAA updates, acme = TXT under _acme-challenge), which guides the purpose field choice. However, it never states when to use this tool versus alternatives like revoke_ddns_token or the broader DNS record tools, nor does it give an explicit 'do not use for X' exclusion. Usage is implied rather than spelled out.

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