Skip to main content
Glama

Create DNS record

create_dns_record
Destructive

Add a DNS record (A, AAAA, CNAME, MX, TXT, NS). Takes effect on the internet; ask the user first.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "domain_id": "<domain_id>",
      "type": "<type>",
      "content": "<content>"
    },
    "name": "create_dns_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
ttlNo1 = automatic, otherwise 60–86400 seconds.
nameNo@ for the domain itself, or a sub-name like www.
typeYesRecord type. Pick it from what you want: A for an IPv4 address, AAAA for IPv6, CNAME to point at another name, MX for mail, TXT for verification, NS to delegate.
contentYesWhat the record points to, and it depends on the type: an IPv4 address for A (93.184.216.34), an IPv6 address for AAAA, a hostname for CNAME and NS (www.example.com), priority and host for MX (10 mail.example.com), and free text for TXT.
proxiedNoThrough Cloudflare's proxy (A, AAAA, CNAME only).
priorityNoRequired for MX.
domain_idYesThe website's id — from list_sites.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, idempotentHint=false, and readOnlyHint=false, so the safety profile is covered. The description still earns credit for two pieces of added context: the change propagates to the public internet, and the agent should get user confirmation before proceeding. It omits what happens on failure or propagation timing, so it is not a 5.

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 with zero filler, and the highest-value information (the confirmation warning) is front-loaded after the one-line purpose statement. Nothing can be trimmed without losing meaning.

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 7-parameter mutation tool with no output schema but rich annotations and full schema documentation, the description covers purpose, safety, and confirmation adequately. It could have said what a successful call returns or that new records may take time to resolve, which is the only material gap.

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 100% and every parameter already documents itself, including the type-dependent meaning of content and the enum for type. The description's parenthetical record-type list merely echoes the enum, adding no new semantics. Baseline 3 is appropriate when the schema does all the work.

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?

"Add a DNS record" pairs a specific verb with a specific resource and enumerates the supported record types (A, AAAA, CNAME, MX, TXT, NS), so the agent knows exactly what gets created. It does not explicitly contrast itself with delete_dns_record/update_dns_record, but the verb 'add' is unambiguous enough to separate it from those siblings.

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?

It supplies a genuine usage rule: the change is live on the internet, so confirm with the user first. That is a clear condition for how to invoke it. It stops short of naming alternatives (e.g. use update_dns_record to modify an existing record instead), so there is no explicit when-not guidance.

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