Skip to main content
Glama

validate_journey

Read-only

Runs the Customer Journey validation engine on the current journey and returns the list of issues. Categories: structural (phases, phaseId references), best practices (swimlane on every step, severity on pains), nudges (empty emotion curve, single swimlane). Each issue includes a stable code (journey.*), a severity (error|warning|info), an English message and a suggestion.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "validate_journey"
  }
}

Input Schema

NameRequiredDescriptionDefault
severityFilterNoFilters the returned issues. 'all' (default) returns everything. 'errors-only' shows only the blockers.
expectedProjectIdNoUUID of the project THIS call targets (overrides the session project).

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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)."
  2. 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."
  3. Changed2 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 / severityFilter / description
      Previous value: -"Filtre les issues retournées. 'all' (défaut) renvoie tout. 'errors-only' n'affiche que les blocages."New value: +"Filters the returned issues. 'all' (default) returns everything. 'errors-only' shows only the blockers."
  4. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuine context beyond that: the three issue categories (structural, best practices, nudges) and the exact issue payload shape (stable journey.* code, severity, English message, suggestion), which is valuable given there is no output schema. It stops short of saying whether issues can be auto-fixed or contain positions/IDs.

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 action and return value, then two compact sentences covering categories and issue fields. Every sentence carries information; there is no filler, though the category list is dense and could be slightly tighter given the parameter behavior is never mentioned.

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 zero-required-parameter, read-only validation tool with no output schema, the description adequately covers what is validated and what comes back. The remaining gaps around severityFilter interaction and what to do with findings are minor against the 100% schema coverage and existing annotations.

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%, so severityFilter and expectedProjectId are already fully documented in the schema, including the enum semantics. The description adds nothing about either parameter and its phrase 'current journey' does not acknowledge the expectedProjectId override, so it neither helps nor compensates.

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: 'Runs the Customer Journey validation engine on the current journey and returns the list of issues.' The resource scoping ('Customer Journey') distinguishes it from validate_arch, validate_captable and validate_process_flow without needing to name them, and the enumerated categories make the output concrete.

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?

Usage is implied by 'on the current journey' and the sibling tool family, but the description never states when to run validation (before publishing, after edits) or when not to. It gives no explicit routing to alternatives such as auto_layout_journey or add_journey_phase for fixing the reported issues.

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.