Skip to main content
Glama
victor-halla

wwebjs-mcp

by victor-halla

client_setBackgroundSync

Toggle background synchronization for a WhatsApp client session. The new setting takes effect after restarting the client.

Instructions

[Client] Change the background synchronization setting. NOTE: This action will take effect after you restart the client

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flagNoflag true/false
sessionIdYesUnique identifier for the session (alphanumeric and - allowed)
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does disclose a critical behavior: 'This action will take effect after you restart the client.' This is valuable information about the side effect and timing of the change. However, it does not mention permissions, reversibility, or what the flag value means, but for a simple setter, this is reasonably transparent.

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

Conciseness5/5

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

The description is extremely concise: one action sentence plus a critical note. No filler words. The structure front-loads the purpose immediately, and the note is placed at the end. Every word adds value, making it an exemplar of conciseness.

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 tool with only 2 parameters, no output schema, and no annotations, the description covers the core purpose and the key side effect (restart required). It is brief but sufficient for an agent to understand what the tool does and what to expect. It lacks a bit of detail about flag semantics, but the schema provides 'flag true/false', so completeness is adequate.

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 description coverage is 100%: both 'flag' and 'sessionId' have descriptions in the schema. The tool description adds no extra parameter context, but the schema already handles parameter meaning adequately. Baseline 3 is appropriate because the description does not compensate or add beyond the schema.

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?

The description clearly states the action: 'Change the background synchronization setting.' This uses a specific verb ('Change') and resource ('background synchronization setting'), which distinguishes it from sibling tools like client_setAutoDownloadAudio or client_setDisplayName. The intent is immediately clear.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage ('Change the background synchronization setting') but provides no explicit guidance on when to use this tool versus alternatives, nor any exclusions. The note about restarting the client gives some context, but does not address when this setting should be toggled or mention related tools. This is basic implied usage, not a clear guideline.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/victor-halla/wwebjs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server