Skip to main content
Glama

Create ALIAS Record

create_alias_record
DestructiveIdempotent

Create an ALIAS record at the domain apex for CNAME flattening. This overwrites all existing ALIAS records with the same name, so list DNS records first to avoid data loss.

Instructions

Create an ALIAS record (CNAME flattening at zone apex) for a domain. WARNING: This replaces ALL existing ALIAS records with the same name — previous ALIAS records for this name will be overwritten, not merged. Use list_dns_records first to check for existing records.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ttlNoTTL in seconds
nameYesRecord name (use "@" for root)
domainYesThe domain name
aliasNameYesAlias target hostname (e.g. "example.herokudns.com")
Behavior5/5

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

Beyond the destructiveHint annotation, the description discloses that previous ALIAS records with the same name are overwritten, not merged. This adds critical behavioral context beyond what annotations alone provide.

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 sentences with zero waste. The first explains the purpose, the second provides critical warning and prerequisite action. Every sentence earns its place.

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

Completeness5/5

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

Given no output schema, the description adequately covers behavior (overwrite vs merge), preconditions (check existing records), and the specific DNS record type. The tool is simple but the description is fully complete for safe invocation.

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?

The input schema has 100% description coverage for all 4 parameters, including defaults (ttl) and examples (aliasName). The description does not add additional parameter semantics beyond the schema, so baseline 3 is 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?

The description clearly states the tool creates an ALIAS record, specifying its DNS function (CNAME flattening at zone apex) and distinctively uses a specific verb+resource pattern. It effectively differentiates from sibling tools like create_cname_record or create_a_record.

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

Usage Guidelines5/5

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

The description explicitly warns that it replaces existing records and recommends using list_dns_records first to check for existing records. This provides clear when-to-use and when-not-to-use guidance, including an alternative tool to call beforehand.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/BartWaardenburg/spaceship-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server