Skip to main content
Glama

list_accounts

Read-onlyIdempotent

Discover configured WhatsApp accounts and check each bridge's connection status; optionally filter by configured account name to inspect one account.

Instructions

Discover the configured WhatsApp accounts and query their bridges for connection status. Returns count, default and accounts with name, masked number, store, linked and connected. Use bridge_status for diagnostics on one account.

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
accountNoConfigured name, such as work. Omit to list every account.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.1
    • addedInput schema / properties / account / description
      Added value: +"Configured name, such as work. Omit to list every account."
  2. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Goes beyond the annotations (readOnly/idempotent/non-destructive) by disclosing that the call queries bridges for live connection status, which implies network-dependent latency and possibly stale or partial results. The enumerated return fields add context, though some of that overlaps with the output schema.

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 in the first clause, with routing guidance last. The return-field enumeration partially duplicates the output schema and could be trimmed, but nothing is seriously wasteful.

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?

For a simple, zero-required-parameter read tool with a full output schema and rich annotations, the description covers purpose, scope, live-lookup behavior, and the sibling alternative. Return-value explanation is correctly delegated to the output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single 'account' parameter is fully described in the schema, including the omit-to-list-all behavior. The description adds no new syntax or naming examples beyond what the schema already provides, so baseline 3 applies.

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 ('Discover the configured WhatsApp accounts') plus the extra behavior of querying bridges for connection status, and explicitly contrasts itself with bridge_status. An agent can distinguish it from the sibling without opening the schema.

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?

Gives clear routing: 'Use bridge_status for diagnostics on one account,' and 'Omit to list every account' indicates the unfiltered use case. It lacks an explicit negative case (e.g., when listing is unnecessary or expensive), so it stops short of full when/when-not coverage.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.