Skip to main content
Glama

create_template

Creates a parameterized workflow template from a workflow and parameter definitions, binding parameters to node inputs so you can apply or validate templates.

Instructions

Create a parameterized workflow template from a workflow and parameter definitions. Returns template JSON for use with apply_template or validate_template_params. Parameters bind to node inputs via nodeBindings (nodeId, inputName).

Input Schema

NameRequiredDescriptionDefault
nameNoTemplate name
paramsYesParameter definitions with nodeBindings
categoryNoTemplate category
workflowYesWorkflow JSON string
descriptionNoTemplate description

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool returns template JSON and that parameters bind to node inputs via nodeBindings, but it does not clarify persistence, permissions, validation behavior, or what happens on failure.

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 three focused sentences with no wasted text. It front-loads the core action, then covers output usage and binding semantics.

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?

There is no output schema, but the description states that the tool returns template JSON and names the downstream tools that consume it. It could say more about persistence or output shape, but it is mostly complete for this creation tool.

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?

Schema description coverage is 100%, so the baseline is 3. The description adds value by explaining that params bind to node inputs through nodeBindings (nodeId, inputName), clarifying a relationship not fully explained by the schema alone.

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 gives a specific verb and resource: 'Create a parameterized workflow template from a workflow and parameter definitions.' It clearly distinguishes creation from sibling operations such as apply_template, validate_template_params, and list_templates.

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?

It says the returned template JSON is for use with apply_template or validate_template_params, which gives clear downstream context. It does not explicitly compare against create_workflow or explain when not to create a template, but the use case is well implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.