Skip to main content
Glama
SendPulse MCP Server

SendPulse MCP Server

by Sudo-psc

create_trigger

Creates a trigger that launches a specified bot flow when conditions such as keywords or events occur. Use it to automate WhatsApp bot responses.

Instructions

Create a new trigger for the bot

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>",
      "name": "<name>",
      "type": "<type>",
      "flow_id": "<flow_id>"
    },
    "name": "create_trigger"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesTrigger name
typeYesTrigger type (keyword, event, etc.)
bot_idYesThe ID of the bot
flow_idYesID of the flow to launch
keywordsNoKeywords that trigger the flow

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses nothing beyond the bare mutation. It does not state what permissions are required, whether flow_id must reference an existing flow, what happens when a trigger fires, or whether creation is idempotent.

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 short sentence with the verb front-loaded and no filler. Nothing is wasted, though the terseness edges toward under-specification rather than crispness.

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?

This is a five-parameter mutation with four required fields, no annotations, and no output schema, so the description needed to explain side effects, prerequisites, and return behavior. It supplies none of that, leaving the agent to rely entirely on schema field names.

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%, with each of the five parameters individually documented, so the schema already does the explanatory work. The description adds no meaning beyond that baseline, which is acceptable at this coverage level.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ("Create a new trigger") and scopes it to "the bot", so the basic operation is identifiable. However, it never explains what a trigger is in this system or how it relates to siblings like get_triggers or launch_flow, leaving the agent to infer the object model.

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?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives. An agent cannot tell from this text whether to create a trigger versus calling launch_flow directly, or when a trigger should be preferred over a scheduled flow.

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