Skip to main content
Glama

List doc templates

list_doc_templates
Read-onlyIdempotent

List the built-in and custom doc templates, 50 per page; built-in templates come first. Returns templates, hasMore, and nextCursor. Use a template's id as templateId in create_doc.

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_doc_templates"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoCustom templates per page. Default 50.
cursorNonextCursor from the previous page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive, so safety is covered. The description adds genuinely new behavior: page size of 50, built-in templates ordered before custom ones, and the exact return fields (templates, hasMore, nextCursor) — details an agent cannot get from the annotations.

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?

Two tight sentences: scope and paging first, return shape second, cross-tool linkage last. Nothing is redundant and no sentence could be removed without losing information.

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?

With no output schema, the description usefully enumerates the return fields and paging mechanics, which is exactly what an agent needs. A minor gap remains: it does not clarify that 'limit' applies only to custom templates (that fact lives only in the schema), which could matter for paging expectations.

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 description coverage is 100%, so both limit and cursor are already documented, including the notable fact that limit counts custom templates only. The description reinforces paging with '50 per page' but adds no syntax or edge-case meaning beyond the schema, so the baseline 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?

The description opens with a specific verb and resource ('List the built-in and custom doc templates') and defines scope by naming both template classes plus ordering (built-in first). It does not explicitly contrast with the singular sibling get_doc_template, so the list-vs-fetch distinction is left to inference, but the core purpose is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The final sentence gives downstream usage ('Use a template's id as templateId in create_doc'), which is useful forward routing. However, there is no when-to-use vs when-not guidance and no mention of when to prefer get_doc_template for a single lookup, so usage is only implied.

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