Skip to main content
Glama

Create DNS record

create_dns_record
Idempotent

Create a DNS record for a domain with name, type, value, and priority. Identical existing records are treated as a no-op, preventing duplicates.

Instructions

Create a DNS record. The underlying API treats an already-identical record as a no-op.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
valueYes
domainYes
priorityNo
record_typeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
afterNo
beforeNo
changedYes
messageNo
dns_serialNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true, and the description's no-op statement aligns with that. It adds slight nuance by specifying that only an 'already-identical record' is a no-op, but it does not disclose other behavioral details like conflict behavior or prerequisites.

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 concise, front-loaded with the core action, and contains no filler. The second sentence adds useful idempotency nuance without bloating the text.

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

Completeness2/5

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

For a 5-parameter creation tool with no parameter descriptions, the definition is incomplete. The output schema covers return values, but the agent still lacks info about parameter formats, record type constraints, and domain existence requirements.

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 0% and the description does not explain the 5 parameters. The phrase 'DNS record' gives general context, but it does not clarify fields like value, record_type, or priority for different DNS record types.

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 clearly states the verb ('Create') and resource ('DNS record'), and the sibling set includes list/get/update/delete operations, so this tool is unambiguous. The no-op clarification does not obscure the purpose.

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?

The description implies when to use the tool: when a DNS record needs to be created. However, it does not explicitly contrast with update_dns_record or say when NOT to use it, such as when modifying an existing record.

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