Skip to main content
Glama

Get template

get_template
Read-only

Read a template's subject, preview text, HTML, plain text and merge tags.

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
template_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered without the description. The description does add value by enumerating the returned fields (subject, preview text, HTML, plain text, merge tags), which matters since no output schema exists, but it says nothing about behavior on a missing/invalid template_id.

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 the verb and resource first and no filler. Efficient, though the field list is a flat enumeration rather than a structurally prioritized statement.

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?

Appropriate for a simple one-parameter read tool, and it compensates for the missing output schema by naming the returned fields. It stops short of telling the agent where template IDs come from or how a failed lookup behaves, which a sibling-aware definition would include.

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?

Only one parameter (template_id) with 0% schema description coverage, so the description carries the full burden. It implies the tool takes a template identifier via "a template's", but adds no format, source, or validation detail for template_id, leaving a real gap.

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?

Specific verb ("Read") plus resource ("a template") and an enumeration of the returned fields, so the agent knows exactly what it gets back. It never names list_templates or otherwise distinguishes itself from that sibling, which keeps it short of a 5.

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: "Read a template's..." signals a single-resource fetch, and the singular object implies the ID-keyed lookup versus list_templates. There is no explicit when-to-use, when-not-to-use, or prerequisite (e.g., obtain an ID from list_templates first).

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