Skip to main content
Glama
1msg MCP

1msg MCP

Official
by 1msg

create_flows

Create a WhatsApp Flow with a required name and categories to define sign-up, booking, lead-generation, support, survey, or other flow types; optionally publish and provide flow JSON.

Instructions

Create a WhatsApp Flow (name + categories required). Currently returns HTTP 501 until the Meta Graph Flows rewrite is available.

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>",
      "categories": "<categories>"
    },
    "name": "create_flows"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
publishNo
flowJsonNo
categoriesYes
endpointUriNo
wabaAccountIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv1.2.10
    • addedInput schema / properties / categories
      Added value: +{
      +  "items": {
      +    "anyOf": [
      +      {
      +        "const": "SIGN_UP",
      +        "type": "string"
      +      },
      +      {
      +        "const": "SIGN_IN",
      +        "type": "string"
      +      },
      +      {
      +        "const": "APPOINTMENT_BOOKING",
      +        "type": "string"
      +      },
      +      {
      +        "const": "LEAD_GENERATION",
      +        "type": "string"
      +      },
      +      {
      +        "const": "CONTACT_US",
      +        "type": "string"
      +      },
      +      {
      +        "const": "CUSTOMER_SUPPORT",
      +        "type": "string"
      +      },
      +      {
      +        "const": "SURVEY",
      +        "type": "string"
      +      },
      +      {
      +        "const": "OTHER",
      +        "type": "string"
      +      }
      +    ]
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / endpointUri
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / flowJson
      Added value: +{
      +  "additionalProperties": {},
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / name
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / publish
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / required
      Added value: +[
      +  "name",
      +  "categories"
      +]
  2. First observedv1.2.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden; it does disclose one critical trait — the endpoint currently returns HTTP 501 — which is the kind of information structured fields cannot convey. It still omits side effects of `publish`, permissions/WABA scoping, and whether any state is created before the failure occurs.

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, front-loaded with the action and required inputs, then the critical operational caveat. Nothing is wasted and nothing is buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a blocked, non-functional mutation tool the description covers the single most important fact, but a 6-parameter schema with a nested object and no output schema demands more explanation of the undocumented fields. An agent could not correctly construct a call with `flowJson` or `publish` from this definition alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 6 parameters, and the description only mentions `name` and `categories` — restating the schema's `required` list rather than adding meaning. It says nothing about `publish`, `flowJson`, `endpointUri`, or `wabaAccountId`, leaving the most consequential inputs (including a nested object) explained nowhere.

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 names the two required inputs, so the agent knows exactly what resource is produced. It does not differentiate itself from siblings such as list_flows, get_flows_flow_id, or create_flows_flow_id_publish, but the core purpose is unambiguous.

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?

The 501 warning is a genuinely useful 'when not to use' signal, effectively telling the agent this call cannot succeed yet. However, there is no positive guidance on prerequisites, no routing to alternatives, and no explanation of how it relates to the publish/deprecate siblings.

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