Skip to main content
Glama

Set sharing domain home page

set_workspace_domain_root
Idempotent

Choose what the bare / of the workspace’s sharing domain does (e.g. share.acme.com/). With site_id it shows that site, which must be a published site of the Shared drive. With website_site_id it sends people to one of the workspace websites (a site id from list_websites): a permanent redirect from the bare / to the website domain, while the website is online; if the website goes offline or is removed, the bare / shows the workspace’s default page (its logo and name) again. Omit both to clear it. Every other path keeps resolving folder and site links as before. Owners and admins of the workspace.

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_id": "<domain_id>"
    },
    "name": "set_workspace_domain_root"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_idNoThe site to show at the bare /
domain_idYesThe sharing domain’s id from list_custom_domains
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).
website_site_idNoThe website to send people to from the bare /, by its site id from list_websites

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / domain_id / description
      Previous value: -"The workspace domain id from list_custom_domains"New value: +"The sharing domain’s id from list_custom_domains"
    • changedInput schema / properties / site_id / description
      Previous value: -"The site to serve at the root; omit to clear"New value: +"The site to show at the bare /"
    • addedInput schema / properties / website_site_id
      Added value: +{
      +  "description": "The website to send people to from the bare /, by its site id from list_websites",
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. 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)."
  3. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnly=false, idempotent=true, destructive=false): it discloses that website mode is a permanent redirect active only while the site is online, that the bare / falls back to the workspace default page (logo and name) if the website goes offline or is removed, that omitting both clears the setting, and that all other paths keep resolving as before. It also states the authorization requirement (owners and admins), which the annotations do not express.

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?

Front-loaded with the outcome, then parameter modes, then clearing and scope, then permissions — a sensible order. It is dense and the middle sentences are long, but nearly every clause carries behavioral information an agent needs; the share.acme.com/ example aids comprehension rather than padding.

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 mutation tool with no output schema, the description covers the important unknowns: idempotent redirect semantics, fallback behavior, clearing, scope of effect, and required role. Minor omissions remain, such as what happens if site_id is not published or the domain is unverified, but nothing essential to 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 the baseline is 3; the description adds real meaning on top by specifying that site_id must be a published Shared-drive site and that website_site_id produces a permanent redirect rather than a rendered page. domain_id and workspace_id are left to their schema descriptions, which is reasonable given their completeness.

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?

States a specific verb and resource: choosing what the bare '/' of the workspace's sharing domain resolves to, with a concrete example (share.acme.com/). It also distinguishes the two mutually exclusive modes (site_id vs website_site_id) and the no-arg clearing behavior, so an agent can tell exactly what this tool does 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 Guidelines4/5

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

Explicitly gives the condition for each parameter: site_id must be a published site of the Shared drive, website_site_id must come from list_websites, and omitting both clears the setting. It also names the prerequisite role (owners and admins) and points to list_custom_domains/list_websites for ids. The only gap is that no sibling alternative is named for related path/slug changes (e.g. set_site_slug), though none of the listed siblings is an obvious substitute.

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.