Skip to main content
Glama

Choose what a domain shows

set_domain_front
DestructiveIdempotent

Decide which work (website, form, shop) is shown at the root of a domain. where=managed: a managed domain, root and www together (domain_id). where=custom: one connected hostname (custom_id). This changes what visitors of the domain see: ask the user before calling this. Pass replace=true only if the user said to replace foreign DNS records.

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": {
      "where": "<where>",
      "domain_id": "<domain_id>",
      "target_kind": "<target_kind>",
      "target_id": "<target_id>"
    },
    "name": "set_domain_front"
  }
}

Input Schema

NameRequiredDescriptionDefault
whereYesWhat the domain shows: the account's managed start page, or a custom target you set yourself.
replaceNoOnly for managed: replace foreign DNS records at root and www.
domain_idYesdomain_id (managed) or custom_id (custom) from get_address_plan.
target_idYesThe work's id from get_address_plan.
target_kindYesWhat should be shown: site, form or shop.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and openWorldHint=true; the description goes further by explaining the consequence ('this changes what visitors of the domain see'), requiring the agent to ask the user first, and restricting replace=true to cases where the user explicitly agreed to overwrite foreign DNS records. It does not discuss reversibility or how to restore a previous target, which is the remaining gap for a destructive mutation.

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?

Three tightly packed sentences, front-loaded with the purpose and followed by per-mode conditions and the safety constraint. No filler, though the mode mapping is compressed enough that an agent may need to re-read it.

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?

For a destructive, open-world mutation with five parameters and no output schema, the description covers purpose, mode semantics, and the confirmation/destructive-record caveat. It stops short of saying what happens to an existing target when switching kinds or when the call is rejected, but nothing essential for a correct invocation 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%, so baseline is 3; the description adds real meaning by explaining that domain_id holds either a managed domain id or a custom_id depending on where, which the schema alone leaves ambiguous. It also scopes replace to the managed case only, beyond what the schema states.

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?

Names a specific verb and resource ('Decide which work ... is shown at the root of a domain') and enumerates the target kinds (website, form, shop), so an agent knows exactly what the tool changes. It does not explicitly contrast with nearby tools such as set_domain_redirect or set_domain_email, so sibling differentiation is implied by the resource rather than stated.

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?

Gives conditional guidance for both modes -- where=managed for a managed domain (root and www together, domain_id), where=custom for one connected hostname (custom_id) -- and a clear precondition for replace=true. It adds a user-confirmation requirement, though it does not name alternative tools an agent might use instead (e.g. redirect or email setters).

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.

Resources