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. 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.

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 say readOnlyHint=true; the description adds far more: the meaning of a false capability flag and the reconnect remediation, the derivation rule for `belongs_to`, the null=unfiled and プライベート edge cases, and that labels with zero accounts still appear in belongs_to_options. That is substantial context an agent could not obtain from 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 purpose and the capability enumeration before the operational caveats. It is dense but each part carries information; the only soft cost is the long inline parenthetical tool lists (drive_content, contacts family) that read as clutter in a single wall-of-text paragraph.

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 contract — per-account fields (account, connector, connector_label, belongs_to, readable, sendable, Google-specific booleans) plus belongs_to_options. For a zero-param discovery tool this is complete enough to call correctly and interpret the result.

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?

Zero parameters, so the schema baseline is 4. The description goes beyond that by defining the semantics of the returned values (capability booleans, belongs_to derivation, belongs_to_options as the only valid add_memory input), which does real work for downstream calls.

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 — an inventory of connected accounts and workspaces — and enumerates the exact connectors covered (Google/Gmail, Slack, Facebook Messenger, Chatwork). It is impossible to confuse with siblings like list_labels or list_calendars because the scope is organization-level account discovery, not per-connector content.

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?

Explicitly states when to call it ('call it FIRST to learn valid labels and how many Gmail accounts exist before sending'), when not to rely on alternatives ('don't guess from search results'), and routes to sibling tool families for Chatwork ('send_message does not handle Chatwork'). It even names the user questions it answers, which is unusually concrete routing guidance.

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