Skip to main content
Glama

Claude accounts and their usage limits

sanecode_accounts_and_limits
Read-only

List every Claude account the user has in SaneCode, which one this conversation runs in ("you"), which are running and signed in, and which have hit a usage limit and when that limit resets.

Use it when: the user asks about limits or quota, "which account has room", "which account can I use", "when does it reset"; before a long or overnight task, to pick a failover account; before any other SaneCode tool, to get exact account names.

Don't use it for: Anthropic API rate limits or billing (this is about the desktop app's plan limits).

Returns one line per account, for example: "work (running, signed in): no limit hit recently" or "personal (you): limit reached in 'Migrate API', resets today 19:00". "No limit hit recently" means none of that account's sessions stopped on a usage limit in the last 6 hours, so it can be used now. SaneCode sees a limit once a session has hit it; it can't see a percentage used, so don't promise one. Free.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "sanecode_accounts_and_limits"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint=false; the description goes well beyond by disclosing a hard epistemic limit ('SaneCode sees a limit once a session has hit it; it can't see a percentage used, so don't promise one') and by defining the semantics of 'No limit hit recently' as a 6-hour lookback window. It also states cost ('Free'), which no annotation covers.

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?

Well front-loaded: purpose first, then when-to-use, when-not-to-use, and return examples in a sensible order, with every clause carrying information. Minor deduction for the dangling one-word 'Free' at the end and some repetition between the account-state summary and the quoted return examples, which an agent must reconcile.

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, so the description carries the return-format burden itself, and it does so with two concrete line examples plus an interpretation rule for the ambiguous 'no limit hit recently' phrase. Given a zero-parameter read-only tool, nothing an agent needs in order to call it and read the result 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?

The tool takes zero parameters, so there is nothing for the description to clarify and the baseline of 4 applies. The description appropriately spends its space on return semantics instead of inventing input detail.

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?

Opens with a specific verb and resource ('List every Claude account the user has in SaneCode') and then enumerates the exact per-account facts returned: which account this conversation runs in, running/signed-in state, and limit status with reset time. That scope cleanly separates it from siblings like sanecode_open_accounts and sanecode_set_failover, which the description neither duplicates nor echoes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit 'Use it when' triggers with real user phrasings ('which account has room', 'when does it reset') plus two proactive conditions: before a long/overnight task to pick a failover account, and before any other SaneCode tool to get exact account names. It also supplies a 'Don't use it for' exclusion (Anthropic API rate limits or billing), which is the precise disambiguation an agent needs.

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