Skip to main content
Glama

List connected accounts

list_accounts
Read-only

Lists the sources the user has connected: mailboxes (type mail: label, address, provider), Google Chat accounts (type google_chat), Google Calendar accounts (type google_calendar), Google accounts connected for Google Ads (type google_ads), OpenAI Ads accounts (type openai_ads, one per API key, with adAccountId), Microsoft accounts connected for Microsoft Advertising (type microsoft_ads), Aircall companies (type aircall, one per API key), Google accounts connected for Google Search Console (type google_search_console), Bing Webmaster Tools accounts (type bing_webmaster), Pexels accounts (type pexels, one per API key), Shutterstock accounts (type shutterstock), Twilio accounts (type twilio, one per Twilio account, with accountSid) and Telegram accounts (type telegram), accounts of services relayed by Fezola (type notion, brevo, elevenlabs, zernio, cloudflare, dataforseo, atlassian, linear, canva, posthog, github, gitlab, vercel, railway, hubspot, stripe, clickup, sentry, slack or meta_ads), with the status of the last connection (OK, ERROR with lastError, NEVER). Returns the accountId of each source: mail tools take a mail accountId, *_chat tools a google_chat one, calendar tools a google_calendar one and telegram tools a telegram one; relayed accounts (notion, brevo, elevenlabs, zernio, cloudflare, dataforseo, atlassian, linear, canva, posthog, github, gitlab, vercel, railway, hubspot, stripe, clickup, sentry, slack, meta_ads), Aircall companies (aircall), Search Console accounts (google_search_console), Bing Webmaster accounts (bing_webmaster), Pexels accounts (pexels), Shutterstock accounts (shutterstock) and Twilio accounts (twilio) are used through search_connector_tools and call_connector_tool. Google Ads customer accounts are listed by google_ads_list_accounts; openai_ads tools take an openai_ads accountId; Microsoft Advertising ad accounts are listed by msads_list_accounts.

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.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, non-destructive, and closed-world, so safety is covered. The description adds genuinely new behavior: each account carries a last-connection status (OK, ERROR with lastError, NEVER), and several types are one-per-API-key or one-per-sub-account (openai_ads adAccountId, aircall, pexels, twilio accountSid). It says nothing about ordering, pagination, or result size, which for a potentially large account list is a remaining gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the verb and resource, and nearly every clause carries routing or type information. But it is two giant run-on sentences, and the ~20-item enumeration of relayed services (notion, brevo, elevenlabs, ... meta_ads) is repeated twice and is largely discoverable at runtime, making it heavier than the task requires.

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?

With no parameters, no output schema, and annotations covering the safety profile, the description is close to sufficient: it explains account types, id semantics, status values, and which sibling tools to use downstream. The one soft spot is that it positions openai_ads accounts as returned here while openai_ads_list_accounts exists as a sibling, leaving a small ambiguity about which to call.

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 (schema is an empty object at 100% coverage), so there is no parameter meaning to add and the baseline applies. The description instead spends its space on the return payload's discriminating `type` values, which is the right allocation.

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?

States a specific verb and resource ("Lists the sources the user has connected") and then enumerates the exact account types returned, with their `type` discriminators. An agent can tell this apart from google_ads_list_accounts and msads_list_accounts because the description explicitly says those hold the ad-account listings instead.

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?

Goes well beyond "use this to list accounts": it maps each returned accountId to the tool family that consumes it (mail tools, *_chat, calendar, *_telegram, call_connector_tool, search_connector_tools, openai_ads_*), and names two siblings as the correct route for Google Ads and Microsoft ad accounts. It never states an explicit precondition such as "call this before any account-scoped tool," so it stops short of a full when/when-not statement.

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