Skip to main content
Glama

Turn the bot on or off in a WhatsApp group and set its task

dosai_set_wa_group

Configure the bot in one WhatsApp group of the project's number (jid from dosai_list_wa_groups). enabled=true makes the bot read the group and write to it FROM THE OWNER'S NUMBER, members see its messages: confirm with the owner first and only for work groups. mode: mention (answers only when addressed) or watch (reads everything, usually stays silent, does task and reports in one line; requires task). task_from: all, admins or list (then task_from_numbers). daily_check_cap 1-1000 protects the balance. Refused for groups over 100 members and above 5 enabled groups. Requires admin role.

Input Schema

NameRequiredDescriptionDefault
jidYesGroup id like 120363...@g.us from dosai_list_wa_groups.
modeNo
taskNoWhat the bot does in this group, in plain words (watch mode).
enabledNo
task_fromNo
project_idYesProject id, as returned by dosai_list_projects.
daily_check_capNo
transcribe_voiceNo
task_from_numbersNoNumbers allowed to give tasks when task_from=list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint false, destructiveHint false, openWorldHint true), the description discloses critical side effects: enabled=true makes the bot read/write from the owner's number and members see its messages. It also explains watch-mode behavior (does task, reports in one line, requires task), task_from options, daily_check_cap protecting the balance, refusal conditions, and admin-role requirement.

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?

The single paragraph is dense but front-loaded with the main configuration action, then details. Every sentence adds useful information about behavior, constraints, or parameters, though the run-on structure could be broken up for easier parsing.

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 9-parameter write operation with no output schema, the description covers usage conditions, behavioral side effects, permissions, and most parameters. It omits what transcribe_voice does and does not clarify the response on success, but overall it is nearly complete.

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?

With schema description coverage at 44%, the description compensates by explaining mode (mention vs watch), enabled behavior, task_from options (all/admins/list requiring task_from_numbers), and daily_check_cap range and purpose. However, it leaves transcribe_voice unexplained, a minor gap given the otherwise strong parameter coverage.

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 states a specific verb and resource: configure the bot in one WhatsApp group, with clear scope (one group of the project's number) and distinguishes from siblings by referencing dosai_list_wa_groups for the jid. An agent can immediately tell what the tool does and which group it affects.

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?

It provides explicit conditions: confirm with the owner first, only for work groups, and mode-specific usage (mention vs watch). It also states refusals for groups over 100 members and above 5 enabled groups, but does not name an alternative tool to use when those conditions fail.

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