Skip to main content
Glama

wa_profile_switch

Switch the active WhatsApp profile so all other tools operate on the selected number while every profile stays connected in the background.

Instructions

Switch the ACTIVE profile — all other tools (send, read, groups…) then operate on that number. Every profile stays connected in the background.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>"
    },
    "name": "wa_profile_switch"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesProfile name from wa_profile_list

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it does disclose the key non-obvious behavior: the switch is global state that affects all subsequent tool calls, and other profiles remain connected in the background rather than being disconnected. It does not state persistence across sessions or what happens if the name is invalid, which limits it to a 4.

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?

Two short clauses, front-loaded with the action and its effect, with no wasted wording. Every sentence earns its place.

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 one-parameter state-changing tool with no annotations and no output schema, the description covers the essential effect on sibling tools and the connection status of other profiles. Minor omissions (error behavior for an unknown profile name, session persistence) keep it from a 5.

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% and the single name parameter already documents 'Profile name from wa_profile_list'. The description adds no further meaning about the parameter, so the 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 (switch) and resource (ACTIVE profile), plus the consequence that all other tools then operate on that number. This clearly separates it from wa_profile_add, wa_profile_list, and wa_business_profile without needing their schemas.

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?

Implies the usage context by explaining that every other tool (send, read, groups…) operates on the selected number, so an agent knows to call this before or when changing target accounts. It gives no explicit exclusions or warnings about when not to switch, which keeps it below a 5.

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