Skip to main content
Glama

How your system starts journeys

get_journey_events_setup
Read-onlyIdempotent

For journeys started by the owner's own system ("when your system sends an event", trigger_event custom): the site's events address, how to get an API key (Settings > Integrations > API keys, Agency add-on, scope crm:write), the request body, a copyable curl example, the answer it gets, limits, and every such journey on the site with its event name, details and the {{trigger.data.}} variables its emails can use. Pass journey_id for one journey. Use it when someone asks how to connect their software, booking or repair system to a journey.

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

Input Schema

NameRequiredDescriptionDefault
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_idNoThe journey, by id from list_journeys

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real behavioral context beyond that: the required API key scope crm:write, the Agency add-on prerequisite, and that setup limits are included in the output. It does not describe pagination or output size, which is minor for a read-only info tool.

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?

Front-loaded with the qualifying clause ("For journeys started by the owner's own system") followed by the return inventory and then the usage trigger. It is dense and the long parenthetical packs several lists into one sentence, which slightly hurts scanability but nothing is redundant.

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?

No output schema exists, so the description carries the return-value burden and does so thoroughly by enumerating each returned artifact, including the per-journey variable names. The only gap is that response shape is described as a list of contents rather than its structure, but an agent has enough to call it correctly and set expectations.

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%, with site_id, user_goal and journey_id all documented in the schema, so the baseline is 3. The description adds only the scoping meaning of journey_id ("Pass journey_id for one journey"), which is useful but marginal beyond the schema's own wording.

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 precisely which journeys are covered (those started by the owner's own system via a trigger_event custom event) and enumerates exactly what the call returns: events address, API key steps, request body, curl example, response, limits, and per-journey event names and {{trigger.data.<key>}} variables. That is specific enough to distinguish it from generic journey readers like get_journey or list_journeys.

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?

Gives a concrete when-to-use condition ("Use it when someone asks how to connect their software, booking or repair system to a journey") and a scoping rule for journey_id. It does not explicitly contrast itself with adjacent siblings such as answer_site_setup_question or list_events, so it stops just short of full routing guidance.

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