Skip to main content
Glama

CMO Studio: deploy and host AI-built apps

Remove domain

remove_domain
Destructive

Remove a custom domain from the project.

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": {
      "slug": "<slug>",
      "host": "<host>"
    },
    "name": "remove_domain"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostYesDomain
slugYesProject slug

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

The destructiveHint annotation already tells the agent this is a destructive mutation, so the description needed to add what the annotation cannot: whether removal is immediate, whether SSL certs or routing are torn down, and whether the domain can be re-added. None of that is present; the sentence largely restates the title.

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?

One short sentence with the verb and scope front-loaded and zero filler. It is efficient, though the terseness leaves no room for the operational detail an agent would need.

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

Completeness2/5

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

For a destructive, irreversible-in-practice operation with no output schema and no annotations beyond destructiveHint, the description should at minimum state preconditions and side effects. It is missing both, leaving the agent to call a delete tool blind to consequences.

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% (both slug and host are documented), so the baseline is 3. The description adds no meaning about the relationship between host and slug, e.g. whether host must be one currently registered on that project.

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?

States a specific verb and resource ("Remove a custom domain") and scopes it to the project, which separates it from add_domain and verify_domain. It stops short of distinguishing a custom domain from a mail domain in explicit terms, so the differentiation is only partial.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no stated precondition (the domain presumably must already be attached/verified), and no pointer to the sibling to use instead if the agent actually wants to detach or re-verify. The agent must infer all routing from the tool name.

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.