Skip to main content
Glama

Switch organisation

select_org
Idempotent

Switch your active Olbrain organisation, for a user who belongs to more than one and wants Alchemist to build in a different one. Alchemist builds in the active one. This switches it everywhere you are signed in, including open Studio and Noesis tabs. org_id comes from the list of your organisations shown with your account details; one you aren't a member of is refused as not found, and nothing is created. Returns the active organisation's id and changed, which is false when it was already the active one, with your role when it changed.

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_id": "<org_id>"
    },
    "name": "select_org"
  }
}

Input Schema

NameRequiredDescriptionDefault
org_idYesId of an organisation you belong to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / org_id / description
      Added value: +"Id of an organisation you belong to."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false) by disclosing the global blast radius of the switch across open Studio and Noesis tabs, the no-op semantics behind `changed=false`, the role returned on change, and that a failed switch creates nothing. This is exactly the context annotations cannot convey.

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-loads the core action and keeps everything in one dense paragraph with no filler sentences. It is on the longer side, but each clause carries operational detail (scope of the switch, error behaviour, return fields) rather than restating the name.

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?

There is no output schema, and the description compensates by naming the return values (active org id, `changed`, role). For a single-parameter tool with annotations covering safety, nothing an agent needs to invoke it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline would be 3; the description adds genuine provenance by explaining that `org_id` comes from the organisation list shown with the account details and that non-member ids are rejected. That meaning is not derivable from the pattern constraint alone.

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 and resource ("Switch your active Olbrain organisation") and situates it against the sibling concept of Alchemist building in the active org, so an agent can distinguish it from create_org or whoami without opening a schema.

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 a clear precondition for use: the user belongs to more than one organisation and wants Alchemist to build in a different one. It also states the negative case (an org you aren't a member of is refused as not found), but it doesn't explicitly point at a sibling alternative when the condition fails.

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.