Skip to main content
Glama

list_accounts

Read-only

Inventory of the user's connected accounts and workspaces: Google (Gmail) accounts, Slack workspaces, and Facebook Messenger. Call this to find out WHICH accounts/workspaces are connected and WHAT each one can do — read/search (readable), send (sendable), and for Google accounts also Calendar (calendar), Drive metadata search (drive), Drive CONTENT reads (drive_content — read_file_content/download_file_content), Gmail label management (mail_labels), Gmail drafts (mail_drafts), and Contacts (contacts — search_contacts, list_contacts, list_other_contacts, list_contact_groups, get_contact_groups). Questions like "which Gmail/Google accounts are connected?" or "which Slack workspaces can I search or send from?" are answered by this tool — don't guess from search results. It is also the source of the labels accepted by the accounts/account parameters of search_messages / search_messages_raw / send_message and the calendar/drive/gmail/slack/contacts tools, so call it FIRST to learn valid labels and how many Gmail accounts exist before sending. A false capability means the connection predates that scope — 設定 → サービス連携 で再接続 grants it. Returns, per account: account (label), connector, connector_label, belongs_to (the classification label this account's work is filed under — derived automatically when the account is connected: the user's existing label for that company if there is one, otherwise a new label named after the Slack workspace or the mail domain — so a company's Slack and mail share one label; 'プライベート' for personal mail; null = unfiled), readable, sendable, and for Google accounts the capability booleans above; plus belongs_to_options: every label the user has, each with its accounts (a label may have none) — these names are the only values add_memory belongs_to accepts. If the result has attention, tell the user once, briefly and in their language, what it says and give attention.reconnect_url (e.g. Slack workspaces whose channel/thread history AI can't read until reconnected), then continue with their request; per account, needs_attention { kind, message, reconnect_url } marks which account. If this (or any AccountHub tool) fails with 'AccountHub is not responding', AccountHub itself is down: show that message (it names the support contact) and never suggest reconnecting accounts — that will not help. Chatwork accounts (connector "chatwork", readable/sendable) are listed too; use the Chatwork tools (list_chatwork_rooms, send_chatwork_message …) — send_message does not handle Chatwork.

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": "list_accounts"
  }
}

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?

Beyond the readOnlyHint annotation, it discloses the returned fields, capability semantics, belongs_to derivation, attention/reconnect handling, and the failure mode when AccountHub itself is down. It also explains that a false capability may mean the connection predates a scope, with reconnect guidance. This is unusually complete behavioral context for a read-only discovery tool.

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?

The purpose and core instruction are front-loaded, and the long list of capability flags, return fields, attention behavior, failure mode, and Chatwork caveat all serve the tool's discovery role. It is dense and reads as a single long paragraph, so it is informative but not maximally concise.

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?

With no output schema and only a read-only annotation, the description carries the burden of explaining returns and special cases, and it does so thoroughly: account fields, capability flags, belongs_to, belongs_to_options, attention, needs_attention, reconnect behavior, and failure handling. It is complete enough for an agent to call and interpret the result correctly.

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 has zero parameters, so there are no input parameter semantics to explain; the rubric baseline for zero params is 4. The description instead spends its detail on outputs and usage, which is appropriate here.

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?

It states a specific resource and verb: an inventory of connected accounts and workspaces across Google, Slack, and Facebook Messenger. It also distinguishes the tool's role from search tools by saying not to infer account availability from search results, and it explicitly routes Chatwork accounts to separate Chatwork tools.

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?

The description gives explicit when-to-use guidance: call it to discover which accounts are connected and what each can do, and call it first to learn valid account labels before using send/search/calendar/drive/Gmail/contacts tools. It also names alternatives for Chatwork and warns against guessing from search results.

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