Skip to main content
Glama
SendPulse MCP Server

SendPulse MCP Server

by Sudo-psc

launch_flow

Start a specified WhatsApp bot flow for a contact using bot and flow IDs, with optional phone number, contact ID, and variables.

Instructions

Launch a flow for a contact

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": {
      "bot_id": "<bot_id>",
      "flow_id": "<flow_id>"
    },
    "name": "launch_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
phoneNoContact phone number
bot_idYesThe ID of the bot
flow_idYesThe ID of the flow
variablesNoVariables to pass to the flow
contact_idNoContact ID (alternative to phone)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden. 'Launch' implies an action with side effects (triggering a bot flow, potentially messaging the contact), but the description does not disclose what the launch does, whether the contact must already exist, whether it can be repeated, or what permissions are needed.

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?

A single front-loaded sentence with no wasted words. It is efficient, though its brevity contributes to gaps addressed in other dimensions rather than being a structural flaw itself.

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 5-parameter tool with a nested variables object, no annotations, and no output schema, the definition is significantly under-specified. It says nothing about the required bot/flow selection, the contact identification alternatives, or what happens on launch, leaving the agent to rely entirely on the schema.

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%, so all five parameters are already documented in the schema, which sets the baseline at 3. The description adds no extra meaning about the variables object, the phone-versus-contact_id alternative, or the bot_id/flow_id pair, so it earns no more than baseline.

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?

States a specific verb ('Launch') and resource ('a flow'), plus the target ('for a contact'), so an agent can tell it initiates a flow rather than reading or listing one. It does not differentiate from siblings like get_flows or send_message, leaving the agent to infer the distinction.

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 when-to-use guidance, no prerequisites, and no mention of alternatives such as send_message or set_variable for cases where a flow is not the right mechanism. The agent must infer the usage context entirely.

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