Skip to main content
Glama

Custom domains

domain
DestructiveIdempotent

For reading use domain_read, which is read-only and needs no approval: "check", "status" here are deprecated (still works). Connect the user's own domain to the published site (paid plans: Hobby 1 per project, Pro 5, Business 10; a bare domain with its www counts once, each other hostname such as portal.example.com as one). action "add" (name: example.com connects www.example.com as the main address and the bare domain as a redirect to it; shop.example.com adds just that): returns the DNS records the user creates at their DNS provider, which it names: per hostname one ownership TXT, the certificate TXT records listed (usually two; more may appear within a minute, shown by domain verify) and a CNAME to customers.lazyfrog.app (on the bare domain an ALIAS or flattening, where the provider is known to have one). At a provider that can only forward the bare domain, or one LazyFrog doesn't recognise, only www is connected: the user forwards the bare domain (301) to https://www. at the provider (it never shows as live, as expected), or, if the provider allows a CNAME or ALIAS on it, "add" with the bare domain again connects it as a redirect. Tell them to keep their MX and email TXT records. Each hostname has a role: main (exactly one: the site's address and SITE_URL), redirect (308 to main, path and query kept: the bare domain and .lazyfrog.app) or entry (served by the same app as it is, no redirect; the app reads the Host header or SITE_HOSTS). A hostname other than the bare domain and www added after the main one is an entry. "set_role" (name, role: "entry" | "redirect"): change one; "set_canonical" (name): make it the main address (the old main one then redirects). "verify": check now (it is also checked every minute in its first hour, then regularly). States: waiting for DNS → ownership → certificate → live. "remove" (name; confirm: true). "check" (names: up to 10, the first the one wanted and the rest alternatives you propose; or name; no project needed): whether each is available, taken (and whether it already points to LazyFrog) or can't be told for its extension, from the registry and DNS. LazyFrog doesn't sell domains: the user buys the name at any registrar they like (or uses one they own), then "add". "status": the records as public DNS sees them now, each one in place or exactly what is missing or wrong (a CNAME pointing elsewhere, an A or AAAA record in the way, a CAA record blocking the certificate), with the email records to keep; changes nothing.

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

Input Schema

NameRequiredDescriptionDefault
nameNo
roleNoset_role: "entry" (the app serves this hostname as it is) or "redirect" (sends visitors to the main address); "main" is set_canonical.
namesNocheck: up to 10 names; the first is the one wanted, the rest alternatives you propose.
actionYes
confirmNo
projectNoProject slug or id (every action but "check" needs it).
idempotency_keyNoAny unique string; a repeated call with the same key has no second effect.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, and the description adds substantial context beyond them: plan quotas (Hobby 1, Pro 5, Business 10), that a bare domain plus www counts once, the DNS records 'add' returns per hostname, the verification cadence (every minute in the first hour, then regularly), the waiting→ownership→certificate→live state machine, and that 'status' changes nothing. What it does not spell out is the consequence of 'remove' — whether it drops the hostname's role, its records, or just the association — and approval requirements are only implied by contrast with domain_read.

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?

The routing instruction is correctly front-loaded, but the body is a single dense block of run-on sentences with stacked parentheticals, making it hard to scan for the one action an agent is about to call. Nearly every fact is substantive — plan limits, DNS records, roles, states — but a per-action breakdown would deliver the same content in far less cognitive load. Not wasteful, but poorly structured for a seven-action tool.

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 multi-action, destructive, open-world tool with no output schema, the description covers what an agent needs to call it correctly: what 'add' returns, how verification progresses, what roles mean, and that LazyFrog is not a registrar. The notable gap is the destructive action 'remove', whose effect on the site and records is never described. Everything else needed to avoid a wrong call is present.

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 57%, and the schema already documents role, names ordering, project and idempotency_key in its own descriptions. The description adds genuine meaning for the most consequential parameter, action, by explaining each value's effect and constraints (name semantics per action, that a non-bare/non-www hostname added after the main becomes an entry, that a second 'add' with the bare domain becomes a redirect). It says nothing about idempotency_key and only implicitly reinforces which parameters belong to which action, so it is above the coverage baseline but not comprehensive.

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 clearly establishes this as the management tool for connecting a user's own domain to a published site, and it enumerates every action (add, verify, remove, set_canonical, set_role, check, status) with what each does. It also names the read-only sibling domain_read, so an agent can distinguish the two without opening schemas. The purpose statement itself is buried under the tooling advice in the opening clause, keeping it short of a 5.

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?

Explicitly routes read-only work to domain_read and marks 'check'/'status' here as deprecated (still working), which is exactly the kind of alternative-selection guidance an agent needs. It also gives situational context for individual actions: 'check' needs no project, 'add' is what you do after the user buys at any registrar, 'verify' is for forcing a recheck. It lacks an explicit 'do not use this for X' exclusion and the per-action triggers are woven into prose rather than stated as rules.

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