Skip to main content
Glama

List custom domains

list_custom_domains
Read-onlyIdempotent

List custom domains with their verification status and what each one serves (mode and serves: the SnapHost viewer, a website with its listing choice, a redirect to the website, or the sharing domain): pass site_id for the domains bound to one site, or omit it for the workspace’s sharing domain. A domain that is not live shows its ownership_record to someone who may manage it: it needs that TXT record and the record that points it here; relay them to the owner exactly as returned. Without site_id the list also names, with status "set_aside", each domain of the workspace that another workspace added before either proved it; relay its note.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_custom_domains"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_idNoThe site whose domains to list
workspace_idNoOptional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Optional: the workspace (the personal space or a Pro workspace) to act in, from list_workspaces. Omit to act in the token owner's own account."New value: +"Optional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for)."
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare a safe, idempotent read, so the description is free to spend its words on behavior the annotations can't express — and it does: conditional result-set expansion when site_id is omitted, the presence of ownership_record for non-live domains, and the explicit instruction to relay TXT/pointing records and set_aside notes verbatim to the owner. This is well beyond the structured metadata and materially changes how an agent handles the response.

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?

It is front-loaded with the resource and result shape, and every sentence carries information about either scope or required follow-up actions. It is dense — a single long paragraph with nested parentheticals enumerating mode/serves values — which costs some readability, but little is wasted.

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?

With no output schema, the description carries the burden of describing return values and does so thoroughly, including the non-obvious set_aside case and the ownership record handoff. workspace_id semantics are left entirely to the schema, which documents them fully at 100% coverage, so the only residual gap is the somewhat compressed enumeration of mode/serves meanings.

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 the baseline is 3. The description earns above baseline by explaining that site_id is not merely a filter but a switch: supplying it narrows to one site's domains, while omitting it changes the target to the workspace sharing domain and adds set_aside entries to the result. That is meaning the schema's one-line parameter blurb does not convey.

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?

The description opens with a specific verb and resource ('List custom domains') and immediately scopes the output ('with their verification status and what each one serves'). It is plainly distinguishable from the add/remove/verify custom domain siblings, and an agent can tell what it will get back 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 Guidelines3/5

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

Guidance is expressed entirely as a call-mode rule: 'pass site_id for the domains bound to one site, or omit it for the workspace's sharing domain.' That is useful, but it does not state when an agent should reach for this tool versus verify_custom_domain or add_custom_domain, nor any real exclusions. Usage is implied by the listing nature of the tool rather than explained.

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.