Skip to main content
Glama

Gespeicherte Vorlage ansehen

template_preview
Read-only

Rendert eine GESPEICHERTE Vorlage mit Beispielwerten und liefert Inline-PNGs, PDF-Link und designRender. designId oder ein ungespeichertes design bestimmen das Briefpapier; fuer eigenstaendige Formulare documentMode: "form" setzen. Die Vorschau bleibt kostenfrei und rein zum Ansehen. Fuer ein blocks-Layout, das erst im Entstehen ist, nimm letter_preview. Zum Persistieren einer fertigen Version template_save aufrufen. Falls das Tool clientseitig entfernt wurde, in der Tool-Suche exakt nach dem technischen Namen template_save suchen. EN: Renders a STORED template with sample values and returns inline PNGs, PDF link and designRender. designId or an unsaved design selects the stationery; set documentMode: "form" for standalone forms. The preview stays free of charge and is purely for looking at. Use letter_preview for a blocks layout that is still in the making. Call template_save to persist a finished version. If the client unloaded that tool, search for the exact technical name template_save.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pagesNoWie viele Seiten als Bild zurueckkommen. Standard 1, Maximum 3. EN: How many pages come back as images. Default 1, maximum 3.
designNoUngespeichertes Briefdesign nur fuer diese Vorschau. Fuer Formulare documentMode: "form" setzen. EN: Unsaved letter design for this preview only. Set documentMode: "form" for forms.
designIdNoGespeichertes Briefdesign fuer diese Vorlagenvorschau. EN: Saved letter design for this template preview.
reasoningNo
versionIdNoExakte Vorlagenversion, die geprueft werden soll. Ohne Angabe gilt die freigegebene Version, danach der neueste Entwurf. EN: Exact template version to inspect. If omitted, the released version is used, then the newest draft.
templateIdYesId der Vorlage aus template_list / template_get. EN: The template ID from template_list / template_get.
designVersionIdNoExakte unveränderliche Briefkopf-Version für diese Vorschau. EN: Exact immutable letterhead version for this preview.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral context beyond that: returned artifacts (inline PNGs, PDF link, designRender), the free-of-charge property, and the stationery-selection behavior (designId or unsaved design). No contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core German text is front-loaded and functional, with the primary purpose in sentence one and sibling routing in the middle. However, the full bilingual duplication doubles the length, and the closing meta-note about searching for template_save if the client unloaded it is unusual agent-environment noise that doesn't belong in a tool description.

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 7-parameter tool with a nested design object and no output schema, the description covers the essentials: what is rendered, what is returned, how stationery is chosen, form mode, cost, and alternative tools. The main gap is that 'designRender' is listed as an output but never explained, and there is no mention of invalid/unknown templateId handling, though the versionId fallback is documented in the schema.

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 86%, so the schema already documents most parameters. The description adds cross-parameter relationship semantics not present in the schema: designId OR an unsaved design object determines the stationery ('designId oder ein ungespeichertes design bestimmen das Briefpapier'), and documentMode: 'form' maps to standalone forms. This goes beyond individual field descriptions.

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?

The description opens with a specific action ('Rendert eine GESPEICHERTE Vorlage mit Beispielwerten') and names concrete outputs (Inline-PNGs, PDF-Link, designRender). It emphasizes 'stored' template and contrasts with letter_preview for in-progress block layouts, making the tool's scope unmistakable among 70+ siblings.

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

Usage Guidelines5/5

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

The description explicitly routes to alternatives with conditions: 'Fuer ein blocks-Layout, das erst im Entstehen ist, nimm letter_preview' and 'Zum Persistieren einer fertigen Version template_save aufrufen'. It also states the cost/inspection context ('kostenfrei und rein zum Ansehen'), so an agent knows this is the right choice for view-only previews.

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.