Skip to main content
Glama

Remove custom domain

remove_domain
Destructive

Use this tool when the user wants to remove or disconnect a custom domain (独自ドメインを外す, ドメインの接続を解除, ホームページ・Webサイト・ランディングページのドメインをやめる) from Convika.

Removes one connected site (such as www.example.com) from this workspace. Every page URL on it stops opening (404) at once, and its HTTPS certificate is released; the pages themselves stay, at their paths on the workspace's {name}.convika.page site. Pages whose main URL was on it fall back to their convika.page URL as their main URL (some only from their next publish). Before calling it:

  • Call list_domain_routes and tell the user which URLs will stop opening, then get their explicit confirmation.

  • If a root domain (example.com) redirects to this www site, tell the user to delete the root's A record at their DNS company too. The result lists stoppedUrls. To stop only one path, use disable_domain_route instead.

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

Input Schema

NameRequiredDescriptionDefault
domainYesThe custom domain's id or hostname, such as www.example.com

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructive=true and readOnly=false, but the description adds substantial detail beyond them: all page URLs 404 immediately, the HTTPS certificate is released, pages survive at {name}.convika.page, and main URLs fall back (some only after next publish). It also states the result contains stoppedUrls, which is the only return-value information available since there is no output schema.

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?

Front-loads the trigger condition, then effects, then a bulleted 'Before calling it' checklist, then the alternative. Every sentence carries operational weight — consequences, prerequisites, or routing — with 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 destructive, open-world single-parameter tool with no output schema, the description covers consequences, prerequisite verification, DNS follow-up, and the shape of the result (stoppedUrls). Nothing an agent needs in order to call it safely is missing.

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% and the single parameter's description already says it accepts an id or hostname such as www.example.com. The description reinforces that the target is one connected site and gives an example hostname, but adds no format, validation, or lookup semantics beyond the schema. Baseline 3 is appropriate when the schema carries the parameter 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?

States a specific verb and resource ('remove or disconnect a custom domain') plus the scope ('from Convika'), and explicitly contrasts itself with disable_domain_route, which only stops a single path. An agent can distinguish it from the route-level siblings without opening either schema.

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

Usage Guidelines5/5

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

Gives explicit preconditions (call list_domain_routes first and get explicit user confirmation), a DNS caveat about the root domain's A record, and a named alternative (disable_domain_route) with the exact condition that selects it. Japanese phrasings are included so intent matching works across languages.

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.