Skip to main content
Glama

validate_process_flow

Read-only

Runs the BPMN-lite validation engine on the current process and returns the list of issues. Categories: structural (start/end/orphans/dead-ends, unreachable islands detected by an actual graph traversal), gateways (XOR/AND/OR minimums + conditions), lanes (actors, references), best practices (taskType, swimlanes, size). Each issue includes a stable code (process.*), a severity (error|warning|info), an English message and an actionable suggestion. Fits before presenting the diagram to the user, or when they ask 'check my process'.

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_process_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
severityFilterNoFilters the returned issues. 'all' (default) returns errors+warnings+info. 'errors-only' shows only the structural blockers. 'errors-and-warnings' hides the info nudges.
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 errors+warnings+info. 'errors-only' n'affiche que les blocages structurels. 'errors-and-warnings' masque les info nudges."New value: +"Filters the returned issues. 'all' (default) returns errors+warnings+info. 'errors-only' shows only the structural blockers. 'errors-and-warnings' hides the info nudges."
  4. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, destructiveHint=false, openWorldHint=false), and the description adds real value on top: it names the four check categories, notes that unreachable islands come from an actual graph traversal, and specifies the issue payload shape (stable process.* code, error|warning|info severity, message, suggestion). It omits any statement about cost, latency, or limits on large processes.

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 categories, then output shape, then usage. The category enumeration is dense but each clause carries information; only the parenthetical 'detected by an actual graph traversal' is arguably filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only, zero-required-parameter tool with no output schema, the description supplies everything an agent needs: what is validated, what categories exist, what each returned issue contains, and when to invoke it. Nothing material is missing.

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 both parameters are already documented, including the enum meanings for severityFilter and the project-override behavior of expectedProjectId. The description adds no parameter-level detail beyond that, so the baseline 3 applies.

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 BPMN-lite validation engine on the current process and returns the list of issues') and then enumerates the exact check categories, which clearly separates it from the sibling validate_* tools that target architecture, cap tables, or journeys rather than a BPMN process.

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 concrete trigger conditions: run it before presenting the diagram, or when the user asks 'check my process'. It does not state when NOT to use it or name an alternative validator, so it falls short of full when/when-not 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.