Skip to main content
Glama

add_journey_phase

Shortcut to create a journey phase (Awareness, Consideration, Decision, ...). A phase is a kind='journey' / journeyType='phase' block. orderInPhase is computed automatically if absent. Meant to precede the creation of steps that will reference phaseId.

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": {
      "id": "<id>",
      "name": "<name>"
    },
    "name": "add_journey_phase"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesUnique ID of the phase.
nameYesName of the phase.
orderInPhaseNoHorizontal position (0 = first column). If absent, appended on the right.
expectedProjectIdNoUUID of the project THIS call targets (overrides the session project).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / id / description
      Previous value: -"Unique ID of the phase (e.g. 'phase-awareness')."New value: +"Unique ID of the phase."
    • changedInput schema / properties / name / description
      Previous value: -"Name of the phase (e.g. 'Awareness', 'Onboarding')."New value: +"Name of the phase."
  2. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."New value: +"UUID of the project THIS call targets (overrides the session project)."
  3. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."New value: +"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."
  4. Changed4 schema fields changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID du projet visé par CET appel. Cible RÉELLEMENT ce projet au lieu du projet de session. Refusé sans rien modifier si l'accès n'est pas accordé."New value: +"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."
    • changedInput schema / properties / id / description
      Previous value: -"ID unique de la phase (ex: 'phase-awareness')."New value: +"Unique ID of the phase (e.g. 'phase-awareness')."
    • changedInput schema / properties / name / description
      Previous value: -"Nom de la phase (ex: 'Awareness', 'Onboarding')."New value: +"Name of the phase (e.g. 'Awareness', 'Onboarding')."
    • changedInput schema / properties / orderInPhase / description
      Previous value: -"Position horizontale (0 = première colonne). Si absent, append à droite."New value: +"Horizontal position (0 = first column). If absent, appended on the right."
  5. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so the mutation/safety profile is covered. The description adds useful behavior beyond that: orderInPhase is computed automatically when absent, and the phase is a specific journey block type. It does not say what happens on ID collision, whether creation fails if the project is invalid, or what the call returns, which matters for a write tool whose result feeds later step creation.

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?

Three tight sentences, front-loaded with the identity of the tool, then the underlying block model, then the two behavioral notes. No filler and nothing that could be cut without losing information.

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 four-parameter creation tool with no output schema and full schema coverage, the description covers identity, underlying representation, default behavior, and its role in the creation sequence. The only gap is that it never states the return value or confirms the phase id is reusable as phaseId, which the agent must infer.

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 all four parameters (id, name, orderInPhase, expectedProjectId) are already documented in the schema. The description reinforces the auto-computation of orderInPhase and introduces the phaseId concept used downstream, but adds no new syntax or constraints beyond what the schema states.

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?

The description gives a specific verb and resource ("Shortcut to create a journey phase") and grounds it concretely by naming the underlying block shape (kind='journey' / journeyType='phase'). The word "Shortcut" signals it is a specialized wrapper over generic block creation, which separates it from siblings like add_content_block or add_kind_node, though no sibling is named explicitly.

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?

It provides one real sequencing rule — the phase should be created before the steps that reference phaseId — which is genuine usage context. However, there is no explicit when-not guidance, no named alternative for creating phases another way, and no note on prerequisites such as the project needing to exist or being in the right mode.

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.