Skip to main content
Glama

Send a test event to a journey

send_test_journey_event

Test a journey started by the owner's own system. Checks the event against the journey's trigger (event name, required details and their types) using data, or the journey's sample values when omitted. A switched-OFF journey is only checked: nothing is received, no contact is added and nothing is sent. A switched-ON journey receives a REAL event: the contact is found or added, and every switched-on journey listening for that event starts and sends its messages to them, so use the owner's own email or phone and say so before asking them to approve.

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": {
      "site_id": "<site_id>",
      "journey_id": "<journey_id>",
      "contact": "<contact>"
    },
    "name": "send_test_journey_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataNoThe event's details; omit to use the journey's sample values
contactYesWho the test event is for: an email or phone (the owner's own, for a switched-on journey)
site_idYesThe site, from list_sites
user_goalNoOptional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details.
journey_idYesThe journey, by id from list_journeys

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false, destructiveHint=false, openWorldHint=true, idempotentHint=false; the description goes far beyond by disclosing that a real event can create/find a contact and fire every switched-on journey listening for that event, sending real messages. It also states the safe case (nothing received/added/sent when off). It stops short of describing what a validation failure returns, so not a 5.

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?

The key distinction (off = check only, on = real send) is front-loaded and every clause carries information. The second sentence is long and semicolon-chained, which slightly hurts scanability but nothing is wasted.

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?

Covers the risk profile, side effects, contact semantics, and consent handling for a 5-parameter tool with no output schema. The one gap is return value: an agent cannot tell whether a successful call reports validation results or just acknowledgement.

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 coverage is 100%, so the baseline is 3. The description reiterates what the schema already says about `data` (sample values when omitted) and `contact` (owner's own email/phone for a live journey), adding consequence context but little new parameter-level meaning.

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

Purpose5/5

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

States a specific verb and resource ('Test a journey started by the owner's own system') and immediately clarifies what is actually being checked — the event against the journey's trigger (event name, required details, types). It clearly separates this trigger-validation tool from the messaging siblings by describing a test event rather than a send/post operation.

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

Usage Guidelines5/5

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

Explicitly splits the two usage regimes: a switched-OFF journey is validation-only, a switched-ON journey delivers a real event. It also gives an operational precondition — use the owner's own email or phone and disclose that before asking them to approve.

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