Skip to main content
Glama

Connect a domain they own

connect_domain
Idempotent

Put a domain the user already owns on a site. Returns the exact DNS records to set, their DNS provider (detected) with short steps and a link, a ready-to-send email for whoever manages their DNS, and a warning not to touch mail (MX) records. Clay checks every 10 minutes and emails the user when it is live. Needs a paid plan with room for another custom domain.

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

Input Schema

NameRequiredDescriptionDefault
siteYesthe site's clay.site name (subdomain) or its id
domainYesthe domain, e.g. padariarosa.pt (no https://, no www)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare the safety profile (not read-only, open-world, idempotent, non-destructive); the description goes well beyond them by disclosing the full return payload (DNS records, detected provider with steps and link, ready-to-send email), a safety warning about MX records, and the asynchronous follow-up (polling every 10 minutes plus an email when live). This is exactly the behavioral detail an agent needs for a mutation with delayed effect.

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?

Purpose is front-loaded, then returns, then side effects, then the plan prerequisite — a logical order with no filler. The single long sentence enumerating four deliverables is dense but each element is information the caller needs.

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?

With no output schema, the description correctly takes on the burden of explaining returns, notifications, and the paid-plan gate, which makes it largely self-sufficient for an async mutation tool. It does not cover conflict cases such as the domain already being attached to another site or how failures surface.

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%, and the schema already explains both the site identifier and the bare-domain format. The description adds only the constraint that the domain must be user-owned, not any syntax or format detail beyond the schema, so baseline 3 applies.

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?

"Put a domain the user already owns on a site" gives a specific verb plus resource, and the qualifier "already owns" cleanly separates it from register_domain (buy new) and domain_status (check progress). An agent can select this 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?

The precondition "Needs a paid plan with room for another custom domain" tells the agent when the call will fail, which is genuinely actionable context. It stops short of naming alternatives such as domain_status for checking propagation or register_domain for acquiring a new name, so no explicit when-not guidance is present.

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