Skip to main content
Glama

Show accounts in SaneCode, side by side

sanecode_open_accounts
Idempotent

Show one or more accounts in SaneCode's window: one account alone, two side by side (split), or up to four in a grid. Accounts that aren't running are started.

Use it when: the user wants to see or compare accounts side by side ("put work and personal next to each other", "open all my accounts", "show account 2"); after a move, to show the account the work continues in.

Returns what is shown. Free.

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": {
      "accounts": "<accounts>"
    },
    "name": "sanecode_open_accounts"
  }
}

Input Schema

NameRequiredDescriptionDefault
layoutNosingle: the first account alone; split: two side by side; grid: up to four. Default: picked from how many accounts are given.
accountsYesAccount names, in the order to show them (left to right, then top to bottom).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

The annotations declare a non-destructive, idempotent, non-read-only operation, and the description earns credit by explaining why: 'Accounts that aren't running are started', which is a real side effect the agent would not learn from readOnlyHint=false alone. 'Returns what is shown. Free.' adds outcome and cost context. It stops short of saying what happens to windows already open.

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?

Three short blocks: what it does, when to use it, what it returns. The capability statement is front-loaded and no sentence is filler.

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 two-parameter tool with full schema coverage and safety annotations, the definition covers purpose, trigger, side effect, and return in a few lines. The one remaining ambiguity is whether showing a new set of accounts replaces or adds to windows already displayed, which the agent may need to know before calling.

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%, so both parameters are already documented, including the enum meanings and ordering. The description only restates the layout counts ('one account alone, two side by side, up to four in a grid') that the schema already conveys, adding no format or edge-case detail beyond the structured data.

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 first sentence gives a concrete verb and resource ('Show one or more accounts in SaneCode's window') and enumerates the three layouts an agent can expect. It does not name or contrast any sibling, so the agent must infer that tools like sanecode_accounts_and_limits or sanecode_continue_in_account do something different.

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?

An explicit 'Use it when:' block supplies three quoted user phrasings and a follow-up case ('after a move, to show the account the work continues in'), which gives strong positive selection guidance. There is no when-not guidance and no named alternative for the cases this tool does not cover.

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