Skip to main content
Glama

Set paths on your domain (which name opens which page)

set_domain_route
Idempotent

Choose which page or folder each name opens on the user’s own domain: path="/" is the home page, path="/autumn-plan" is https://go.acme.com/autumn-plan. Pass proposal_id or folder_id; remove=true deletes the path. A page always shows its current version (no need to set it again after a new version). The domain does not have to be live yet: set paths first and they open the moment it goes live. Whether readers can see the page is decided by that page’s own visibility (set_visibility). Names are 1–64 lowercase letters, digits and hyphens.

Input Schema

NameRequiredDescriptionDefault
pathYesPath: / or / plus a name, such as /autumn-plan
removeNotrue = delete this path (do not pass proposal_id / folder_id)
hostnameNoThe domain itself, such as go.acme.com; pass this or domain_id
domain_idNoThe domain_id returned by bind_domain / list_domains; pass this or hostname
folder_idNoOpen this folder (pass this or proposal_id)
proposal_idNoOpen this page (pass this or folder_id)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, so the safety profile is covered; the description still earns credit by clarifying that remove=true performs the deletion (and which arguments to omit then), that pages track their current version automatically (no re-set after publish), and that setting paths before go-live is safe. It adds real behavioral context rather than restating annotations.

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 purpose and a worked path example, then behavior, prerequisites and naming rules. Four dense sentences with essentially no filler, though the version-inheritance sentence could be tightened.

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 6-parameter, no-output-schema mutation tool this covers operation, deletion, propagation timing and naming constraints, and points to set_visibility for the adjacent concern. It stops short of stating auth/permission requirements or what happens on an invalid or conflicting path, which are minor residual gaps.

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, but the description adds genuine semantics: path naming rules (1–64 lowercase letters, digits, hyphens), path format examples, the hostname/domain_id and proposal_id/folder_id mutual exclusivity, and the rule that remove=true must not be combined with proposal_id/folder_id.

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?

Specific verb (choose/set which page opens) and resource (paths on the user's own domain), with concrete examples ("/" = home page, "/autumn-plan" = https://go.acme.com/autumn-plan). The scope is distinguishable from name-similar siblings such as bind_domain and set_visibility, and the latter is explicitly deferred to for reader visibility.

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?

States the core usage contract: pass proposal_id or folder_id to open a page or folder, remove=true to delete a path, and that the domain need not be live yet. It routes visibility decisions to set_visibility. What it does not state is the prerequisite relationship to bind_domain/list_domains beyond a schema mention, or when to prefer hostname over domain_id.

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