Skip to main content
Glama

Get template

get_template
Read-onlyIdempotent

Fetch one saved template in full: content, css, sample_data and page_options. Use it before update_template to see the current body. Does not use render quota.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
template_idYesTemplate ID, e.g. tpl_1a2b3c (from list_templates).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so safety is covered. The description adds a genuinely useful behavioral fact not in the annotations: 'Does not use render quota', which is the key operational difference from the render_image/render_pdf siblings.

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?

Three short sentences, front-loaded with the core action, followed by the workflow hint and the quota note. Every sentence earns its place with no filler.

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

Completeness5/5

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

There is no output schema, so the description carries the burden of describing returns and does so by naming the four payload fields. Combined with the workflow and quota guidance, an agent has everything needed to call and use the result.

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% and template_id is documented in the schema with an example from list_templates. The description's enumeration refers to return fields, not the input parameter, so it adds little parameter meaning beyond the schema. 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?

Specific verb ('Fetch one saved template in full') plus enumerated returned fields (content, css, sample_data, page_options) make the resource and scope unambiguous. An agent can distinguish it from list_templates and the render_* siblings without opening any schema.

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?

Explicitly names when to use it ('before update_template to see the current body'), which routes the agent correctly within an edit workflow. It stops short of stating when the tool is unnecessary (e.g., when only metadata is needed), so it is clear guidance but not a full when/when-not matrix.

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