Skip to main content
Glama

Get a template's workflow JSON

get_template
Read-only
The complete workflow JSON of one template (from search_templates), to
read, adapt and then save with save_workflow.

Args:
    template_id: The template_id from search_templates.
    template_url: Older name for template_id (kept so AI apps that cached
        the previous tool list, like ChatGPT, keep working).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
template_idNo
template_urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false and destructiveHint=false, so the safety profile is covered, and the description usefully explains why template_url is retained as a legacy alias. It adds no error behavior (unknown template_id), no guidance when both parameters are supplied, and no note on response size for large workflow JSON.

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?

The purpose and the downstream save_workflow step are front-loaded in one sentence, then parameters are listed compactly. The ChatGPT parenthetical is slightly verbose but justifies its presence by explaining a real compatibility constraint.

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?

With no output schema, the description correctly characterizes the return value as the complete workflow JSON, and it explains both parameters despite 0% schema coverage. The remaining gap is failure/edge behavior for an unknown or empty template_id on a tool where nothing is required.

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 0%, so the description carries the burden and does so: template_id is tied to search_templates and template_url is explained as the backward-compatible older name. It does not say which parameter wins if both are passed, nor what an empty default means (both params are optional with empty-string defaults).

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 exactly what is returned (the complete workflow JSON of one template) and scopes it to templates sourced from search_templates, which cleanly separates it from get_workflow and search_templates. The intended downstream chain (read, adapt, save with save_workflow) makes the role unambiguous.

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 context: the template_id must come from search_templates and the result is meant to be adapted then persisted via save_workflow. It does not explicitly exclude the lookalike get_workflow or state what to do when the template is missing, so it stops short of full when/when-not guidance.

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.