Skip to main content
Glama

List DNS Zones

hestia_list_dns_domains
Read-onlyIdempotent

Lists DNS zones managed by a HestiaCP user with SOA, NS, template, and serial metadata, helping discover zones before inspecting records or auditing DNS alignment.

Instructions

List DNS zones managed by a HestiaCP user with SOA, NS, template, and serial metadata via v-list-dns-domains. Use when discovering DNS zones for a user; prefer hestia_list_dns_records to inspect records inside a specific zone or hestia_dns_alignment_audit (serverops) to compare live public DNS against local zones. Returns { ok, targetId, command, data (map keyed by DNS domain) }.

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": {
      "user": "<user>"
    },
    "name": "hestia_list_dns_domains"
  }
}

Input Schema

NameRequiredDescriptionDefault
userYesHestiaCP account username.
targetIdNoConfigured target identifier (defaults to "default").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.3

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety profile is covered. The description adds value beyond that by disclosing the underlying command and the exact return envelope including the data map keyed by domain, which annotations cannot express. It stops short of stating permission requirements or whether output is unbounded in size, so it is strong but not fully exhaustive.

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?

Three sentences ordered purpose → routing → return shape, with zero filler. The routing sentence is placed before the return details, keeping the decision-relevant information front-loaded.

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?

There is no output schema, and the description compensates by spelling out the return envelope and its keyed data map, which is the main missing piece an agent would otherwise have to discover by calling it. For a two-parameter read-only listing tool, nothing material is left unexplained.

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 coverage is 100% and both parameters (user, targetId) are documented inline, so the schema already does the heavy lifting. The description ties 'user' to the notion of a HestiaCP-managed account but adds no new syntax, defaults, or edge-case meaning beyond the schema; baseline 3 is appropriate.

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 ('List DNS zones managed by a HestiaCP user') plus the metadata surfaced (SOA, NS, template, serial) and the backing command (v-list-dns-domains). It explicitly separates the tool from hestia_list_dns_records and the alignment audit, so an agent can pick it without opening schemas.

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?

Gives an explicit when-to-use condition ('discovering DNS zones for a user') and names two alternatives with the condition that selects each ('inspect records inside a specific zone', 'compare live public DNS against local zones'). No exclusion is left to inference.

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