Skip to main content
Glama

Change the workspace address

set_workspace_slug
Idempotent

Change the name in the workspace address https://.24hw.cn (workspace owner only). 3–32 lowercase letters, digits or hyphens, at least one letter. The old address keeps working: every link on it redirects to the same path on the new address (links already sent and printed QR codes still open), and the old name stays reserved for this workspace forever. Once every 30 days (the first change is not limited). Confirm the name with the user before changing it.

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": {
      "slug": "<slug>"
    },
    "name": "set_workspace_slug"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesThe new name, such as acme

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (which only say readOnly=false, idempotent, non-destructive) the description discloses the consequences of the mutation: the old address keeps working, all links redirect path-for-path, already-sent links and printed QR codes still resolve, and the old name is reserved forever. It also discloses the ownership requirement and the 30-day rate limit, which no structured field conveys. This is consistent with destructiveHint=false.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight blocks: what changes and who can do it, what the valid input looks like, then what happens to the old address plus the rate limit and confirmation step. Constraints are front-loaded and every clause carries information an agent would otherwise have to guess.

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 single-parameter mutation with no output schema, the description covers permissions, rate limits, value constraints, side effects on existing links and QR codes, and even a confirmation requirement. Nothing needed to call it correctly or to warn the user beforehand appears to be missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema only says minLength 1, maxLength 64 and 'The new name, such as acme', whereas the description supplies the actual accepted format: 3–32 characters, lowercase letters/digits/hyphens only, at least one letter. That materially narrows and corrects the loose schema bounds and is exactly the kind of meaning the schema cannot carry.

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?

The description opens with a specific verb and resource and immediately concretizes it with the address pattern 'https://<name>.24hw.cn', so an agent knows this rewrites the workspace URL subdomain. It does not explicitly distinguish itself from the adjacent sibling rename_workspace (display name), which is the one plausible confusion, so it falls short of a 5.

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?

It states the hard preconditions clearly: workspace owner only, once every 30 days, and the first change is exempt. It also gives an explicit procedural instruction ('Confirm the name with the user before changing it'), which is real usage guidance rather than filler. It stops short of naming rename_workspace as the alternative for non-URL renames.

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