Skip to main content
Glama

Verify a custom domain (step 2 of 2)

verify_custom_domain
Idempotent

Check the records from add_custom_domain (the ownership TXT and the routing record) and, when both are right, start serving the site on that domain; the HTTPS certificate follows automatically, usually within a minute or two. If it fails, the result names each record to add, change or remove; DNS changes can take a few minutes to propagate. Calling it again on a verified domain is a harmless re-check.

Input Schema

NameRequiredDescriptionDefault
recordIdYesThe recordId returned by add_custom_domain.
siteNameYesThe site the domain was attached to.

Output Schema

NameRequiredDescriptionDefault
domainYes
messageYes
verifiedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedOutput schema / properties / request_id
      Removed value: -{
      -  "description": "Server-assigned request correlation id. Quote it when contacting support.",
      -  "type": "string"
      -}
  2. Changed1 schema field changed
    • addedOutput schema / properties / request_id
      Added value: +{
      +  "description": "Server-assigned request correlation id. Quote it when contacting support.",
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Adds real context beyond the annotations: it has a serving side effect (site starts serving), issues certificates asynchronously within a minute or two, and returns a per-record remediation list on failure. The re-check note reinforces idempotentHint with practical meaning. It does not spell out whether the domain must be the only one affected or what happens to existing traffic during propagation, so not quite 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?

Front-loads the verification-and-serve behavior, then failure semantics, then timing/retry notes — each clause carries information. It is a dense run-on sentence where a small amount of structure would improve scannability, which keeps it below a 5.

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?

Covers prerequisite, side effects, failure output shape, propagation latency and retry safety, which is enough for an agent to call it correctly; return values need not be explained because an output schema exists. Only the comparison against DNS-inspection alternatives is missing.

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 description coverage is 100%, so both parameters are already documented, including that recordId comes from add_custom_domain. The description repeats the add_custom_domain linkage but contributes nothing new about the parameter values or formats; 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?

States a specific verb and resource ('check the records ... and, when both are right, start serving the site on that domain') and anchors itself as the step after add_custom_domain. The agent can distinguish it from siblings like check_domain_availability, list_dns_records, add_custom_domain and verify_forms_sender_domain without reading 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?

Makes the prerequisite explicit ('the records from add_custom_domain', title says step 2 of 2) and gives retry guidance ('calling it again on a verified domain is a harmless re-check'). It doesn't address alternative situations, e.g. when to inspect DNS with list_dns_records instead, or when it's premature to call this.

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.