Skip to main content
Glama

set_dns

Replace the DNS record set and/or nameservers of a domain you own. records: [{type: A|AAAA|CNAME|MX|TXT, name: '@'|sub, value, ttl?, priority? (MX)}]. Pass the FULL desired set (call get_dns first to append).

Input Schema

NameRequiredDescriptionDefault
domainYes
recordsNo
nameserversNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that this is a replace operation and that the full desired record set must be supplied, but it does not cover permissions, rate limits, partial-update behavior, error cases, or propagation effects.

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?

The description is front-loaded, compact, and every sentence adds useful operational information. The inline records example is especially efficient.

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?

For a DNS mutation tool with no annotations or output schema, the description covers the key replace semantics, record shape, and get_dns workflow. It is mostly complete, though nameserver replacement details and failure behavior are left implicit.

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 description coverage is 0%, so the description must compensate. It does well for the complex records parameter by explaining type values, '@' versus subdomain names, optional ttl, and MX-only priority, but it leaves the nameservers parameter only named rather than explained.

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 states a specific verb and resource: replacing the DNS record set and/or nameservers of a domain. It clearly distinguishes this write/replace operation from the sibling get_dns read tool.

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?

It gives the critical usage rule: pass the FULL desired set, and call get_dns first when appending. It also implies the prerequisite that the caller must own the domain.

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