Skip to main content
Glama
WapiSender MCP

WapiSender MCP

Official
by Wapi-Sender

create_flow

Creates a new empty flow on the active WhatsApp instance, letting you set a name, optional description, and message-received or manual trigger.

Instructions

Create a new empty flow on the active instance.

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": "create_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesFlow name
descriptionNoFlow description
triggerTypeNoHow the flow startsmessage_received
triggerConfigNoOptional flow-level trigger configuration

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does disclose that the flow is created empty and scoped to the active instance, but it omits whether a flow ID is returned (needed for activate_flow or update_flow_definition), permission requirements, name-uniqueness behavior, and whether the new flow is inactive by default.

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 redundant wording. It is tight, though arguably too terse given the tool is a mutation with a nested-object parameter.

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 creation tool with no annotations, no output schema, and a nested triggerConfig object, the description should say more about what is returned and what state the flow lands in. Missing that, an agent cannot chain into activate_flow or update_flow_definition confidently.

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 the schema already documents name, description, triggerType with its enum, and triggerConfig. The description adds only the word "empty", which hints that triggerConfig may be omitted, but does not clarify the trigger type default or the nested config shape beyond the schema.

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 and resource ("Create a new empty flow") plus a scope qualifier ("on the active instance"). The word "empty" implicitly separates it from generative/cloning siblings like generate_and_save_flow or clone_flow, but no sibling is named explicitly.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer you call this when you want a blank flow rather than a generated or cloned one. There is no explicit when-to-use or when-not-to-use guidance and no named alternative for the AI-generated or copy cases.

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