Skip to main content
Glama

Algizian

Set custom domain

set_custom_domain
DestructiveIdempotent

Requires sign-in (scope orgs:manage). Register a custom domain for the tenant. The answer carries the CNAME the customer must create; the domain serves sign-in once its status is active.

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": {
      "tenant": "<tenant>",
      "hostname": "<hostname>"
    },
    "name": "set_custom_domain"
  }
}

Input Schema

NameRequiredDescriptionDefault
tenantYestenant slug
hostnameYesfully qualified domain name, for example id.example.com

Output Schema

NameRequiredDescriptionDefault
resultYesThe result of the call: the same JSON the REST API returns for this operation (docs/api, the OpenAPI document), or null when there is nothing to return.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations, it discloses the required auth scope and an important lifecycle fact: the domain is not live immediately, it serves sign-in only once status is active. It also flags that the response carries the CNAME record the customer must create. The main omission is what the destructiveHint=true means in practice — whether an existing binding is overwritten and what is lost.

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?

Three short sentences with zero waste: auth requirement first, the action second, then the operational consequence. Each sentence carries distinct information an agent needs before calling.

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 two-parameter mutation with a full schema and an output schema, the description covers auth, the side effect chain (CNAME creation, activation lag), and the resource affected. It could say more about overwrite behavior and the pending vs active state transitions, but nothing essential to making the call 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 schema already documents both tenant slug and the FQDN format with an example. The description adds no further parameter meaning, so the baseline of 3 applies.

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: 'Register a custom domain for the tenant.' An agent can tell this creates a new domain binding rather than refreshing or removing one. It stops short of naming siblings like refresh_custom_domain or remove_custom_domain, so differentiation is inferred from the verb alone.

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

Usage Guidelines3/5

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

The description supplies a precondition (sign-in with orgs:manage scope) and a post-condition (domain serves sign-in once status is active), which implies when the tool is applicable. However, it never says when to prefer this over refresh_custom_domain or what to do when the domain is already registered, which matters given idempotentHint=true.

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