Skip to main content
Glama

fill_template

Create a document. Preview first, then confirm to generate PDF.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
marginNo
confirmNo
page_sizeNo
orientationNo
template_idYes

Schema Changelog

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

  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 indicate this is a mutating operation (readOnlyHint=false). The description adds that PDF generation only occurs after confirmation, which is a valuable behavioral detail. However, it doesn't explain what happens when confirm=false, nor does it disclose any other side effects or requirements, so it's above baseline but not rich.

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 extremely concise: two short sentences with no wasted words. It front-loads the purpose and the key workflow, achieving efficiency without unnecessary verbosity.

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

Completeness2/5

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

Given the moderate complexity (6 parameters, no output schema) and sparse annotations, the description is far too brief. It doesn't explain parameter meanings, return values, the confirm default (false), or relationship to sibling tools. The description leaves too many gaps for reliable invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% description coverage, so the description must compensate. It gives a vague nod to the confirm parameter ('then confirm') but does not explain any other parameters, including the required template_id and data. This is insufficient for a 6-parameter tool.

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 clearly states the tool creates a document and generates a PDF. The verb 'create' and the resource 'document' are specific, and the mention of 'preview first, then confirm' distinguishes it from siblings like create_template. However, it doesn't explicitly mention the template-filling aspect, so it's not a perfect 5.

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?

The description gives an explicit workflow: 'Preview first, then confirm to generate PDF.' This tells the agent to preview before using the confirm flag, which is useful guidance. It implies a sequence but doesn't explicitly state when not to use this tool or mention alternatives by name, so it falls short of a 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

B3.1/5.0
Disambiguation4/5

Most tools are clearly separated by resource (document vs deck) and lifecycle stage (create, preview, status, download). generate_deck and get_research_deck both produce decks and could be confused, and preview_template overlaps with the preview step inside fill_template, but descriptions mostly clarify intent.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern (create_, list_, get_, save_, download_). The verbs are simple and each noun clearly identifies the target resource, making the set predictable.

Tool Count5/5

11 tools is well-scoped for a document and deck generation server. Each tool covers a distinct step in the workflow without excessive fragmentation.

Completeness4/5

The document lifecycle (template -> fill -> preview -> status -> download) and deck workflow (templates -> generate/research -> save) are well covered. Minor gaps include no template update/delete and no way to list or retrieve saved decks, but agents can complete core tasks.