Skip to main content
Glama

Select workspace

select_workspace
DestructiveIdempotent

Re-bind this OAuth connection to the workspace selected by the user. Takes effect on the next tool call. Use the organizationId returned by list_workspaces or by WORKSPACE_SELECTION_REQUIRED; never invent or guess it.

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

Input Schema

NameRequiredDescriptionDefault
organizationIdYesThe workspace organizationId chosen by the user from list_workspaces or WORKSPACE_SELECTION_REQUIRED.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed1 schema field changed
    • addedInput schema / properties / organizationId / description
      Added value: +"The workspace organizationId chosen by the user from list_workspaces or WORKSPACE_SELECTION_REQUIRED."
  3. Added

TDQS

A4.5/5.0
Behavior4/5

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

With annotations already indicating destructive and non-read-only behavior, the description adds valuable context: 'Takes effect on the next tool call' and the warning not to guess the ID. This goes beyond the annotations, though it could elaborate on the exact consequences of re-binding.

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?

Two sentences, front-loaded with the primary action and immediately followed by the key behavioral note and required source for the parameter. No wasted words.

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

Completeness5/5

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

For a simple one-parameter tool with clear annotations and no output schema, the description covers purpose, effect, and parameter source completely. An agent can understand and invoke the tool correctly without further information.

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 100% and the schema description already contains the same guidance about using the ID from list_workspaces or WORKSPACE_SELECTION_REQUIRED. The description repeats this and adds only a caution, but does not introduce new parameter-level semantics beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with a specific verb ('Re-bind') and resource ('OAuth connection') and explains it connects to a user-selected workspace. It distinguishes itself from sibling tools like list_workspaces and get_workspace_info by focusing on the re-binding action.

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

Usage Guidelines5/5

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

The description provides explicit guidance on when to use the tool (when workspace selection is required) and how to obtain the correct parameter value (from list_workspaces or WORKSPACE_SELECTION_REQUIRED). It also explicitly says 'never invent or guess it', covering a when-not case.

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