Skip to main content
Glama

Save a workflow as an account template

save_as_template

Save a workflow as a template for the person's own account, like the editor's Save as template. Everyone on the account can then find it with search_templates and make new workflows from it with use_template. It is not published publicly.

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": {
      "workflow_id": "<workflow_id>",
      "description": "<description>"
    },
    "name": "save_as_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoDefault: the workflow's name.
good_forNoOptional: who the template is for, one sentence.
descriptionYesOne or two sentences on what the template does.
workflow_idYes
how_it_worksNoOptional: what the person enters and what the workflow does, a short paragraph.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / good_for
      Added value: +{
      +  "description": "Optional: who the template is for, one sentence.",
      +  "type": "string"
      +}
    • addedInput schema / properties / how_it_works
      Added value: +{
      +  "description": "Optional: what the person enters and what the workflow does, a short paragraph.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already state this is a non-destructive, non-idempotent write operation in a closed world. The description adds meaningful behavior beyond that: the template belongs to the person's account, is visible to everyone on the account, and is not published publicly.

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?

Three short sentences, front-loaded with the core action and followed by discovery and visibility details. There is no redundant restatement of the title or schema.

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 template-creation tool with annotations, a mostly described schema, and no output schema, the description covers the essential behavior: account sharing, non-public visibility, and downstream discovery/use. It could mention duplicate handling or the result of saving, but the core context is complete.

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 80%, so the schema already documents most parameters, including defaults and optional fields. The description does not add parameter-level meaning beyond the schema, so the baseline of 3 is appropriate.

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: save a workflow as a template for the person's own account. It clearly scopes the result as account-visible but not publicly published, and names the related search_templates and use_template tools, so the operation is distinguishable from siblings.

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 explains the use case and what happens afterward: account members find it with search_templates and create workflows with use_template. It does not explicitly state when not to use it versus alternatives such as library_save_draft, but the intended usage is clear.

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