Skip to main content
Glama

Connect a custom domain

claim_domain
DestructiveIdempotent

Start connecting a domain the user owns (e.g. "example.com") to a site. Returns the DNS records the owner must add at their domain provider; the domain is NOT live until those records exist and verify_domain succeeds. Custom domains need a paid plan — a free plan is refused with an upgrade message. Replaces any domain the site already had. A domain already connected to another site is refused.

Input Schema

NameRequiredDescriptionDefault
domainYesThe domain to connect, e.g. "example.com" — no "www.", no "https://".
site_idYesThe site to act on
user_goalNoOptional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / user_goal
      Added value: +{
      +  "description": "Optional: the user's goal behind this call, in one short sentence of plain words (e.g. \"add a page so customers can book tables\"). No names, emails or other personal details.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing concrete effects and failure modes: it replaces any existing domain (explaining destructiveHint), the domain is not live until DNS records exist and verify_domain succeeds, a paid plan is required, and a domain already bound elsewhere is refused. This is rich operational context an agent could not infer from the schema.

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?

Four front-loaded sentences with zero waste: action, then DNS/verification consequence, then plan gate, then replace/refuse conditions. Each sentence carries distinct, decision-relevant information.

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 still tells the agent it returns DNS records to add, explains the async verification flow, plan constraints, and refusal conditions. An agent has everything needed to call it correctly and set user expectations.

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 the schema already documents all three parameters including the no-www/no-https guidance. The description adds only the 'domain the user owns' framing, not new syntax or semantics, 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?

States a specific verb (connect/claim) and resource (a custom domain a user owns) tied to a site. The sibling landscape (remove_domain, verify_domain) is implicitly disambiguated because the description explains this is the *start* of the flow and that verify_domain is a later step.

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?

Gives clear context and prerequisites: paid plan required, free plan refused, and it starts a flow completed by verify_domain. It lacks an explicit 'use remove_domain to detach' style routing, so it falls just short of a full when/when-not statement.

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