Skip to main content
Glama
victor-halla

wwebjs-mcp

by victor-halla

client_setAutoDownloadDocuments

Control whether documents are automatically downloaded in a WhatsApp Web session. Use the flag to enable or disable auto-download.

Instructions

[Client] Set auto load download documents flag

Input Schema

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

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

No annotations are provided, so the description must disclose behavioral traits. It only states the action without explaining consequences (e.g., whether this overrides user settings, persists across sessions, or affects existing downloads). The lack of detail about side effects or requirements is a significant gap for a mutation tool.

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?

The description is a single, concise sentence, but it is under-specified. While every word is useful, it lacks essential context such as behavior or when to use it. It is not front-loaded with the most critical information beyond the basic action.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is a simple flag setter, but with no output schema and no annotations, the description must carry the full contextual burden. It fails to mention session activation requirements, effects on other settings, or how this relates to sibling tools. Given the availability of similar tools for audio/photos/videos, more contextual information is necessary for correct selection.

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%: 'flag' is described as 'Flag true/false' and 'sessionId' as 'Unique identifier for the session'. The description adds no additional meaning beyond the schema. While the schema covers both parameters, the flag's semantic meaning (true/false for what?) remains vague, so the description does not compensate for that ambiguity.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's action: 'Set auto load download documents flag'. It identifies the specific resource (documents) and differentiates from sibling tools for audio/photos/videos. However, it could be more explicit about the scope (e.g., per-session or global) and the meaning of the flag.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool or how it differs from alternatives like client_setAutoDownloadAudio/Photos/Videos. The description does not mention any prerequisites, side effects, or recommended scenarios, leaving the agent without context for choosing this tool over its siblings.

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