Skip to main content
Glama

Save a document template

save_document_template

Free, and does not use your document allowance. Store a reusable layout once so you stop re-sending it: send format, blocks (or sheets), an optional templateId, with {{placeholders}} where values go, and a table may carry rowsFrom:"listName" to repeat one row over an array. Then render with { templateId, values }. Requires an API key (X-API-Key). Saves a large layout from being re-sent on every call, which is usually the single largest avoidable cost in a request.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
formatNo
templateIdNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral burden. It discloses that the operation is free, does not consume document allowance, requires an API key, stores a layout, and supports placeholders and rowsFrom. It does not fully describe what happens if templateId is omitted or what the response contains, but it still provides substantial behavioral detail.

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?

The description is information-dense and front-loads the most important facts: free, no document allowance, reusable-layout benefit. The final sentence about avoiding cost is somewhat repetitive with the earlier 'stop re-sending it' phrasing, but the paragraph otherwise avoids filler.

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?

The description covers the main call pattern, placeholders, table repetition, and authentication. However, with no output schema, it does not state what the save response returns or how the templateId is obtained for a later render call. The 'name' parameter is also left unexplained. These are material gaps for correct invocation.

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?

The input schema has 0% description coverage, so the description must compensate. It adds meaning for format, templateId, blocks/sheets, placeholders, and rowsFrom. However, it never explains the 'name' parameter, which appears in the schema, and does not spell out the format enum values. This is strong but incomplete compensation.

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 clearly states the tool's purpose: 'Store a reusable layout once' so it can be re-used via rendering. It distinguishes itself from the sibling render_document by presenting the save-before-render flow: 'Then render with { templateId, values }.'

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 gives clear context for when to use the tool: when you have a reusable layout you keep sending and want to avoid re-sending it. It also mentions a prerequisite: 'Requires an API key (X-API-Key).' It does not explicitly name alternatives or state when not to use it, so it falls short of a full 5.

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.

TDQS

A4.3/5.0
Disambiguation5/5

Each tool targets a distinct action: listing offerings, rendering a document, and saving a template. The only minor overlap is that render_document and save_document_template both accept blocks/sheets, but their purposes (output a file vs. store a layout) are clearly differentiated in the descriptions.

Naming Consistency5/5

All three tool names follow a consistent verb_noun pattern with snake_case: list_offerings, render_document, save_document_template. The naming is uniform and predictable.

Tool Count5/5

At 3 tools, this is at the lower end of the ideal range, but each tool earns its place: discovery, rendering, and template persistence. There are no redundant or superficial tools.

Completeness3/5

The core document rendering flow is covered, but template management is incomplete: you can save and use templates, yet there is no way to list, update, or delete saved templates. This creates a potential dead end when an agent needs to discover existing template IDs.

Resources