Skip to main content
Glama

Switch Account

switch_account

Move this connection to another oriiion account from list_accounts (null = back to the account it was created for). Every tool then acts on that account — posts, publishing, analytics, comments, settings — until you switch again, also in later conversations using the same connection. Tell the user which account is now active.

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": {
      "accountId": "<accountId>"
    },
    "name": "switch_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountIdYesAn id from list_accounts, or null to go back to the account this connection was created for.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false; the description does not contradict them and adds real value by disclosing that the switch is sticky — it affects all subsequent tool calls and persists into later conversations on the same connection. That persistence/stateful scope is the key behavior an agent needs and is not in the 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 action, then the consequence, then the null case and the user-notification duty — no filler. The parenthetical null note and the "posts, publishing, analytics, comments, settings" list make it slightly long, but both earn their place.

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 stateful tool with no output schema, the description covers the effect, the persistence across calls and conversations, and the user-facing follow-up. It omits failure modes (invalid id, account the connection lacks access to) and whether any confirmation is returned, which are the only meaningful gaps.

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?

The schema already documents accountId at 100% coverage (integer > 0 from list_accounts, or null). The description confirms the id source and repeats the null semantics as a restore-to-original action, adding a little interpretation ("back to the account it was created for") but nothing 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?

States a specific verb ("Move this connection") and resource (the active account the connection operates as), plus its scope ("Every tool then acts on that account"). It also names list_accounts as the source of valid ids, so an agent can immediately separate it from the read-only sibling.

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?

It says where to get the argument (list_accounts), what null means, and what to do afterwards ("Tell the user which account is now active"). It never states a when-not condition (e.g. don't use for creating or inviting accounts — use create_customer_account/add_account_member), which keeps it short of a 5.

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