Skip to main content
Glama

Put a page at a path on your workspace address

set_page_path
Idempotent

Put any page or folder at a name on the workspace’s own address: path="/autumn-plan" is https://.24hw.cn/autumn-plan, path="/" is the workspace home page. Pass proposal_id or folder_id; remove=true deletes the path; omit path to list the current paths. Works out of the box: no domain to bind and no DNS records (that is bind_domain / set_domain_route, for the user’s own domain). Setting an existing name again points it at the new page, so an address already sent out now opens the new page. The page always shows its current version; whether readers can see it is decided by the page’s own visibility (set_visibility). Once set, this page’s link (url in list_proposals, the share card, copy link) is this tidy address. Names are 1–64 lowercase letters, digits and hyphens. Change the part with set_workspace_slug.

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

Input Schema

NameRequiredDescriptionDefault
pathNoPath: / or / plus a name, such as /autumn-plan; omit to only list the current paths
removeNotrue = delete this path (do not pass proposal_id / folder_id)
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.8/5.0
Behavior5/5

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

Annotations only say non-read-only, non-destructive and idempotent; the description adds the non-obvious consequence that re-setting an existing name silently repoints an already-distributed address to a new page, plus that remove=true deletes the path and that name constraints are 1–64 lowercase letters, digits and hyphens. It also clarifies the page always serves its current version regardless of the path mapping.

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?

Scope and the domain-tool contrast are front-loaded, and every sentence carries information. It is dense and somewhat parenthesis-heavy ('that is bind_domain / set_domain_route', 'set_visibility'), which slightly impedes scanning but does not waste words.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mapping/mutation tool with no output schema, the definition covers what is being changed, what happens on collision, how to undo, how to list, naming rules, and where visibility is controlled elsewhere. Nothing an agent needs to call this correctly appears to be 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 still adds meaning by defining what path resolves to (a URL on the workspace address) and that '/' is the workspace home page, which the schema only gesturally states. Mutually exclusive parameter usage and the listing mode are largely restated from the schema rather than extended.

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 concrete verb and resource ('Put any page or folder at a name on the workspace's own address') and immediately grounds it in an example mapping ('path="/autumn-plan" is https://<workspace>.24hw.cn/autumn-plan'). It explicitly distinguishes itself from the closest-looking siblings, bind_domain and set_domain_route, which handle the user's own domain.

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

Usage Guidelines5/5

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

It states when to use this instead of domain tools, when to omit path (listing), when to pass remove=true, and which identifier to supply (proposal_id or folder_id). It also defers a related decision to the right sibling by noting that reader access 'is decided by the page's own visibility (set_visibility)' and that the workspace portion is changed via set_workspace_slug.

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