Skip to main content
Glama

List document templates

list_document_templates
Read-onlyIdempotent

List the document templates this server can fill from rows of data: certificate of completion, letter, donation receipt and job offer letter. Returns each template's key, name, a one-line description, page size and orientation, and its fields (key, label, whether it is required, an example value, and how the value is printed). Call this first when the user wants PDFs made from a spreadsheet, a table, a CSV or a list of people, so you can map their columns onto a template's field keys before calling render_documents. Takes no arguments.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
templatesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower. The description adds that it takes no arguments and details the shape of each returned template, which goes beyond what annotations provide; it does not mention error behavior or auth, keeping it at 4.

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?

Front-loaded with the verb and template list, then the workflow guidance. It is dense but almost every clause carries information; the second sentence is long, and some returned-field detail partially duplicates the output schema.

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 zero-argument, read-only discovery tool with an output schema already documenting the return, nothing essential is missing. The description's field-by-field return recap is slightly redundant given the output schema exists, so it lands at 4 rather than 5.

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?

Zero parameters, so the baseline is 4. The description correctly states 'Takes no arguments,' which is consistent with the empty schema, and adds no misleading parameter guidance.

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?

States a specific verb (List) and resource (document templates), names the four concrete templates, and enumerates the returned fields. It is instantly distinguishable from render_documents and create_continue_link.

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?

Explicitly says to 'Call this first when the user wants PDFs made from a spreadsheet, a table, a CSV or a list of people' and names the follow-up tool (render_documents) plus the reason (mapping columns onto field keys). This is a full when-to-use plus routing statement.

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.