Skip to main content
Glama

Remove a custom domain

remove_custom_domain
DestructiveIdempotent

Detaches a custom domain from a site, which goes back to its {subdomain}.runlitehost.com address immediately. Removing the certificate and distribution behind the domain takes a few minutes; until that cleanup has finished this returns removed: false. Safe to call repeatedly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations, it explains the immediate effect, the delayed certificate/distribution cleanup, the transient removed:false return value, and repeat-call safety. This is exactly the kind of mutation behavior an agent needs before invoking 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three tightly written sentences, front-loaded with the main effect and followed by the timing and idempotency details. Every sentence adds useful information without repetition.

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?

For a one-parameter destructive operation with no output schema, the description covers the immediate effect, asynchronous cleanup, return behavior, and repeatability. An agent has enough context to invoke it correctly despite the simple schema.

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?

There is only one required parameter, siteId, but schema description coverage is 0%. The description implies the parameter identifies the site but does not add format or lookup details, so it only partially compensates for the missing schema documentation.

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 uses a specific verb and resource: it detaches a custom domain from a site and explains the immediate fallback to a runlitehost.com subdomain. This clearly distinguishes it from sibling tools like set_custom_domain and check_custom_domain_status.

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?

The description gives clear operational context: the domain reverts immediately, cleanup finishes later, and the call is safe to repeat. It does not explicitly compare against alternatives such as set_custom_domain, but the removal scenario is unambiguous.

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