Skip to main content
Glama

Attach domain

attach_domain
Destructive

Points a domain the owner already has at their site, e.g. www.oaklinegoods.com (AiWebInfra sells none). Pro plan only. Returns two DNS records to add, record (CNAME/ALIAS: routes) and ownership (TXT: proves it is theirs), checked for a week (domain_status (area domains) follows them); the site changes only once the domain is live. The answer carries steps for the owner’s situation, instructionsUrl (a 7-day page with them), warning when something must happen first, and beforeGoLive (the go-live checklist). AiWebInfra never takes DNS credentials. A bare domain (example.com): check_domain (area domains) first — at a DNS host with no ALIAS-style record (GoDaddy and the like) the site goes on www instead, and the answer then carries wwwInstead and says not to add the records. Full reference: get_reference {topic:"domains"}.

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": {
      "siteId": "<siteId>",
      "domain": "<domain>"
    },
    "name": "attach_domain"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesThe hostname to attach, e.g. "www.oaklinegoods.com" — not a URL
siteIdYesSite id (from list_sites)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, so the bar is lower, yet the description adds real context: no DNS credentials are ever taken, the site only changes once the domain is live, and DNS checks run for a week. It does not say what happens if verification is never completed or how to undo an attach, which is the remaining gap for a destructive operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded, but the body is one dense paragraph with nested parentheses ("domain_status (area domains)") and mixed conventions that make the return-value detail hard to parse on first read. The content mostly earns its place; the packaging does not.

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?

With no output schema, the description carries the return burden and does it: it enumerates the record/ownership DNS entries, the steps, instructionsUrl, warning, and beforeGoLive fields, and points to get_reference for full detail. Edge cases (bare domain, no ALIAS support) are covered, so nothing needed to call it correctly is missing.

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 both parameters are already documented, and the baseline is 3. The description does add meaning by separating a bare domain (example.com) from a www hostname and explaining the divergent wwwInstead outcome, but it never elaborates on siteId or the hostname string format beyond the schema.

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 opens with a specific verb and resource, "Points a domain the owner already has at their site," and immediately bounds the scope ("AiWebInfra sells none"), which distinguishes it from detach_domain and from any purchase flow. An agent can identify the action and the object without opening the schema.

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 gives a hard prerequisite ("Pro plan only"), states the owner must already hold the domain, and routes bare-domain cases to check_domain first. It stops short of explicitly contrasting detach_domain, but the when/when-not conditions here are otherwise clear.

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