Skip to main content
Glama

Remove a custom domain

remove_domain
DestructiveIdempotent

Disconnect a custom domain from a project. It stops serving and its certificate is removed; the project keeps its own address. The DNS records stay at the user's DNS provider until they delete them.

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

Input Schema

NameRequiredDescriptionDefault
domainYesThe custom domain, e.g. "app.yourcompany.com". A pasted URL is trimmed to its hostname.
project_idYesThe project's id, as returned by create_project or list_projects.

Output Schema

NameRequiredDescriptionDefault
deletedYestrue once it is gone.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, so the description isn't carrying the safety burden alone. It still adds real behavioral value by stating that serving stops, the certificate is removed, the project keeps its default address, and DNS records remain at the provider until the user deletes them.

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?

Three short sentences, each carrying distinct information: what happens, what is destroyed, and what is left untouched. The action is front-loaded and there is no filler.

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 two-parameter destructive operation with an output schema and full annotation coverage, nothing material is missing. The description covers consequences, side effects, and what the user must clean up afterward.

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%, with both domain and project_id fully documented including input normalization and provenance. The description adds no parameter-specific meaning, so the baseline of 3 applies.

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?

"Disconnect a custom domain from a project" gives a specific verb and resource, and the word "disconnect" contrasts naturally with the add_domain sibling. It stops short of naming the sibling, so the differentiation is inferable rather than explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The usage context is implied: call this when a domain should stop serving a project. There is no explicit when-not guidance, no mention of add_domain as the inverse operation, and no stated prerequisites such as verifying the domain is currently attached.

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.