Skip to main content
Glama

Configure custom domain

resources.domain.configure

Set or remove the custom domain for an authorized app or service resource.

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": {
      "resource_id": "<resource_id>",
      "domain": "<domain>"
    },
    "name": "resources.domain.configure"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYescustom FQDN, or an empty string to remove the custom domain
resource_idYesapp or service resource identifier
organization_idNoorganization membership to use for this call; omit only when the account has one current membership

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare openWorldHint=false and destructiveHint=false. The description adds that the target must be an 'authorized' resource, hinting at an auth precondition, and clarifies that the same call both sets and removes the domain. It does not state whether removal is immediate, whether it requires DNS re-verification, or how conflicts with an existing binding behave.

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?

A single tight sentence with the resource and the dual set/remove behavior front-loaded; nothing is padded. It is efficient, though it lacks any structuring of prerequisites or follow-up information.

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?

An output schema exists so return values need not be described, and annotations cover the open-world/destructive profile. However, for a config mutation, the description omits any mention of authorization prerequisites or the effect of removal, leaving the agent to infer them from the schema.

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%: the schema already documents domain (empty string removes), resource_id, and organization_id. The description adds no parameter-level detail beyond what the schema states, so the baseline 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 pair (set/remove) and resource (custom domain) scoped to an app or service resource, which separates it from generic siblings like resources.configure and resources.env.configure. It stops short of naming those siblings explicitly, but the scope is unambiguous.

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?

The description conveys that the tool handles both setting and removing a domain, but gives no context on when to reach for it versus resources.configure, no prerequisites (DNS/ownership verification, resource state), and no exclusions. Usage is only inferable from the name and scope.

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