Skip to main content
Glama

Create a WhatsApp Flow

create_whatsapp_flow

Create a WhatsApp Flow as a draft. Next steps: upload_whatsapp_flow_json, preview_whatsapp_flow, publish_whatsapp_flow. Docs: https://developers.facebook.com/docs/whatsapp/flows

Input Schema

NameRequiredDescriptionDefault
nameYesName of the flow.
accountIdYesConnected account id, from list_accounts.
categoriesNoE.g. ["APPOINTMENT_BOOKING"], ["LEAD_GENERATION"], ["CUSTOMER_SUPPORT"], ["SIGN_UP"], ["SURVEY"], ["OTHER"].
idempotencyKeyNoOptional. A unique id for this action (16-128 chars: letters, digits, _ : . -). If you are unsure whether a call went through (timeout, network error), repeat it with the SAME idempotencyKey and the same arguments: you get the original result and nothing is done twice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare the write/non-idempotent/open-world profile, lowering the bar. The description adds one genuinely useful fact beyond them: the flow is created as a draft, not published. It says nothing further about permissions, limits, or what happens to the created object.

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 sentences: the action first, then the workflow chain and a docs link. Every clause earns its place with no filler.

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 create tool with no output schema, the agent gets the action, the draft state, the follow-up sequence, and a docs URL — enough to invoke and chain correctly. It lacks any note on what the call returns or failure modes, so it is not fully complete.

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 parameter docs are detailed (categories examples, idempotencyKey retry semantics), so the schema carries the load. The description adds no parameter meaning of its own; baseline 3 applies.

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 WhatsApp Flow') and scopes it with 'as a draft', which separates it from publish_whatsapp_flow and send_whatsapp_flow. It does not explicitly name a sibling it is not, so it stops short of the top band.

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?

'Next steps: upload_whatsapp_flow_json, preview_whatsapp_flow, publish_whatsapp_flow' tells the agent where this tool sits in the flow-building sequence, which is strong implicit when-to-use context. It does not state any exclusions or contrast with alternatives such as create_whatsapp_template, so it is not a full 5.

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