Skip to main content
Glama

Switch workspace

switch_workspace

Change the active workspace so this connection and all later calls target another brand's leads, mailboxes and sequences. Confirm the brand with the user before switching.

Instructions

Point this connection at another of the user's workspaces and return the one now active. Every later call, in this conversation and any other using this connection, acts on that brand: its leads, mailboxes and sequences. Confirm with the user which brand before switching.

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>"
    },
    "name": "switch_workspace"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspace_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false and destructiveHint=false, which is minimal for a state mutation. The description adds the critical blast-radius detail: the switch affects this connection globally, so every later call in this conversation and any other sharing the connection acts on that brand. It also states the return value (the now-active workspace). That is substantial context beyond the structured fields.

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 and immediately followed by the consequence. The confirmation instruction lands last as a caution, and no sentence is redundant.

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?

For a one-parameter, non-read-only tool with no output schema, the description covers the important ground: the mutation, its persistent connection-wide effect, and the required user confirmation. What remains unaddressed is the source of a valid workspace_id and error behavior on an unknown id, which are minor omissions for this complexity.

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 0% and workspace_id has no description, so the schema does no work here. The description partially compensates by framing the argument as another of the user's existing workspaces, implying it must be a valid id rather than an arbitrary string. It still does not explain how to obtain the id or what happens if it is invalid.

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 precise verb and resource: point this connection at another of the user's workspaces and return the now-active one. That is unmistakably different from listing, creating, or renaming workspaces in the sibling set. It stops short of naming which sibling to call first (e.g. a list operation) to obtain an id, so it is not a full 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 supplies a real operational precondition: confirm with the user which brand before switching. That is clear context for when this tool should be invoked. It does not explicitly state how to discover a valid workspace_id or what to do instead, so exclusions and alternatives are left implied.

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