Skip to main content
Glama

generate_step_functions

Generate Step Functions state machine configuration

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": {
      "stateMachineName": "<stateMachineName>",
      "definition": "<definition>"
    },
    "name": "generate_step_functions"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoState machine type
definitionYesState machine definition (ASL)
retryPolicyNoDefault retry policy for states
loggingLevelNoLogging level
tracingEnabledNoEnable X-Ray tracing
stateMachineNameYesState machine name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

C2.3/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it discloses nothing about output format, validation of the ASL definition, idempotency, or side effects. 'Generate' could mean returning config text, writing a file, or deploying — the description leaves this entirely ambiguous.

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?

It is a single sentence with no wasted words, but that brevity is under-specification rather than effective conciseness. There is no structure for an agent to hang behavior or usage on.

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?

With six parameters, two required nested-object inputs, no output schema, and no annotations, the definition is far too thin. An agent cannot tell what is returned, whether the definition is validated, or what the generated artifact is.

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%, including enum values for type and loggingLevel and nested objects for definition and retryPolicy, so the schema does the documentation work. The description adds no meaning beyond it, which meets the baseline for full coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a verb and resource ('Generate Step Functions state machine configuration'), which is clearer than the bare tool name, but it largely restates the name and gives no indication of what the output is or how it differs from the sibling 'generate_step_functions_workflow'.

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 when-to-use guidance, no prerequisites, and no mention of alternatives, even though a closely named sibling exists. The agent must infer everything from the tool name.

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.