Skip to main content
Glama

Create a workflow

create_workflow

Sets up work that repeats on its own: read a source, write a post, make a picture, publish it. Steps run in the order given. It is created paused and does nothing until start_workflow turns it on, so making one is safe. Use it when the user asks for something to happen daily, weekly or at a set time.

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>",
      "steps": "<steps>"
    },
    "name": "create_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesWhat it is for, in a few words.
runAtNoonce: an ISO time.
stepsYesThe steps, in order.
contextNoShared settings every step can read.
triggerNorecurring (default), once, or manual for run-on-demand only.
timeOfDayNorecurring: HH:MM in the project timezone.
daysOfWeekNorecurring: 0 is Sunday. [1,2,3,4,5] is weekdays.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The description adds important behavior beyond the annotations: the workflow is created paused, does nothing until start_workflow turns it on, and steps run in the order given. This explains why creation is safe despite being a non-read-only mutation. It does not cover open-world effects, cost implications, or idempotency, but annotations already declare openWorldHint and idempotentHint.

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

Conciseness5/5

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

The description is front-loaded with purpose, then behavior, then usage. Every sentence contributes useful context: what the tool builds, how steps execute, why creation is safe, and when to use it. There is no wasted or repetitive language.

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 complex tool with nested step objects and no output schema, the description gives enough high-level context for selection and invocation: it explains the workflow composition, step ordering, paused initial state, and activation dependency. It omits details about trigger modes, scheduling fields, and shared context, but those are fully documented in the schema.

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 the schema already documents all parameters and nested step fields in detail. The description adds high-level meaning about ordered steps but does not explain individual parameters such as trigger, runAt, timeOfDay, or context beyond what the schema provides. A baseline 3 is appropriate when the schema carries the parameter documentation burden.

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?

The description states a specific verb and resource: it sets up repeating work made of ordered steps such as reading a source, writing a post, making a picture, and publishing. It also explicitly distinguishes creation from activation by noting the workflow is created paused until start_workflow is used. An agent can tell this apart from start_workflow without opening either schema.

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?

The final sentence gives a clear usage condition: use it when the user asks for something to happen daily, weekly, or at a set time. It also names start_workflow as the activation step. However, it does not explicitly say when not to use this tool or name other alternatives such as create_post or run_workflow.

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