Skip to main content
Glama

Register a domain

register_domain

Register a new domain for a site. Returns a payment link for that domain's own yearly price, renewed by itself at the same price until the domain is removed or the plan is cancelled. After payment Clay registers it, points it at the site, sets up the certificate 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": "register_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

A3.7/5.0
Behavior4/5

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

Annotations only declare that this is a non-read-only, non-idempotent, open-world, non-destructive write; the description adds substantial context beyond that: a payment link is returned rather than a charge being made, the price is the domain's own yearly rate with self-renewal until removal or plan cancellation, and fulfillment is asynchronous (registration, DNS pointing, certificate, email). It still omits failure modes such as an unavailable or already-taken domain.

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?

The core action and return value are front-loaded in the first sentence, followed by billing and fulfillment details. Four sentences is a bit long but each carries distinct information; nothing is redundant filler.

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 explains what comes back (a payment link) and what happens after payment, and it states the plan prerequisite. It is close to complete for a two-parameter tool; error behavior for invalid or unavailable domains is the remaining gap.

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 documents both parameters including the no-https/no-www format rule. The description confirms the domain belongs to the site and is billed per-domain, but adds no syntax or format meaning beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource ('Register a new domain for a site') and makes the key distinction that this is a purchase-style registration returning a payment link, not a mere attachment. It does not explicitly contrast with the sibling connect_domain, so an agent must infer that connect_domain is for already-owned domains.

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?

Provides one important precondition ('Needs a paid plan with room for another custom domain'), which helps gate the call. However, there is no explicit when-to-use guidance versus connect_domain or domain_status, so the agent has to infer selection between the sibling tools.

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