Skip to main content
Glama

add_dns_record

Idempotent

Create or modify DNS zone entries for a domain, such as A, AAAA, CNAME, MX, or TXT records. Propagation may take several hours.

Instructions

Add a record to a domain's DNS zone. Propagation can take up to a few hours.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ttlNoTime to live in seconds
nameYesRecord name relative to the domain: '@' for the domain itself, 'www', '_dmarc'... A full name such as 'www.example.fr' is accepted and shortened automatically.
typeYes
valueYesRecord value: IP address, target host name, text...
domainYesDomain name managed by the LWS account, e.g. example.fr

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare that this is a non-read-only, open-world, idempotent, non-destructive operation. The description adds useful timing context ('propagation can take up to a few hours'), but does not explain duplicate-record handling, required account permissions, or immediate effects beyond annotations.

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 short sentences that front-load the action and then add the key timing caveat. Every sentence earns its place with no redundant or vague phrasing.

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 and annotations cover the safety profile, so the description need not explain return values or mutation semantics. It adds propagation timing, but does not address record conflicts or account prerequisites, leaving a minor gap for a mutation tool.

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 80%, so the schema already documents most parameters such as name, value, domain, and ttl. The description adds no parameter syntax, constraints, or examples beyond what the schema provides, making the baseline of 3 appropriate.

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?

States a specific verb ('Add') and resource ('a record to a domain's DNS zone'). It clearly distinguishes the action from sibling tools such as update_dns_record, delete_dns_record, get_dns_zone, and check_dns_propagation without requiring schema inspection.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use this tool versus update_dns_record or delete_dns_record, and no conditions or alternatives are named. Usage is only implied by the word 'Add'.

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