Skip to main content
Glama
victor-halla

wwebjs-mcp

by victor-halla

session_start

Start a new WhatsApp Web session using a session ID, enabling AI agents to send and manage messages through the REST API.

Instructions

[Session] Start new session. Starts a session for the given session ID.

Input Schema

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

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

With no annotations, the description carries the full burden of behavioral disclosure, but it provides none. It does not mention side effects (e.g., whether it creates a new connection, replaces an existing session, or requires a client), authentication needs, or what happens if the session ID already exists.

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 short but redundant: 'Start new session.' and 'Starts a session for the given session ID.' convey the same information twice. This wastes space that could have been used for useful context.

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?

For a session lifecycle tool with no annotations and no output schema, the description should explain what starting a session entails (e.g., creates a connection, returns a session status). It only states the basic action and parameter, leaving important contextual gaps for an agent to invoke it correctly.

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?

The schema fully covers the single parameter sessionId with a description and example, so the description's reference to 'the given session ID' adds no new meaning. Baseline 3 is appropriate given 100% schema coverage.

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 action ('Start new session') and the resource ('session'), using a specific verb. It distinguishes itself from sibling tools like session_stop and session_restart by implying a fresh start, though it does not explicitly differentiate from session_restart.

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?

There is no guidance on when to use this tool versus alternatives such as session_restart or session_stop, and no mention of prerequisites or context. The description only states what the tool does without any usage direction.

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