Skip to main content
Glama

Set records of an RRSet

set_records
Destructive

Replace all existing DNS records for a record set with the supplied values, deleting any records not included. This solves updating an entire RRSet in one operation.

Instructions

Replace ALL records of an RRSet with the given records. Existing records not listed are removed. Use add_records to append instead. The first call returns a short-lived confirmation token bound to exactly this record list.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName of the RRSet, relative to the zone and in lower case, e.g. "www" or "@" for the zone apex
typeYesType of the RRSet, e.g. "A" or "TXT"
zoneYesID or name of the zone, e.g. "example.com"
recordsYes
confirmTokenNoConfirmation token from the previous call of this same tool with identical arguments. Omit on the first call — the server then returns a token that is valid for a few minutes.
Behavior5/5

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

Beyond the destructiveHint annotation, the description adds crucial behavioral detail: 'Existing records not listed are removed.' It also discloses the confirmation token mechanism, which is not implicit in the annotations, enhancing transparency about the tool's destructive and multi-step nature.

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 deliver the essential information: the primary action and its effect, plus a clear alternative and the confirmation token flow. Every word earns its place, and the key details are front-loaded.

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?

Given the destructive annotation, high schema coverage, and no output schema, the description covers the key aspects: replacement behavior, the token flow, and a sibling alternative. It doesn't explicitly mention prerequisites like zone existence, but those are likely handled by other tools or standard DNS context. Overall, it's sufficiently complete for an agent to use correctly.

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 high (80%), and the schema already documents each parameter thoroughly, including the confirmToken's purpose. The description adds marginal semantic value beyond the schema; it only slightly reinforces the replacement semantics. Baseline score of 3 is appropriate given the strong schema coverage.

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?

The description clearly states the tool replaces ALL records of an RRSet with given records, and explicitly notes that existing records not listed are removed. This directly differentiates from add_records (append), making the purpose specific and unambiguous.

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?

The description provides explicit guidance on when to use this tool versus an alternative: 'Use add_records to append instead.' It also explains the two-step confirmation token flow, giving clear context on how to invoke the tool correctly.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ni-c/hetzner-dns-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server