Skip to main content
Glama

Leave a workspace plan

leave_workspace
Destructive

Prepares the end of a workspace plan: which sites move to the personal plan, who stays as Site Developer, bookings, before the workspace freezes (14 days after the plan ends). Without confirm: the questions. confirm: true returns approve_url.

Input Schema

NameRequiredDescriptionDefault
takeNo
offerNo
confirmNo
bookingsNo
workspaceYes
keep_editorsNo
confirm_tokenNo

Output Schema

NameRequiredDescriptionDefault
sitesNo
questionsNo
approve_urlNo
agent_messageNo
confirm_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / agent_message
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / approve_url
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / questions
      Added value: +{
      +  "type": "array"
      +}
    • addedOutput schema / properties / sites
      Added value: +{
      +  "type": "array"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "confirm_token": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Changed4 schema fields changed
    • changedInput schema / properties / keep_editors / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "all",
      -      "none"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "maxItems": 250,
      -    "type": "array"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "all",
      +      "none"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  }
      +]
    • removedInput schema / properties / offer / maxItems
      Removed value: -250
    • removedInput schema / properties / take / maxItems
      Removed value: -250
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": {},
      -  "properties": {
      -    "agent_message": {
      -      "type": "string"
      -    },
      -    "confirm_token": {
      -      "type": "string"
      -    },
      -    "error": {
      -      "description": "On failure (isError): {code, message}"
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  4. Added

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare destructive=true and readOnly=false, so the safety profile is covered. The description adds meaningful behavior beyond annotations: the workspace freezes 14 days after the plan ends, and confirm: true returns approve_url. It still omits auth requirements and does not explicitly discuss irreversibility, but it adds solid operational context.

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?

The description is short and front-loads the purpose before the confirm behavior. The phrase 'Without confirm: the questions' is terse to the point of ambiguity, but overall there is little wasted text.

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

Completeness2/5

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

For a destructive tool with 7 parameters and no schema descriptions, the definition leaves substantial gaps: it does not adequately explain the parameters or the distinction between take, offer, keep_editors, and confirm_token. The output schema reduces the need to explain return values, and the freeze/confirm notes help, but the parameter documentation is not complete enough for confident invocation.

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

Parameters2/5

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

Schema description coverage is 0% with 7 parameters, so the description must carry the burden of explaining them. It gestures at concepts such as site migration, editor retention, bookings, and confirm, but does not map those concepts to the actual parameter names take, offer, keep_editors, confirm_token, or workspace clearly enough for reliable use.

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 clearly identifies the resource and action: preparing to end a workspace plan, including site migration, editor retention, bookings, and the post-plan freeze. It does not explicitly differentiate this tool from siblings such as save_plan, move_sites, or transfer_site, so it stops 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 Guidelines3/5

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

It explains a two-step confirm flow: call without confirm to get questions, then use confirm: true to receive approve_url. That is useful invocation guidance, but it does not state when to choose this tool over alternatives or when not to use it.

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