Skip to main content
Glama

Get DNS zone details

lw_zone_details
Read-onlyIdempotent

Retrieves a DNS zone's details—including ID, name, status, master, region support, and delegation—so you can resolve a zone name to its ID or verify delegation before a cutover.

Instructions

Get one zone's details (v1 Network/DNS/Zone/details): id, name, active, master, region_support and, by default, delegation (the nameservers the registry lists and delegation_status). Use to resolve a zone name to its id or check delegation before a cutover.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "lw_zone_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
zoneNoZone name, e.g. "example.com". Give this or zone_id.
contextNoAuth context name (like lw-cli contexts). Omit to use the default. lw_contexts lists them.
zone_idNoNumeric zone id from lw_zone_list. Give this or zone.
include_delegationNoInclude delegation info (default true).

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
errorNo
statusYes
contextNo
previewNo
summaryYes
warningsNo
next_pageNo
next_stepNo
truncatedNo
expires_atNo
confirm_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds useful behavior beyond that: delegation is returned by default, and delegation_status reflects what the registry lists. It says nothing about failure modes (unknown zone name vs id mismatch), rate limits, or auth failure behavior, which matters for an open-world call.

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?

Two sentences, front-loaded with the action and returned fields, then the use case. Nothing is redundant — the field enumeration is the most useful information an agent can get for choosing between detail tools, and the endpoint reference adds traceability at negligible cost.

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

Completeness4/5

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

An output schema exists, so return values need not be explained further, and the parameter set is fully described in the schema. For a four-parameter read-only detail tool with rich annotations, the definition covers purpose, output shape, and usage; only error/not-found behavior and the interaction with lw_zone_delegation are unaddressed.

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 are already documented in the schema, including the "Give this or zone_id" alternative. The description only reinforces the default-inclusion of delegation, which duplicates the include_delegation default note in the schema; the 100%-coverage baseline of 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?

The description states a specific verb and resource ("Get one zone's details") and even names the underlying endpoint, then enumerates the returned fields (id, name, active, master, region_support, delegation). This clearly separates it from the list-style sibling lw_zone_list, but it never explicitly contrasts with lw_zone_delegation, which appears to overlap with the delegation portion of this tool's output.

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?

"Use to resolve a zone name to its id or check delegation before a cutover" gives two concrete, actionable scenarios that a calling agent can match against its intent. It stops short of stating when NOT to use it (e.g., for listing zones or for mutation flows handled by lw_zone_update/lw_zone_delegation), so it lacks explicit alternatives or exclusions.

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