Skip to main content
Glama

Set custom domain

set_custom_domain
Idempotent

Set (or change) the website's custom domain — creates a pending CNAME verification record.

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": "set_custom_domain"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

The annotations already declare the write, idempotent, non-destructive, open-world profile, so the bar is lower, and the description adds genuinely non-obvious behavior: the call creates a pending CNAME record rather than activating the domain immediately. It does not say what happens to a previously configured domain, how verification completes, or how failures surface.

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?

One front-loaded sentence with the mutation named first and the side effect second; nothing is padded or redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 a clear annotation profile, the description covers the key surprise (deferred CNAME verification), but with no output schema and zero parameter documentation the agent still lacks the domain format and the post-call state. Adequate but with clear gaps.

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

Parameters2/5

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

Schema description coverage is 0% for the single required `domain` parameter, so the description carries the full burden and does not compensate at all. It never states the expected format (bare hostname vs. URL, apex vs. subdomain, IDN/lowercasing rules), which is the main way an agent could mis-invoke this tool.

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?

The description gives a specific verb and resource ("Set (or change) the website's custom domain") that unambiguously separates it from remove_custom_domain. It stops short of naming the sibling or stating a scope boundary explicitly, but the action is still identifiable without opening the schema.

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

Usage Guidelines2/5

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

There is no guidance on when to call this versus alternatives, no prerequisites such as domain ownership, DNS access, or plan/verification requirements, and no note on whether an existing domain is replaced or rejected. The parenthetical "(or change)" gestures at the update case but is not a usage rule.

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