Skip to main content
Glama

Connect a domain

connect_domain
Idempotent

Connect a domain your workspace already owns and optionally attach a published site. Returns the DNS records admins must add at the domain's DNS provider.

Instructions

Connect a domain the workspace already owns (bakery.com, www.bakery.com or shop.bakery.com), optionally showing a published site. Answers the DNS records to add at the domain's DNS company (admins).

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": {
      "name": "<name>"
    },
    "name": "connect_domain"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
page_idNoA published site's page id
workspaceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare this is a non-destructive, idempotent, open-world mutation; the description adds real context beyond them by stating the domain must already be owned, that the call returns the DNS records to add at the registrar, and the '(admins)' note flagging an admin-permission requirement. It does not cover what happens on failure or whether an existing connection is overwritten, which is the main remaining gap.

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 tight sentences with the ownership constraint and hostname examples front-loaded, and the return-value fact in the second sentence. The trailing '(admins)' parenthetical is terse to the point of ambiguity, but nothing is wasted.

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

Completeness4/5

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

For a three-parameter mutation with no output schema, the description covers the prerequisite, the hostname format, the optional page binding, and the fact that the response is DNS records to add. The one substantive hole is the undocumented 'workspace' parameter, which matters for a tool that mutates workspace-scoped configuration.

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 only 33%, with just page_id documented, so the description has to carry weight for the other two. It does supply the accepted hostname shapes for 'name' (apex, www, subdomain) and clarifies that page_id links a published site, but the 'workspace' parameter is never mentioned in either the schema or the description.

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 pairs a specific verb ('Connect') with a specific resource ('a domain') and immediately bounds the scope to domains the workspace already owns, with concrete examples of the accepted hostname forms. It implicitly separates itself from check_domain/get_domain/list_domains by being the operation that attaches a domain, though it never names those siblings.

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 phrase 'the workspace already owns' functions as a prerequisite, implying this is not for registering or verifying an unowned domain, and 'optionally showing a published site' signals that page binding is optional. However, there is no explicit when-to-use vs when-not guidance and no reference to check_domain or search_domains for pre-verification, leaving routing to inference.

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