Skip to main content
Glama

Read a template

get_template
Read-onlyIdempotent

One template in full: what it does, how it works, its steps and the inputs it needs (workflows), its model and tools (agents), or its stages, checkpoints and inputs (pipelines).

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": "get_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoThe kind search_templates gave. Default workflow.
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

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds useful context that returned content varies by kind, but says nothing about error behavior (unknown id, kind mismatch) or visibility/permission constraints.

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?

A single front-loaded sentence with the resource first and the per-kind detail in parallel parentheticals. No filler, no repetition of the 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?

With no output schema, the description takes on return-value disclosure and does so at a useful level of abstraction per kind. It stops short of noting failure modes or that the response is a single object versus a collection, but the core is covered.

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 coverage is 100%, so a baseline of 3 applies, but the description goes further by explaining what each kind value yields: steps and inputs for workflows, model and tools for agents, stages, checkpoints and inputs for pipelines. That makes the enum choice meaningful rather than opaque.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description concretely states the verb and resource: fetch one template in full, and enumerates what 'in full' means for each kind. It implicitly separates itself from list/search tools by framing the id as coming from search_templates, though it never names a sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: the schema descriptions say the id comes from search_templates, which signals a search-then-fetch flow. There is no explicit when-to-use or when-not guidance, and no mention of what to do when the id is unknown or the kind is wrong.

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