Skip to main content
Glama

set_workspace_handle

DestructiveIdempotent

Set or rename a workspace's human-readable display handle without changing its UUID or maidan:// URIs; handles used by another workspace are refused.

Instructions

Set or rename a workspace's handle, a human-readable alias, and return {workspace_id, handle, created_at, updated_at}. The handle is only a display label: the workspace UUID and maidan:// URIs stay unchanged and nothing resolves a handle to a workspace. A handle already used by another workspace is refused as a conflict. Read the current handle with get_room. Requires workspace:write.

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": {
      "workspace_id": "<workspace_id>",
      "handle": "<handle>"
    },
    "name": "set_workspace_handle"
  }
}

Input Schema

NameRequiredDescriptionDefault
handleYesThe new handle: 1 to 64 characters, starting with a lowercase letter and containing only lowercase letters, digits and hyphens, with no double hyphen, no trailing hyphen and not shaped like a UUID. It must not be in use by another workspace.
workspace_idYesUUID of the workspace to name. It must be the caller's own workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv479.0.2
    • addedInput schema / properties / handle / description
      Added value: +"The new handle: 1 to 64 characters, starting with a lowercase letter and containing only lowercase letters, digits and hyphens, with no double hyphen, no trailing hyphen and not shaped like a UUID. It must not be in use by another workspace."
    • addedInput schema / properties / workspace_id / description
      Added value: +"UUID of the workspace to name. It must be the caller's own workspace."
  2. First observedv479.0.0

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations it discloses the authorization requirement, the conflict-refusal behavior for a handle already in use, the exact return keys, and crucial semantics: the handle is a display label only, the UUID and maidan:// URIs are unchanged, and nothing resolves a handle back to a workspace. That last point is the key caveat an agent needs before renaming, since the annotations only flag a generic destructive/idempotent write.

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?

Four sentences, front-loaded with purpose and return shape, then semantics, then conflict behavior, then read path and permission. Every sentence carries content, though the first sentence bundles purpose and return type a little densely rather than leading with a single crisp action statement.

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?

With only two required parameters, no output schema, and a non-read-only annotation set, the description covers everything needed to invoke it correctly: permission, conflict outcome, idempotency-relevant semantics of the alias, and the returned fields. Nothing material is left to inference.

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

Parameters3/5

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

Schema coverage is 100%, so both parameters, including the handle's character rules and UUID format, are already fully documented in the schema. The description's duplicate-handle refusal largely restates the schema's own note ("It must not be in use by another workspace") and adds no new syntax or format detail, so the baseline of 3 applies.

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 first sentence names a specific verb (set/rename) and resource (a workspace's handle), defines what a handle is (a human-readable alias), and states the return shape. It also distinguishes the operation from the sibling read path by naming get_room, so an agent can tell these apart without opening a 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?

It gives the read alternative explicitly ("Read the current handle with get_room") and states the write prerequisite ("Requires workspace:write"), which is real routing guidance. It does not spell out when-not-to-use cases beyond the read path, such as preferring a full rename/import path for bulk changes.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools