Skip to main content
Glama

Update custom domain

update_custom_domain
Destructive

Update a custom domain's mutable settings: its label (display_name) and its routing (slug_prefix + root_endpoint). This is how a domain becomes the public front door of an app: set slug_prefix to the app's slug prefix so shop.customer.com/ serves <slug_prefix>/, and root_endpoint to the app's landing endpoint so '/' has a page. All provided fields are set WHOLESALE — an empty value CLEARS that setting. The hostname identifies the domain and cannot be changed — and these tools cannot delete a domain, so a hostname cannot be moved from here; removing a claim is done in the Tessryx app.

Input Schema

NameRequiredDescriptionDefault
hostnameYesThe hostname identifying the domain to update.
slug_prefixNoThe endpoint subtree this domain mounts (usually an app's slug prefix). Empty = the whole tenant tree. Set wholesale.
display_nameNoHuman label. Empty clears it.
root_endpointNoWhat the domain root ('/') serves, RELATIVE to slug_prefix. Empty = the root returns 404. Set wholesale.

Output Schema

NameRequiredDescriptionDefault
statusYes
hostnameYes
dns_recordsNo
slug_prefixNo
verified_atNo
activated_atNo
display_nameNo
root_endpointNo
last_check_messageNo
cert_status_messageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past annotations by disclosing the highest-risk behavior: all provided fields are set wholesale and an empty value CLEARS the setting. It also states the hostname is immutable and that these tools cannot delete or move a domain, which is exactly the sort of consequence an agent needs before calling a destructive tool.

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 purpose and mutable fields, then layers on behavioral caveats. Every sentence contributes, though the front-door example makes the middle dense and a bit longer than strictly necessary.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values needn't be explained. The description covers mutability, clearing semantics, immutability of the identifier, and the out-of-scope delete — everything an agent needs to invoke this destructive tool safely.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds relational meaning the schema doesn't: shop.customer.com/<path> serves <slug_prefix>/<path>, and root_endpoint is relative to slug_prefix. That clarifies how the parameters interact, though it doesn't add per-parameter syntax detail beyond the schema.

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?

Names a specific verb (update) and resource (custom domain) and enumerates exactly which settings are mutable (display_name, slug_prefix, root_endpoint). It also states what is not mutable (hostname) and rules out deletion, which separates it from create_custom_domain, get_custom_domain and the delete_* siblings.

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?

Explains the concrete use case — making a domain the public front door of an app — with a worked example of how slug_prefix and root_endpoint combine. It also routes deletion elsewhere ('removing a claim is done in the Tessryx app'). It stops short of an explicit 'use this instead of X when Y' against create_custom_domain.

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