Skip to main content
Glama

get_template

Read-onlyIdempotent

Get a template's details and HTML content by template_id or by exact name.

Input Schema

NameRequiredDescriptionDefault
nameNoExact template name, as shown by list_templates (alternative to template_id)
template_idNoTemplate ID (give this or name)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / properties / api_key
      Removed value: -{
      -  "description": "MailerCloud API key",
      -  "type": "string"
      -}
    • addedInput schema / properties / name
      Added value: +{
      +  "description": "Exact template name, as shown by list_templates (alternative to template_id)",
      +  "type": "string"
      +}
    • changedInput schema / properties / template_id / description
      Previous value: -"Template ID,required"New value: +"Template ID (give this or name)"
    • removedInput schema / required
      Removed value: -[
      -  "template_id"
      -]
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and non-destructive behavior, so the safety profile is covered. The description adds that the response includes details and HTML content, which is useful behavioral context beyond the annotations.

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?

The description is a single front-loaded sentence with no wasted language. It states the action and lookup methods immediately.

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?

For a simple read-only tool with rich annotations and full schema coverage, the description is largely complete: it names the return content and both lookup keys. It could be slightly more complete by clarifying behavior when neither or both identifiers are provided, but the core usage is clear.

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 coverage is 100%, so both parameters are already documented, including the exact-name qualification and the alternative-to-template_id relationship. The description reinforces the lookup options but does not add syntax or failure-mode details beyond the schema.

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 gives a specific verb and resource: it retrieves a template's details and HTML content, and it identifies the two lookup keys. It is clear what the tool does, though it does not explicitly contrast itself with sibling tools such as list_templates or update_template.

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?

It explains that retrieval can be done by template_id or by exact name, which is useful context for selecting the correct lookup mode. It does not explicitly state when to prefer this tool over list_templates or what to do if both identifiers are supplied.

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