Skip to main content
Glama

profile_switch

Switch the active quota to a named profile or back to host by checking git status, syncing sessions, applying setup and automations, then launching the workspace.

Instructions

Switch active quota onto a profile (or back to 'host') by checking git status, syncing clickable sidebar sessions, setup, handoff, and automations, and launching.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
limitNo
launchNo
targetNo
workspaceNo
copy_promptNo
from_sourceNohost
session_limitNo
automations_modeNoactive
include_sessionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden, and it does usefully reveal that this is a multi-step stateful operation (git status check, session sidebar sync, setup, handoff, automations, launch). It does not disclose what happens to currently active sessions, whether partial failures roll back, or what permissions/state are required, which are material for a mutation of this scope.

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?

It is a single front-loaded sentence with no filler, which is good, but the long gerund chain ('by checking..., syncing..., setup, handoff, and automations, and launching') is grammatically tangled and mixes nouns with verbs, making it harder to parse than a short ordered list would be.

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?

A ten-parameter orchestration tool with no annotations, no output schema, and zero schema description coverage is described in one dense sentence. An agent cannot determine what most parameters do, what the tool returns, or how failures in the intermediate steps are reported, so the definition is not complete enough to call confidently.

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?

Ten parameters at 0% schema description coverage, yet the description never enumerates or explains them. It loosely gestures at three or four ('launching' for launch, 'automations' for automations_mode, 'sidebar sessions' for include_sessions/session_limit), leaving name, limit, target, workspace, copy_prompt, and from_source entirely undocumented anywhere.

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?

States a specific verb and resource ('Switch active quota onto a profile, or back to host') plus the main mechanisms (sessions, setup, handoff, automations, launching). It is clear what the tool does, but it never distinguishes itself from siblings like profile_launch, profile_sync, or host_handoff, whose names overlap with the actions listed here.

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?

Usage is only implied: the parenthetical '(or back to "host")' hints at the switching scenario, but there is no explicit when-to-use vs when-not, no prerequisite that the profile must exist, and no pointer to sibling tools for the narrower operations (sync, launch, handoff) it claims to bundle.

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