Skip to main content
Glama
Splits MCP Server

Splits MCP Server

Official

auth_use

Activate a saved workspace so subsequent commands use it by default unless another workspace or API key is specified.

Instructions

Make a saved workspace the active one. Commands run in the active workspace unless --workspace or SPLITS_WORKSPACE names another, or SPLITS_API_KEY is set.

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

Input Schema

NameRequiredDescriptionDefault
aliasYesWorkspace alias (see `splits auth workspaces`)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the important side effect — subsequent commands inherit the active workspace unless --workspace, SPLITS_WORKSPACE, or SPLITS_API_KEY override it — which is genuinely useful context. However, it omits whether the selection persists across sessions, whether it writes config state, and how invalid aliases are handled.

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 action and followed by the precedence rules that matter most for correct use. No filler or redundant restatement of the title.

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 state-setting tool with no annotations and no output schema, the description covers the essential effect and the override precedence. The remaining gaps — persistence scope and failure behavior for unknown aliases — are minor but real for a mutating tool with zero annotation coverage.

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?

The single parameter is fully documented in the schema, including a pointer to `splits auth workspaces` for valid values, so the baseline is 3. The description mentions the environment variables and flags that can override the workspace but adds no further meaning about the alias argument itself.

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 specific verb and resource ('Make a saved workspace the active one'), which resolves the ambiguity of the cryptic name auth_use and clarifies that this is about workspace selection rather than authentication credentials. It does not explicitly differentiate itself from auth_workspaces or auth_whoami, though the schema's cross-reference to `splits auth workspaces` partially covers that.

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 implied rather than stated: the agent can infer it should call this before running commands that need a workspace context, and the description explains the precedence rules that apply afterwards. There is no explicit when-to-use vs. when-not guidance, no mention of what happens if an alias is unknown or already active, and no named alternative.

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

Deploy Server

Other Tools