Skip to main content
Glama

Set a DNS record

set_dns_record
Destructive

Add or update a DNS record for a domain. Useful for pointing domains to Vercel, Netlify, or email services. [Requires a free namemy.app API key — get one at https://namemy.app/app/api-keys]

Input Schema

NameRequiredDescriptionDefault
ttlNo
hostYesSubdomain or @ for root
typeYes
valueYes
domainYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Adds real context beyond the annotations: an authenticated API-key requirement and the add-or-update semantics that explain why destructiveHint=true. It still doesn't warn that an existing record with the same host/type will be overwritten or mention propagation delay/TTL behavior, which would be valuable for a destructive write.

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?

Three short sentences with the core purpose front-loaded, use cases second, and the prerequisite in a bracketed aside that is easy to skip. No padding or repetition.

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

Completeness3/5

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

Covers purpose, use cases, and auth, but for a destructive 5-parameter write with no output schema it omits what a successful set returns, how existing/conflicting records are handled, and any parameter syntax beyond the schema's 20% coverage. Adequate but with clear gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 20% — just the host field is documented. The description adds nothing about record value formats (MX priority, TXT quoting), the meaning of the enum types, or the 300s TTL default, so it fails to compensate for the coverage gap on a 5-parameter mutation.

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?

States a specific verb+resource (add or update a DNS record for a domain) and clarifies the upsert semantics that the name 'set' only implies. It is clearly distinct from every sibling tool, none of which touch DNS, though it never explicitly names a sibling as a contrast.

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?

Gives explicit use cases (pointing domains to Vercel, Netlify, or email services) and states the prerequisite of a free namemy.app API key with a link. No when-not guidance or named alternative is offered, but no sibling offers overlapping functionality, so the context is adequate.

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.