Skip to main content
Glama

DNS zone

get_dns_zone
Read-onlyIdempotent

Records of a domain's DNS zone at Hodi (domains registered at Hodi, and domains on a Hodi hosting). in_use says whether the internet reads this zone: true = the domain's public name servers (public_nameservers) are Hodi's, so these records ARE the ones in use (say so plainly, no hedging); false = the domain points to other name servers, these records are ignored and changing them does nothing; null = public DNS could not be read. line_index identifies a record for update_dns_records. Web redirects are listed apart in redirects; the records that implement them are flagged part_of_redirect (change them with set_redirect). A zone can hold hundreds of records: when you know what you are looking for, filter with type and/or name.

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": {
      "zone": "<zone>"
    },
    "name": "get_dns_zone"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoOnly the records of this host: "@" for the apex, a label relative to the zone ("www", "_dmarc"), or a full name.
typeNoOnly these record types, e.g. ["MX", "TXT"].
zoneYesThe domain, e.g. example.com.
service_idNoOnly for a domain added to a hosting account but registered elsewhere: the hosting service it was added to. Not needed for a domain registered at Hodi or for a hosting's main domain.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent and non-destructive, yet the description still adds substantial behavioral meaning: what `in_use` true/false/null actually mean for whether edits take effect, that records under redirects are flagged part_of_redirect and must be changed elsewhere, and that zones can hold hundreds of records. The warning that changing ignored records 'does nothing' is exactly the kind of consequence an agent cannot get from annotations.

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?

The description is front-loaded: resource scope first, then field semantics, then the filtering rule, then cross-tool pointers. Every sentence carries information, though the semicolon-chained sentences make it dense and the parenthetical '(say so plainly, no hedging)' is stylistically odd for a tool definition.

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, so the description must carry the return shape — and it does, naming `in_use`, `public_nameservers`, `line_index`, `redirects`, and the part_of_redirect flag along with what each means. For a read-only, open-world lookup with four parameters, nothing an agent needs to call it correctly is missing.

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 coverage is 100%, so the baseline is 3, but the description adds rationale the schema lacks — it explains why `type`/`name` exist (hundreds of records, filter when you know the target) rather than merely restating them. It does not elaborate on `service_id` or the `name` matching forms beyond the schema. That is a modest but real gain over the schema.

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?

The definition opens with a concrete resource — a domain's DNS zone records held at Hodi — and scopes it (domains registered at Hodi, or on Hodi hosting). It implicitly separates itself from mutating siblings by tagging `line_index` as the handle for update_dns_records and pointing redirect records at set_redirect. The retrieval verb is implied rather than stated, which keeps it just short of a 5.

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

Usage Guidelines4/5

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

It gives an explicit usage rule: for large zones, filter with `type` and/or `name` when you know what you are looking for. It also routes edit intent elsewhere (update_dns_records via `line_index`, set_redirect for redirect records). It never names a sibling to prefer for pure name-server questions (e.g. get_nameservers), so exclusions are incomplete.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources