Skip to main content
Glama

Copy a template into the workspace

use_template

Make the account's own workflow or agent from a template, the dashboard's "Use template" button. Free; the template itself is never changed. Returns the new workflow or agent with its inputs, then run it with run_workflow. 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
kindNoDefault 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. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare non-readOnly, non-destructive, non-idempotent behavior, and the description adds genuinely new context: the operation is free (no cost) and the source template is never mutated. It also discloses what is returned (the new workflow or agent with its inputs). Missing is any note on name collisions, quotas, or permissions, which keeps it from a 5.

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 cost/immutability, then the return value and next steps. The 'dashboard's "Use template" button' clause is slightly decorative but earns its place as an analogy for the agent. No significant waste.

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 3-parameter creation tool with no output schema, the description covers the action, cost, source immutability, return contents, and the two relevant follow-on tools. What remains unexplored is failure behavior on name conflicts or invalid template ids, a minor gap rather than a blocking one.

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 kind, name, and template_id are already fully documented, including defaults and the enum. The description adds no syntax or constraint detail beyond the schema, so the baseline 3 applies.

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: copy a template into the account as the user's own workflow or agent, and anchors it to the dashboard's 'Use template' button. It also makes clear the template itself is not modified, which distinguishes it from save_as_template and library_update_agent_template.

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 follow-on routing: run the resulting workflow/agent with run_workflow, and call connect_app when a step needs an unconnected app. The schema's template_id description also ties it to search_templates as the source. It does not explicitly state when not to use it (e.g., when the user wants to edit rather than copy), so it stops just short of 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