Skip to main content
Glama

unfour.workspace.rename

unfour.workspace.rename

Rename a selected workspace with a concurrency guard: supply the expected current name to avoid overwriting a simultaneous rename without altering environment, policy, or active workspace.

Instructions

Renames the explicitly selected workspace through CommandBus. Supply expectedName from workspace.list to prevent overwriting a concurrent rename. Does not change environment, policy or active 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": {
      "workspaceId": "<workspaceId>",
      "name": "<name>",
      "expectedName": "<expectedName>"
    },
    "name": "unfour.workspace.rename"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
workspaceIdYes
expectedNameYes

Output Schema

NameRequiredDescriptionDefault
workspaceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.15.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare this is not read-only, not destructive, not idempotent, and closed-world, so the safety profile is largely covered. The description adds real value with the CommandBus routing and optimistic-concurrency behavior via expectedName, plus the explicit non-effects on environment/policy/active workspace. It is silent on permission requirements and on the failure mode when expectedName mismatches (error vs. silent no-op), which matters for a rename.

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 short sentences, front-loaded with the action, then the safety mechanism, then the boundaries. Every sentence adds a distinct fact with no repetition of the name/title.

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?

Given an output schema exists, return values need no explanation, and the description covers purpose, concurrency safety, and scope boundaries. What is missing is the concurrency-conflict outcome and any permission expectations for a non-read-only operation on a shared resource.

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 description coverage is 0%, so the description carries the full burden of documenting three required parameters. It explains expectedName well (origin and purpose) and implies workspaceId via "explicitly selected workspace", but never states that the target is identified by workspaceId or what name constraints apply. Two of three parameters remain only inferable, so it partially compensates rather than fully.

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 ("Renames the explicitly selected workspace") and scopes it to an explicitly selected workspace rather than the active one. That distinction is reinforced at the end ("Does not change ... active workspace"), which separates it from siblings like unfour.workspace.current. It stops short of naming a sibling for the adjacent case, so not 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 gives a concrete prerequisite: supply expectedName from workspace.list to avoid clobbering a concurrent rename. It also carves out what this operation is not for (environment, policy, active workspace), which steers the agent away from misuse. There is no explicit statement of when to choose a different rename tool, keeping it below 5.

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