Skip to main content
Glama

List Dynamic Document API templates

list_templates
Read-onlyIdempotent

List the published templates of the connected workspace: id, name, type and live version. Use it to find the template_id for a document the user describes; skip it when you already have the id. PDF templates (pdf_code, pdf_markdown) go to render_pdf_from_template, image templates (image_canvas) to render_image_from_template; get_template_schema returns the data a template expects. Returns 50 templates per page unless limit says otherwise; pass next_cursor as cursor while has_more. Not billed. Limited to 60 tool calls a minute per connection, shared by all tools.

Input Schema

NameRequiredDescriptionDefault
typeNoOnly return templates of this type, e.g. `image_canvas` for image templates.
limitNoPage size, 1-100 (default 50).
queryNoPart of a template name, case-insensitive.
cursorNo`next_cursor` of the previous page.

Output Schema

NameRequiredDescriptionDefault
has_moreYesMore templates match: call again with `cursor: next_cursor`.
templatesYes
next_cursorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • changedInput schema / properties / cursor / description
      Previous value: -"Pagination cursor from a previous call."New value: +"`next_cursor` of the previous page."
    • changedInput schema / properties / query / description
      Previous value: -"Free-text search over template names."New value: +"Part of a template name, case-insensitive."
    • changedInput schema / properties / type / description
      Previous value: -"Only return templates of this type."New value: +"Only return templates of this type, e.g. `image_canvas` for image templates."
    • addedOutput schema / properties / has_more / description
      Added value: +"More templates match: call again with `cursor: next_cursor`."
    • addedOutput schema / properties / templates / items / properties / id / description
      Added value: +"Template id (`tpl_…`), the `template_id` of the render tools."
    • addedOutput schema / properties / templates / items / properties / live_version / description
      Added value: +"The version renders use by default."
    • addedOutput schema / properties / templates / items / properties / type / description
      Added value: +"`pdf_code`, `pdf_markdown`, `image_canvas`, `docx` or `pdf_form`."
  2. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already cover the safety profile, and the description adds context an agent could not infer: 50 results per page, the has_more/next_cursor paging loop, no billing, and a 60 calls-per-minute per-connection limit shared across all tools.

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?

A single dense paragraph, front-loaded with purpose and scope, followed by routing, pagination, and operational limits. Every sentence carries a distinct, non-redundant instruction.

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

Completeness5/5

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

An output schema exists, so return field detail is unnecessary; the description still covers discovery purpose, sibling routing, pagination, billing, and rate limits. Nothing an agent needs to call this correctly is missing.

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?

With 100% schema coverage the baseline is 3, but the description adds the paging contract that the schema alone does not state: the default page size and the instruction to pass `next_cursor` as `cursor` while `has_more` is true. It also ties template `type` values to the correct downstream render tool, which is meaning beyond the enum itself.

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 and resource ('List the published templates of the connected workspace') and enumerates the fields returned (id, name, type, live version), which lets an agent distinguish it immediately from get_template_schema and the render_* 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?

Gives explicit when-to-use ('to find the `template_id` for a document the user describes'), an explicit when-not ('skip it when you already have the id'), and routes by template type: pdf_code/pdf_markdown to render_pdf_from_template, image_canvas to render_image_from_template, and schema lookup to get_template_schema.

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