MCP PROMPT · SALES & OPS

/switch-workspace

Switch the active workspace for users with multiple companies.

01 · The flow

What the agent does, in order.

  1. 01 Call list_my_companies — returns all companies this user has access to.
  2. 02 Confirm with the user which one to switch to (by name or slug).
  3. 03 Call switch_company with the targetCompanyId.
  4. 04 From this point all subsequent tool calls operate on the new workspace. Echo confirmation with the new workspace name.
02 · Tools called

2 typed tools in sequence.

  • list_my_companies
  • switch_company

Every tool ships with MCP annotations (title, readOnlyHint, destructiveHint, openWorldHint, idempotentHint). Clients can gate destructive calls before invoking. Full catalog: /server-card.json.

Try this in your agent.

Connect FavCRM to Cursor, Claude, ChatGPT, or any MCP client. Type /switch-workspace in chat. Agent runs the steps in order.

Verified .