Skip to main content
Glama

WhatsApp List Accounts

whatsapp_list_accounts
Read-only

List the WhatsApp accounts linked to Local MCP on this Mac: each one's id (wa1, wa2, …), the label the user gave it, which one is the default, whether a link is stored, and a linked phone masked to its country code and last 4 digits. Pass an id or label as the account parameter of any whatsapp_* tool; without it they use the default account. Add another account with whatsapp_connect (add_account: true). Each entry's permissions carries only the permissions this service has (read, send, write; a key that is missing does not apply). true: allowed in the account's boxes (LMCP's icon → My apps → open the app's row → the account's Read · Send · Write) and the item accepts it. false: turned off there, or the item is read-only (read_only: true).

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
countYes
accountsYes
default_accountNoThe default account's label.
default_account_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / accounts / items / properties / linked / description
      Previous value: -"Whether a WhatsApp link is stored for it. Absent when not known yet."New value: +"Whether a WhatsApp link is stored for it and not known to be lost. Read from this Mac, not asked of WhatsApp: a device removed on the phone shows only after the next sync or send. Absent when not known yet."
  2. Changed3 schema fields changed
    • addedOutput schema / properties / accounts / items / properties / permissions
      Added value: +{
      +  "properties": {
      +    "read": {
      +      "type": "boolean"
      +    },
      +    "send": {
      +      "type": "boolean"
      +    },
      +    "write": {
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / accounts / items / properties / phone_masked
      Added value: +{
      +  "description": "The linked phone's country code and last 4 digits (+54 ••• 1234), to tell accounts apart. Never the full number. Absent when not linked or not known.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / accounts / items / properties / read_only
      Added value: +{
      +  "description": "true: the system reports this item as not modifiable. Absent when it cannot tell.",
      +  "type": "boolean"
      +}
  3. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the read-only, non-destructive, closed-world profile, but the description adds real context: phone numbers are masked to country code plus last four digits, and the `permissions` map only carries keys that apply. The permissions explanation is accurate but tangled by embedded UI navigation steps ('LMCP's icon → My apps → open the app's row'), which blurs rather than sharpens the rule.

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 the purpose and the returned fields, then the usage routing, then permissions semantics. The final permissions sentence is a long, comma-heavy run-on that packs three distinct ideas (true case, false case, read_only flag) into one breath and could be split.

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?

An output schema exists, yet the description still usefully pre-announces masking and the permissions shape, and it explains the account-selection model that governs every sibling whatsapp_* tool. Only the permissions semantics remain slightly under-determined for an agent deciding whether an action is permitted.

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 the baseline is 4. The description goes beyond that by explaining the semantics of the `account` parameter on other whatsapp_* tools and the meaning of the returned `permissions` and `read_only` values, though it never resolves the ambiguity between 'turned off there' and 'the item is read-only' in a single crisp rule.

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 ('List the WhatsApp accounts linked to Local MCP on this Mac') and immediately enumerates the returned fields (id, label, default flag, link status, masked phone), which distinguishes it from siblings like telegram_list_accounts or whatsapp_list_chats.

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 tells the agent what to do with the result ('Pass an id or label as the `account` parameter of any whatsapp_* tool'), states the fallback behavior when omitted (default account), and routes account creation to whatsapp_connect with add_account: true.

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