Multi-account orchestration and secure token storage for OAuth-based MCP servers
Four tools with clear naming (verb_noun pattern: account-me, account-switch, account-remove, account-list) and reasonable descriptions (80-180 chars). All tools have input schemas with type definitions. However, parameter descriptions are sparse or missing entirely, most params lack actionable guidance on format, constraints, or dependencies. Output schemas are not documented. Error handling is minimal; no recovery guidance or actionable error messages visible in source. account-remove is destructive but lacks confirmation/dry-run pattern. Schemas are present but incomplete relative to production baselines (94% of A+ tools have full param descriptions; this server ~50%).
Show all linked accounts for the service. Returns empty array if no accounts linked.
Show current user identity. Returns email, alias (if set), and session expiry information.
Remove account and delete stored tokens permanently. If removing the active account, the first remaining account becomes active. Requires email or alias parameter.
Use account (smart mode). If email/alias provided and already linked, switches to it without triggering OAuth. If not linked or no email provided, triggers OAuth browser flow to add account. Returns account email, whether it was newly added, and total account count.
Parameter descriptions missing or incomplete. 'email' and 'alias' in account-switch lack format guidance (e.g., 'valid email format', 'alphanumeric, 1-50 chars'). 'accountId' in account-remove says 'Email address or alias' but doesn't clarify which takes precedence or how to distinguish them.
Output schemas not documented. No visible schema definitions for return values of any tool. LLMs cannot plan downstream calls or extract required fields (e.g., does account-switch return account_id, email, newly_added, total_count as separate fields or nested?).
Destructive operation (account-remove) lacks confirmation or dry-run pattern. No evidence of user confirmation step before permanent token deletion. Agents may accidentally remove accounts without safeguard.
Inferred effective spec: 2026-07-28+.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 64 | 2026-07-28+ | v2 |
No error handling guidance visible. No recovery hints (e.g., 'If account not found, call account-list to see available accounts'). Error responses likely raw exceptions rather than actionable messages.
Parameter 'accountId' in account-remove is ambiguous, description says 'Email address or alias' but parameter name suggests an ID. Naming mismatch (accountId vs email/alias) invites confusion.