Skip to main content
Glama

List templates

list_templates
Read-only

List email templates (name, alias, timestamps), oldest first, with cursor pagination.

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
afterNoCursor: id of the last item of the previous page. Must be an id this list returned; there is no sentinel value.
limitNoPage size, 1-100 (default 20)
beforeNoCursor: id of the first item of the next page (page backwards); same rule as after.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds meaningful behavior on top: ordering (oldest first) and cursor-based pagination, which an agent needs to page correctly. It does not mention rate limits or the cursor's actual semantics, keeping it from a 5.

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 densely packed sentence with the resource front-loaded and no filler. Every clause (returned fields, ordering, pagination) earns its place.

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?

There is no output schema, so the description correctly names the returned fields (name, alias, timestamps). Combined with full parameter coverage and annotations carrying the safety profile, this is nearly complete for a read-only list tool; only deeper cursor semantics are missing.

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%, with detailed per-parameter docs for after, before and limit, so the baseline is 3. The description only gestures at 'cursor pagination' and adds no format or syntax detail beyond the schema, so there is no reason to exceed the baseline.

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?

States a specific verb (List) and resource (email templates), and even lists the returned fields (name, alias, timestamps). This clearly separates it from get_template, create_template, update_template and delete_template by naming the resource and its plural/list nature. It stops short of explicitly naming a sibling to route against, so 4 rather than 5.

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?

Usage is implied by the verb: this is the tool to enumerate templates rather than fetch one. However, it offers no explicit when-to-use guidance, no statement that it should be preferred over get_template for bulk retrieval, and no exclusions. Adequate but with a clear gap.

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.