Skip to main content
Glama

list_document_templates

Read-only

The document templates of this tenant — letters, brochures. Each row says which variables and which named images the template expects, so you can see what a render needs before attempting one. Optional: format ('html' or 'docx'), include_inactive.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_document_templates"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoOnly templates of this format: 'html' or 'docx'
include_inactiveNoAlso include inactive entries

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / format / description
      Added value: +"Only templates of this format: 'html' or 'docx'"
    • addedInput schema / properties / include_inactive / description
      Added value: +"Also include inactive entries"
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds real value by disclosing the row shape (variables and named images each template expects), but says nothing about pagination, ordering, or what an inactive template row looks like beyond the include_inactive flag.

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?

Two sentences, resource and output content front-loaded, with no filler. The trailing clause "before attempting one" is slightly redundant with "what a render needs" but still earns its place by implying a workflow.

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 two-optional-parameter read-only list with no output schema, the description covers what matters: scope (tenant), row content (variables, named images), and filter options. Minor gaps like result ordering or whether templates are paginated are not critical for correct invocation.

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

Parameters3/5

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

Schema coverage is 100% and both parameters are already documented in the schema, including the enum values for format. The description's restatement ("format ('html' or 'docx'), include_inactive") duplicates the schema without adding defaults, interactions, or edge cases, so the baseline of 3 applies.

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?

Names the resource precisely ("document templates of this tenant") and disambiguates with concrete examples ("letters, brochures"). The second sentence clarifies it returns template metadata rather than rendered documents, which separates it from siblings like get_document_template or render_document_template, though no sibling is named explicitly.

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?

"so you can see what a render needs before attempting one" gives a clear usage context — an inspection step before rendering. It states which parameters are optional but offers no explicit exclusions or guidance on when a different template-listing tool (e.g. list_offer_templates) would be preferred.

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.