Skip to main content
Glama

List Email Templates

list_email_templates
Read-onlyIdempotent

Lists the email templates (saved messages) of the signed-in Mailpro account, most recently modified first: subject, language, modification date. Use it to find a template id. The HTML is not included: use get_email_template.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, starting at 1.
subjectNoOptional: only templates whose subject contains this text. Leave empty for all.
page_sizeNoTemplates per page, 1 to 50. Default 20.

Output Schema

NameRequiredDescriptionDefault
pageYes
has_moreYesTrue when a next page may exist.
page_sizeYes
templatesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered. Beyond that, the description discloses ordering, the result shape, and a payload characteristic ('The HTML is not included'), which helps an agent predict both cost and content. It stops short of describing pagination limits, though page_size is capped in the schema.

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 short clauses, front-loaded with the resource and scope, followed by the practical use and the exclusion. No filler, no repetition of the title.

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 values need no further explanation, yet the description still summarizes them. With annotations covering the safety profile and the schema covering all three parameters, 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?

Schema description coverage is 100%, so the schema carries the parameter burden (page, subject, page_size with defaults and ranges). The description adds framing by mentioning the subject field among returned values, mildly reinforcing what the subject filter matches, but adds no new syntax or semantics. Baseline plus a small contribution warrants a 4.

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?

The description gives a specific verb and resource ('Lists the email templates (saved messages)'), scopes it to the signed-in account, and states ordering ('most recently modified first') plus the fields returned (subject, language, modification date). It explicitly contrasts with get_email_template, so an agent can distinguish it from the sibling without opening either schema.

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?

It states the intended use case directly ('Use it to find a template id') and names the alternative together with the condition that selects it ('The HTML is not included: use get_email_template'). The choice between listing and fetching a single template is fully resolved in the text.

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