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) or its model and tools (agents).

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
kindNoDefault workflow.
template_idYesThe template id from search_templates.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/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 safety is covered; the description adds value by disclosing what the single object actually contains, which matters since there is no output schema. It does not mention not-found behavior or size/truncation of the full payload, but that is a minor gap.

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?

A single front-loaded sentence with no filler, leading with 'One template in full' and then the payload breakdown. The parenthetical workflow/agent split is slightly dense but each clause carries information.

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

Completeness3/5

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

For a two-parameter read tool with fully documented schema and no output schema, the description covers the important parts: what is returned and how kind affects it. Missing are error/no-match behavior and whether the returned definition is resolved or raw, which an agent would want to know before relying on the response.

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 the baseline is 3; the description goes beyond it by explaining that kind changes the shape of the result — inputs/steps for workflows versus model/tools for agents. That gives the workflow/agent enum real semantic weight rather than leaving it as a bare discriminator.

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?

States a specific verb+resource ('One template in full') and enumerates what the payload contains: purpose, mechanics, steps, and inputs for workflows or model/tools for agents. An agent can distinguish this from list-style siblings like search_templates or use_template. It does not explicitly contrast with get_workflow or get_agent, which is the main remaining ambiguity.

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 only implied: the schema tells the agent template_id comes from search_templates, so the fetch-a-known-template flow is inferable. There is no explicit statement of when to prefer this over use_template (execute) or get_workflow/get_agent (inspect a live workflow/agent).

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