Skip to main content
Glama

Create CNAME Record

create_cname_record
DestructiveIdempotent

Add a CNAME record to point a subdomain to a canonical name. All existing CNAME records with the same name will be replaced, so check existing records first.

Instructions

Create a CNAME record (canonical name/alias) for a domain. WARNING: This replaces ALL existing CNAME records with the same name — previous CNAME 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 (subdomain)
cnameYesCanonical name to point to (e.g. "example.com")
domainYesThe domain name
Behavior5/5

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

Annotations already indicate destructiveHint=true, but the description adds crucial context about the overwriting behavior (not merging), which goes beyond the annotation. The description aligns with and expands on the 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?

The description is two sentences, concise and front-loaded with the core purpose. Every sentence adds value—first states what it does, second warns about critical behavior.

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?

For a simple tool with good annotations and full schema coverage, the description provides sufficient context about replacement behavior and pre-conditions. No output schema is needed.

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 100%, so baseline is 3. The description does not add extra meaning to individual parameters beyond what the schema provides; the overwriting warning is behavioral, not parameter-specific. Hence a 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 a CNAME record (canonical name/alias) for a domain, using specific verb and resource. It distinguishes from sibling tools by specifying the record type.

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 this replaces ALL existing CNAME records with the same name and advises using list_dns_records first to check. This provides clear when-to-use and when-not-to-use guidance.

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