Skip to main content
Glama

Copy a template into the workspace

use_template

Make the account's own workflow, agent or pipeline from a template, the dashboard's "Use template" button. Free; the template itself is never changed. Returns the new workflow, agent or pipeline (a draft) with its inputs; run a workflow with run_workflow and a pipeline with run_pipeline. A pipeline copy can take up to a minute. If a step needs an app that is not connected, use connect_app.

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": {
      "template_id": "<template_id>"
    },
    "name": "use_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoThe kind search_templates gave. Default workflow.
nameNoName for the copy. Default: the template's name.
template_idYesThe template id from search_templates.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / kind / description
      Previous value: -"Default workflow."New value: +"The kind search_templates gave. Default workflow."
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "workflow",
      -  "agent"
      -]New value: +[
      +  "workflow",
      +  "agent",
      +  "pipeline"
      +]
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already mark this as a non-destructive, non-idempotent write, and the description adds genuinely new behavior: the operation is free, the source template is never modified, the result is a draft, and a pipeline copy can take up to a minute. The latency and side-effect disclosures are exactly what an agent needs before invoking a mutation.

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

Conciseness4/5

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

Front-loaded with the core action, then follow-up routing, then cost/latency caveats. Every sentence carries information, though the opening clause ("Make the account's own workflow, agent or pipeline from a template") is slightly convoluted and could be stated more directly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description still explains the return value (the new draft object with its inputs), the cost, the latency bound, the source immutability, and the app-connection prerequisite. That covers everything needed to call this correctly and set expectations afterward.

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 coverage is 100%, so kind, name, enum values and defaults are already documented there. The description confirms the template_id originates from search_templates and that the default name is the template's own, but adds no syntax or format detail beyond the schema. Baseline 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?

States a specific verb and resource: it creates a copy of a template as the account's own workflow, agent or pipeline, and maps it to a familiar UI action ("the dashboard's 'Use template' button"). This distinguishes it from get_template (read) and save_as_template (the reverse direction) without opening a 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?

Gives clear routing context: the id comes from search_templates, and after creation you run a workflow with run_workflow or a pipeline with run_pipeline. It also covers a conditional branch (use connect_app when a step's app isn't connected). It stops short of explicit when-not guidance relative to copy-style siblings, so a 4 rather than a 5.

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