Skip to main content
Glama

Set the active organization

set_active_organization

Sets the active organization for an account so new sandboxes and limits use that organization's wallet; choose personal or null for your own account.

Instructions

Set the active organization. Set the wallet new sandboxes bill when a request names none, for this account on every client: the API, the CLI (boat org switch sets the same value) and the dashboard. Pass an organization id or name you belong to, or personal (or null) for your own account. GET /limits follows it. Sandboxes already running keep the wallet they were created with; leaving or deleting the organization resets the account to personal.

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

Input Schema

NameRequiredDescriptionDefault
orgYesOrganization id or name you belong to; `personal`, your own id or `null` for personal.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing non-obvious side effects: existing sandboxes keep their original wallet, GET /limits follows the setting, and leaving/deleting the org resets the account to personal. It also clarifies the cross-client, per-account scope, which the readOnly/destructive hints alone cannot convey. No contradiction with annotations.

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 purpose, then effects and persistence semantics in tight sentences. Minor redundancy in the 'pass an organization id or name...' sentence, which duplicates the schema description, but overall it is dense and well-ordered.

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 one-parameter mutation with no output schema, the description covers what it changes, where it applies (all clients), what it leaves untouched (running sandboxes), and reset behavior. Combined with the safety annotations, an agent has everything needed to call it correctly.

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 single `org` parameter is already described (id/name, `personal`, or null). The description largely restates that same information rather than adding new meaning. Baseline 3 is appropriate given the schema does the heavy lifting.

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 ('Set the active organization') and immediately explains the concrete effect: it sets the wallet that new sandboxes bill to for the account. This is far more than a restatement of the name. It stops short of a 5 because the nearby sibling update_organization is not explicitly contrasted, so the boundary between 'set active' and 'update org' is left to inference.

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 when this matters: to change which wallet new sandboxes bill to, across every client (API, CLI via `boat org switch`, dashboard). It does not name when-not-to-use conditions or explicitly route to/away from update_organization, so it falls short of full alternative guidance.

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