Skip to main content
Glama

set_default_workspace

Idempotent

Set (or clear) the workspace every tool uses when workspace_id is omitted.

The default lives on the user's account, so it holds across conversations and clients; an explicit workspace_id on a call still overrides it. The result carries the workspace's connected accounts.

Args: workspace_id: Workspace ID or name. Null or empty clears the default.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "set_default_workspace"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextNoThe user's underlying goal for this call, in one sentence without personal details. Used for product analytics only.
llm_modelNoThe model identifier of the calling assistant, or "unknown". Used for product analytics only.
workspace_idNo
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.

Output Schema

NameRequiredDescriptionDefault
_mcp_instructionsNoServer-issued metadata for this conversation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / conversation_id / description
      Previous value: -"Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request."New value: +"The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics."
  2. Changed1 schema field changed
    • changedInput schema / required
      Previous value: -[
      -  "context",
      -  "llm_model"
      -]New value: +[]
  3. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false, idempotentHint=true), so the description is not burdened with safety disclosure. It still adds genuinely non-obvious behavior: the default is account-scoped and survives across conversations and clients, and null/empty clears it. Minor gaps remain around permissions needed to set a default and whether clearing is reversible.

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

Conciseness4/5

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

Front-loaded with the core action and effect in the first sentence, followed by persistence and precedence notes. The Args block slightly restates what the schema already declares for the analytics parameters, but the single `workspace_id` entry earns its place.

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?

An output schema exists, yet the description still usefully signals that the result carries the workspace's connected accounts. Combined with persistence scope, override precedence, and clear semantics, an agent has everything needed to call this correctly even though no parameters are required.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

`workspace_id` is the one parameter with no schema description, and the description covers it fully: it accepts an ID or a name, and null or empty means clear rather than error. This resolves exactly the ambiguity the schema leaves open (an anyOf string/null with default null and no explanation of what null means).

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?

States a specific verb pair (set/clear) and the exact resource: 'the workspace every tool uses when `workspace_id` is omitted.' The scoping phrase distinguishes it from sibling workspace tools like create_workspace and update_workspace without needing to name them, because it describes the effect (a call-wide default) rather than a property of the workspace itself.

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?

Gives clear context for use and an important precedence rule — an explicit `workspace_id` on a call overrides the default — which tells the agent this is a convenience, not a hard constraint. It stops short of stating when not to use it or naming the sibling to use for other workspace edits (e.g., renaming via update_workspace), so no explicit alternative routing.

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.