Skip to main content
Glama

List Templates

list_templates
Read-onlyIdempotent

List saved email templates (name, ID, editor, type, status, dates) with filters: template_type, status, category_id, search_name, sort. Content is not included; use get_template to read one. A drag-and-drop template's ID works with edit_dnd_email and create_campaign template_id.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (default 1)
limitNoTemplates per page, 10-100 (default 20)
statusNosaved, draft, or saved,draft (default saved)
sort_fieldNoname, created_date or modified_date (default modified_date)
sort_orderNoasc or desc (default desc)
category_idNoCategory ID from list_template_categories; 0 = uncategorized
search_nameNoPart of the template name (max 100 characters)
template_typeNohtml, amp, or html,amp

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive behavior, so the safety profile is covered. The description adds real context beyond that: content is deliberately excluded from results, the exact field set returned, and downstream interoperability of the IDs. It does not discuss pagination behavior beyond what the schema implies or result ordering defaults.

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?

Three tight sentences, front-loaded with the core verb and returned fields, followed by the filter list and then the critical exclusion plus alternative. Nothing is repeated from the schema verbatim and no sentence is wasted.

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?

For a read-only, zero-required-parameter list tool with no output schema, the description supplies the return-field summary, the content-exclusion caveat, and cross-tool ID usage, which is everything an agent needs to call it correctly and know when to switch to get_template.

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%, so every parameter is already documented, and the description merely echoes the filter names (template_type, status, category_id, search_name, sort) without adding syntax or interaction meaning. It loosely says 'sort' where the schema splits sort_field and sort_order, adding no new semantics. Baseline 3 applies.

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 saved email templates') and enumerates the returned fields (name, ID, editor, type, status, dates), so the agent knows exactly what comes back and how it differs from get_template, which reads content.

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 routes the agent: lists are metadata-only, and 'use get_template to read one' names the alternative and the condition that selects it. It also points to list_template_categories as the source of category_id values and notes that drag-and-drop template IDs feed edit_dnd_email and create_campaign template_id.

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