Skip to main content
Glama

workspace_leave

Destructive

Leave the workspace after payer and final-owner checks pass.

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": {
      "workspaceSlug": "<workspaceSlug>"
    },
    "name": "workspace_leave"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspaceSlugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and openWorldHint=false, so the risk profile is known. The description adds a genuine extra fact — that payer and final-owner checks gate the operation — but says nothing about what happens to the workspace's data, whether the call is reversible, or what an error response looks like.

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

Conciseness3/5

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

One short sentence with no wasted words and the key action front-loaded. It is concise to the point of under-specification, however, so the brevity costs more than it saves.

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?

This is a destructive, no-output-schema operation with an undocumented parameter, and the description covers only the action and a vague precondition. An agent still cannot tell how this differs from workspace_delete or what state the workspace is left in afterwards.

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% for the single required parameter workspaceSlug, and the description does not mention it at all. For a one-parameter tool the name is largely self-explanatory, but the description adds nothing about accepted format or identifier expectations.

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 gives a specific verb and resource ("Leave the workspace"), which is more precise than a bare name restatement and signals a membership exit rather than a full deletion. It does not, however, distinguish this from the sibling workspace_delete, leaving the boundary between leaving and deleting to inference.

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

Usage Guidelines2/5

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

The clause "after payer and final-owner checks pass" implies preconditions but never tells the agent when to choose this over workspace_delete or what to do if the checks fail. There is no explicit when-to-use or when-not-to-use guidance.

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