Skip to main content
Glama

WritersLogic agent-infra

workflow-transition

Is this state transition allowed by the caller's workflow definition, and what is allowed instead? — Given a caller-supplied state machine (transitions with optional event names and required facts), the current state and a requested event or target state, says whether the transition is allowed, which required facts are false or unknown, and which transitions are available from the current state. For an agent about to move an order, ticket, deployment or approval to its next state. Terminal states

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": {
      "transitions": "<transitions>",
      "current": "<current>",
      "request": "<request>"
    },
    "name": "workflow-transition"
  }
}

Input Schema

NameRequiredDescriptionDefault
factsNo
currentYes
requestYesGive event, to, or both.
terminalNoStates with no outgoing transitions allowed even if listed.
transitionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources