Skip to main content
Glama

Create DNS zone

create_dns_zone

Create native or secondary forward DNS zones in pending verification, returning the ownership TXT record to add before verification.

Instructions

Create a forward DNS zone in pending verification state. Native zones are managed here; secondary zones AXFR from public primary DNS servers and require TSIG. Returns the ownership TXT in verificationRecord (name _vpsnet-dns.). If the value is lost, read get_dns_zone.zone.verification.record.value first; use reissue_dns_zone_verification only when it is null/unrecoverable or the customer requests rotation. The API records the nameservers the parent zone delegates the name to, so the TXT can still be proven at that previous provider after the domain is pointed at VPSnet. warnings: delegatedToPlatform (the domain already points at VPSnet nameservers - keep them, do not point it back) or parentServedByPlatform (the TXT goes in the parent zone); zone.verification.next_step says what to do next. Add the TXT at that location, then call verify_dns_zone. Requires dns:write when using an API key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNoZone kind. Defaults to native. Use secondary for AXFR-backed zones.
zoneYesZone name, e.g. example.com
secondary_mastersNoPublic primary DNS server IPs for a secondary zone. Non-public IPs are rejected by the API.
secondary_tsig_secretNoRequired for secondary zones. Base64 TSIG secret, 32-64 decoded bytes, e.g. openssl rand -base64 32. It is encrypted and never returned.
secondary_tsig_key_nameNoRequired for secondary zones. TSIG key name configured on the primary DNS server.
secondary_tsig_algorithmNoTSIG algorithm. Defaults to hmac-sha256.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.16

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare the safe-write profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true). The description adds substantial behavioral context beyond that: the pending-verification state, the ownership TXT location, what the API records about nameservers, the delegatedToPlatform/parentServedByPlatform warnings, zone.verification.next_step, and the required dns:write scope.

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?

Front-loads purpose and then proceeds through verification flow, warnings, and scoping in a dense but mostly non-redundant block. It is long and packed with near-prose clauses, so it is slightly heavy, but each sentence carries operational value and nothing is repeated from the schema.

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

Completeness5/5

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

No output schema exists, so the description must carry the return-shape burden, and it does: verificationRecord, zone.verification.record.value, warning fields, and next_step are all described. For a create tool with verification semantics, an agent has everything needed to invoke and follow up correctly.

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 100%, so the schema already documents all six parameters, giving a baseline of 3. The description goes beyond by framing when secondary parameters matter ('secondary zones ... require TSIG') and giving the TXT naming convention _vpsnet-dns.<zone>, but it does not walk through each parameter explicitly.

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+resource ('Create a forward DNS zone') and immediately scopes the two kinds ('Native zones are managed here; secondary zones AXFR from public primary DNS servers and require TSIG'). An agent can tell this apart from get_dns_zone, list_dns_zones and verify_dns_zone without opening any schema.

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

Usage Guidelines5/5

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

Explicit routing guidance: read get_dns_zone.zone.verification.record.value first, use reissue_dns_zone_verification only when it is null/unrecoverable or the customer requests rotation, and call verify_dns_zone after adding the TXT. Names the alternative tools and the exact conditions that select them.

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