Skip to main content
Glama

Re-enable domain route

enable_domain_route
Idempotent

Use this tool when the user wants a path on their custom domain (独自ドメイン) to open again after it was stopped, such as "/webinar をまた開けるようにして" or "re-enable www.example.com/lp2".

Opens one stopped route again (one disable_domain_route stopped, or 外す on the dashboard), with the page it had. Call list_domain_routes first and pass the id of a route whose status is "disabled".

  • The URL answers again once the route map updates (about a minute). A page that isn't published still answers 404 there until the user publishes it.

  • If another page serves the same path now, nothing changes and the result is route_conflict with that page's existingSiteId: ask the user which page should stay, then disable the other route first. Change it only when the user asks.

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": {
      "routeId": "<routeId>"
    },
    "name": "enable_domain_route"
  }
}

Input Schema

NameRequiredDescriptionDefault
routeIdYesThe id of a disabled route, from list_domain_routes

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
Behavior4/5

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

Goes well beyond the annotations by disclosing propagation delay (~1 minute for the route map to update), the 404 behavior for unpublished pages, and the route_conflict result shape with existingSiteId. This is meaningful context that annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false) do not convey, and nothing contradicts them. It stops short of describing any auth or permission requirements for the custom domain.

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 user-intent trigger, then moves to the operational steps and edge cases in tight bullets. The Japanese/English sample utterances are slightly verbose but directly serve intent matching, and every remaining sentence carries distinct operational information.

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 mutation with no output schema, the description covers the prerequisite lookup, the delay before effect, the failure mode and its payload field, and the consent rule. Nothing an agent needs to invoke or recover from this call is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single parameter is already documented as the id of a disabled route from list_domain_routes, so the baseline is 3. The description adds workflow ordering (query the list first) and reinforces the status constraint that gates a valid call, which is modest but real added meaning.

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 ('opens one stopped route again') and explicitly scopes it to routes stopped by disable_domain_route or the dashboard's 外す, distinguishing it from the sibling that stops routes and from list_domain_routes. The verb+resource+scope combination lets an agent pick it without opening any 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 pass the id of a route whose status is "disabled"'), a concrete conflict path with the alternative action ('disable the other route first'), and an exclusion ('Change it only when the user asks'). Sample user utterances further anchor when to select it.

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.