Skip to main content
Glama

remove_domain

Destructive

Detach a custom domain from a Qeda Cloud project so the app stops serving it. First call previews the change; call again with confirm=true after approval.

Instructions

Detach a custom domain: it stops serving the app. The first call only returns a preview; call again with confirm=true once the user agrees.

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
domainYes
confirmNo
project_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the danger is flagged structurally. The description adds the valuable non-obvious behavior that the first invocation is a dry-run preview rather than an actual removal. It stops short of saying whether detachment is reversible or what permissions are required.

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?

Two sentences, zero padding, with the effect stated first and the confirm protocol after. Every clause carries information an agent needs.

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?

The riskiest part of this destructive tool, the two-phase confirmation flow, is fully covered, and an output schema exists so return values need not be described. Gaps remain around required permissions and reversibility, which matter for a destructive operation.

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 0%, so the description needs to compensate. It does explain confirm meaningfully (default false, first call previews, set true on second call), but leaves project_id and domain (format, whether it must be an existing domain on the project) entirely unexplained.

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?

"Detach a custom domain: it stops serving the app" gives a specific verb (detach) and resource, plus the observable effect. It is clearly distinct from add_domain/verify_domain by implication, but no sibling is named explicitly, keeping it just short of a 5.

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 a concrete two-step protocol: the first call previews, and a second call with confirm=true is only made 'once the user agrees'. That is real when-to-use guidance with a precondition. It does not state alternatives (e.g. set_subdomain to replace rather than remove) or when not to invoke it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.