Skip to main content
Glama

Verify custom domain

verify_custom_domain
Idempotent

Re-check a custom domain's DNS and activate it once both records resolve: the one that points it here and its TXT ownership record. Call after adding the DNS records that add_custom_domain returned. Relay any required_dns_records to the owner exactly as returned. For a website on a subdomain it checks the optional parent-domain record afresh too: parent_mail says it is confirmed; otherwise optional_parent_mail_record is the record, optional_parent_mail_state says whether it is missing or could not be checked, and optional_parent_mail_note says how to offer it. It is never needed for the domain to go live. On an ordinary site, an owner or admin who can edit it.

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

Input Schema

NameRequiredDescriptionDefault
domain_idYesThe domain id from add_custom_domain or list_custom_domains
workspace_idNoOptional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Optional: the workspace (the personal space or a Pro workspace) to act in, from list_workspaces. Omit to act in the token owner's own account."New value: +"Optional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for)."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag this as an idempotent non-destructive write, and the description goes beyond them by explaining the activation effect, the meaning of `required_dns_records`, `parent_mail`, and the `optional_parent_mail_*` fields, and the fact that the parent-domain record is never required for go-live. It never states failure behavior or retry timing, which keeps it from a 5.

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 its precondition are front-loaded, and every clause carries information. The descant into four `optional_parent_mail_*` field names is dense but justified by the absence of an output schema; the closing permission fragment ('On an ordinary site, an owner or admin who can edit it.') reads as a dangling afterthought.

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 two-parameter mutating tool with no output schema, the description supplies the caller prerequisites, the sequencing against a sibling workflow, and a map of the notable response fields. What remains thin is failure diagnostics and routing guidance when DNS does not resolve.

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 `domain_id` and `workspace_id` are fully documented in the schema itself, including provenance and the personal-space default. The description adds nothing about either parameter, so the 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?

The description opens with a specific verb and resource: 'Re-check a custom domain's DNS and activate it once both records resolve.' It names the exact precondition (A/CNAME plus TXT ownership record) and implicitly separates itself from add_custom_domain, which only registers the domain.

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?

It states the triggering moment clearly ('Call after adding the DNS records that add_custom_domain returned') and notes the permission scope ('an owner or admin who can edit it'). It does not spell out a when-not case such as what to do if verification repeatedly fails, so it falls short of full alternative routing.

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.