Skip to main content
Glama

Add a DNS record

add_dns_record

Add one DNS record (A, AAAA, CNAME, MX, TXT or SRV) to a domain on the account whose DNS is managed at GlobalHostia. Name is relative to the domain ("@" for the domain itself, "www", "_dmarc").

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": "<domain>",
      "type": "<type>",
      "name": "<name>",
      "value": "<value>"
    },
    "name": "add_dns_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
ttlNo
nameYes"@" for the domain itself, or a host such as www
portNoSRV
typeYes
valueYes
domainYesA domain on your account, e.g. mybrand.com
weightNoSRV
priorityNoMX and SRV

Output Schema

NameRequiredDescriptionDefault
addedNo
domainNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the safety profile is covered. The description usefully adds the eligibility constraint (DNS must be managed at GlobalHostia) and the relative-name convention. It does not disclose duplicate-record behaviour, whether the record is live immediately, or propagation effects for a non-idempotent 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?

Two sentences, front-loaded with the action and record types, followed by the naming convention an agent will most likely get wrong. No filler, though the parenthetical type list partly duplicates the schema enum.

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?

An output schema exists and annotations carry the safety semantics, so the description needn't explain returns. However, for an 8-parameter, non-idempotent mutation with 63% schema coverage, the missing notes on duplicate handling, TTL defaulting and immediate-effect behaviour leave real gaps.

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 coverage is 63%, with the record-type enum and the domain/name/port/weight/priority descriptions already documented in the schema. The description reinforces the relative-name rule and adds the "_dmarc" style underscore example, but says nothing about TTL defaults or priority/weight applicability beyond what the schema states.

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?

The description names a specific verb ("Add") and resource (a single DNS record) and enumerates the supported record types (A, AAAA, CNAME, MX, TXT, SRV), which pins down scope precisely. It stops short of distinguishing itself from the neighbouring delete_dns_record/update_dns_record tools, so the agent must infer the separation from the names alone.

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

Usage Guidelines3/5

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

Usage is implied by "Add one DNS record" and the scope condition "domain on the account whose DNS is managed at GlobalHostia" acts as an eligibility prerequisite. There is no explicit when-not guidance (e.g. use update_dns_record to modify an existing record, or what happens if the record already exists).

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.