Skip to main content
Glama

Save DNS Records

save_dns_records
DestructiveIdempotent

Bulk upsert DNS records for a domain, replacing all existing records with matching name and type. Use for mixed record types; confirm changes by listing existing records first.

Instructions

Save (upsert) DNS records for a domain using PUT with force overwrite. WARNING: All existing records matching the same name AND type combination will be completely replaced — not merged. Other record name/type combinations are preserved. Use this for bulk operations with mixed record types. For single records, prefer the type-specific tools (create_a_record, create_cname_record, etc.). Always confirm with the user before calling this tool and use list_dns_records first to check existing records.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesThe domain name
recordsYes
Behavior4/5

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

Adds crucial behavioral detail: 'All existing records matching the same name AND type combination will be completely replaced — not merged.' This goes beyond the annotations (destructiveHint=true) by specifying the exact condition for destruction. Also warns about the need for confirmation and prior listing.

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?

Concise; three sentences plus a warning. Front-loaded with the core action and critical warning. No unnecessary words; every sentence adds value.

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 tool with 2 parameters (domain and records array) and no output schema, the description covers the essential behavior: replacement rule, bulk vs single use case, and prerequisite actions. It is sufficient for an agent to use the tool correctly.

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?

The description highlights that the combination of 'name' and 'type' determines replacement behavior, which adds meaning beyond the input schema's individual field descriptions. However, it does not detail all parameters individually, but the schema itself provides good descriptions. With 50% schema coverage reported, the description partially compensates by explaining critical parameter interactions.

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?

Description clearly states 'Save (upsert) DNS records for a domain using PUT with force overwrite.' It identifies the verb (upsert), resource (DNS records), and method (PUT with force overwrite). It also distinguishes from sibling tools by noting that for single records, type-specific tools should be used.

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?

Explicitly states when to use: 'for bulk operations with mixed record types.' Provides alternatives: 'For single records, prefer the type-specific tools (create_a_record, create_cname_record, etc.).' Also advises to confirm with user and check existing records with list_dns_records first.

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/BartWaardenburg/spaceship-mcp'

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