Skip to main content
Glama

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

A3.5/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It does disclose the useful contents of the response — allowed/denied, which required facts are false or unknown, and which transitions are available — implying a side-effect-free evaluation. However the trailing fragment "Terminal states" is cut off mid-thought, leaving a behavioral rule unexplained, and it never states outright that no state is mutated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loading the central question is effective, but the answer is delivered as one very long clause-heavy sentence, and the final dangling "Terminal states" fragment is pure waste that also signals missing content. Tighter enumeration of what is returned would read better.

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

Completeness2/5

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

This is a five-parameter tool with nested objects and no annotations and no output schema, so the description must do the heavy lifting. It covers the core evaluation semantics well but is visibly truncated at "Terminal states", leaving a documented parameter and its precedence rule unexplained in the prose.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With schema description coverage at 40% and nested objects, the description adds real meaning: transitions carry optional event names and required facts, the request accepts an event or a target state, and facts are evaluated as true/false/unknown. Only the terminal parameter is left to the schema's own short description because of the truncated sentence.

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 opens with a specific question and verb set — validate a state transition against a caller-supplied state machine — and names the concrete artifacts (transitions, current state, event/target). An agent can tell this is a pure validation/query tool rather than a mutation or lookup against server state. It stops short of naming any sibling, but the purpose is unambiguous.

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?

"For an agent about to move an order, ticket, deployment or approval to its next state" gives clear situational context for when to call it. There are no explicit when-not conditions or named alternatives, which keeps it below a 5, but the trigger condition is concrete enough to act on.

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