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.
descriptionYesOne or two sentences on what the template does.
workflow_idYes

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?

Annotations already declare it is a non-read-only, non-destructive, non-idempotent mutation, so the safety bar is largely met. The description adds genuinely new behavior: the template becomes visible to everyone on the account and is discoverable through search_templates, and it is not publicly published. It does not mention that repeated calls create separate templates, but idempotentHint=false already conveys that.

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 action and scope, followed by the visibility consequence and the discoverability path. No filler or restatement of the tool name.

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 simple 3-parameter mutation with annotations and no output schema, this covers purpose, audience/visibility, and next-step tools adequately. Minor gaps: no note on what happens if workflow_id does not exist, and no mention of the name/description arguments that the tool requires.

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 67% and the description itself adds no parameter-level meaning — it never mentions workflow_id, name, or description. The 'default: the workflow's name' behavior is documented in the schema, so the schema does the heavy lifting. Baseline 3 fits given partial coverage and no compensating detail.

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?

States a specific verb and resource ('Save a workflow as a template') plus the scope constraint ('for the person's own account'), and anchors it to a known UI action ('like the editor's Save as template'). The closing sentence ('It is not published publicly') separates it from sharing/publishing siblings such as share_workflow.

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?

Names the follow-on alternatives explicitly: search_templates to find the result and use_template to build new workflows from it, which tells an agent the natural continuation after this call. It also excludes the public-publishing case. What is missing is an explicit statement of when NOT to use it (e.g., saving a step or agent rather than a 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