Skip to main content
Glama

generate_step_functions_workflow

Generate AWS Step Functions ASL state machine with error handling, parallel branches, map states, wait states, and choice states — plus IAM role and CloudFormation template

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

Input Schema

NameRequiredDescriptionDefault
nameYesState machine name
statesNoState definitions — each with type (Task/Choice/Parallel/Map/Wait/Pass/Succeed/Fail), next, catch, retry
commentNoHuman-readable description embedded in the ASL definition
startAtNoName of the first state to execute (defaults to first state name)
timeoutSecondsNoMaximum execution duration in seconds (STANDARD: up to 31536000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does add genuine behavioral information: the output is not just ASL but also an IAM role and a CloudFormation template, and the ASL includes error handling and specific state types. It does not say whether files are written to disk, whether output is validated, how name collisions are handled, or what permissions the generator itself needs, which matters for a code-generating mutation.

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?

A single dense sentence that front-loads the resource and lists the salient capabilities without filler. It is efficient, though the compressed clause structure makes it slightly harder to scan than a short lead sentence followed by a capability list.

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 five-parameter generator with a single required field, full schema coverage, and no output schema, the description is largely sufficient: it states the primary artifact and the accompanying IAM/CloudFormation outputs. The remaining gap is operational behavior — output destination, validation, and handling of existing resources — which the description omits.

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 all five parameters are already documented, setting the baseline at 3. The description's mention of error handling, parallel branches, map/wait/choice states adds interpretive context for the 'states' array and its catch/retry fields, but it adds no format or validation detail beyond the schema.

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 names a specific verb and resource ('Generate AWS Step Functions ASL state machine') and enumerates the constructs it covers (error handling, parallel branches, map states, wait states, choice states) plus the emitted artifacts (IAM role, CloudFormation template). It is clear what the tool produces, but it offers no distinction from the closely named sibling generate_step_functions, leaving an ambiguity an agent must resolve another way.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use, when-not-to-use, or alternative-routing guidance. The only guidance is implicit in the verb 'Generate', and the presence of a similarly named sibling makes the absence of a routing statement a real gap.

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.