Skip to main content
Glama

add_dns_subdomain

Add a subdomain to a DNS domain. Requires server ID, domain ID, subdomain name, pdns/edit permission, and confirmation.

Instructions

Add a subdomain to the subdomains table (pdns/add_subdomain). Requires pdns/edit permission.

Input Schema

NameRequiredDescriptionDefault
nameYesSubdomain name
confirmYesMust be true to run the operation.
domain_idYesDomain ID from list_dns_domains
server_idYesServer ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.0.3
    • changedInput schema / properties / domain_id / description
      Previous value: -"ID домена из list_dns_domains"New value: +"Domain ID from list_dns_domains"
    • changedInput schema / properties / name / description
      Previous value: -"Имя сабдомена"New value: +"Subdomain name"
    • changedInput schema / properties / server_id / description
      Previous value: -"ID сервера"New value: +"Server ID"
  2. First observedv1.0.1

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds genuinely useful non-annotation context: the required pdns/edit permission and the backing API endpoint. It still does not say what happens on duplicate names or on failure.

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?

One compact sentence with the action front-loaded and zero filler. The parenthetical endpoint is the only arguably optional element, but it is short and aids traceability.

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

Completeness3/5

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

For a four-required-parameter mutation tool with no output schema, the definition covers the action and the auth requirement but omits edge-case behavior (duplicate subdomain, validation failures) and any note on the confirm flag's meaning beyond what the schema already states.

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 all four parameters (name, confirm, domain_id, server_id) are already documented in the schema, including the cross-reference to list_dns_domains. The description adds no parameter-level detail, so 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 and resource ("Add a subdomain") and even names the underlying API operation (pdns/add_subdomain). It is distinguishable from siblings like add_dns_domain, add_dns_zone, and edit_dns_subdomain, though it never explicitly contrasts itself with them.

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?

Usage is implied by the name and the permission note, but there is no explicit when-to-use guidance, no mention of the edit_dns_subdomain alternative, and no statement of prerequisites beyond the pdns/edit permission requirement.

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