Skip to main content
Glama

List DNS Records

hestia_list_dns_records
Read-onlyIdempotent

Lists DNS resource records (A, AAAA, MX, TXT, CNAME, SRV) in a specified HestiaCP user's DNS zone, returning record data keyed by record ID for inspection.

Instructions

List DNS resource records (A, AAAA, MX, TXT, CNAME, SRV) inside a specific DNS zone owned by a HestiaCP user via v-list-dns-records. Use when inspecting records for a known zone; prefer hestia_list_dns_domains to list all zones owned by the user. Returns { ok, targetId, command, data (map keyed by record ID) }.

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>",
      "domain": "<domain>"
    },
    "name": "hestia_list_dns_records"
  }
}

Input Schema

NameRequiredDescriptionDefault
userYesHestiaCP account username.
domainYesDomain name owned by the user.
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 readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds value beyond that by disclosing the response envelope ({ ok, targetId, command, data }) and that data is a map keyed by record ID, which matters since there is no output schema. It stops short of noting empty-zone behavior or error shapes, so it is not 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?

Three tight sentences ordered purpose → usage/alternative → return shape. Every sentence carries distinct information and the routing guidance appears before the response details, so nothing needs to be re-read.

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?

For a simple read-only two-required-parameter tool with no output schema, the description covers what it does, when to use it versus a sibling, and the shape of the returned data. Nothing an agent needs to invoke it correctly is missing.

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 user, domain and targetId. The description reinforces scope ('zone owned by a HestiaCP user', 'known zone') but adds no format or constraint detail, and never mentions targetId. Baseline 3 is appropriate when the schema carries parameter meaning.

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 resource records') and enumerates the record types (A, AAAA, MX, TXT, CNAME, SRV) within a named scope ('inside a specific DNS zone owned by a HestiaCP user'). It also names the underlying command v-list-dns-records and distinguishes itself from hestia_list_dns_domains.

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 trigger ('Use when inspecting records for a known zone') and an explicit alternative with its condition ('prefer hestia_list_dns_domains to list all zones owned by the user'). The agent can route between the two tools without opening either schema.

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