Skip to main content
Glama
Lettr MCP Server

Lettr MCP Server

Official
by lettr-com

List Folders

list-folders

List template folders with IDs, purposes, and template counts to pick a folder before creating a template or review organization.

Instructions

Purpose: List the folders templates are filed into, with each folder's purpose and template count.

Returns: Folder id, name, project, purpose (transactional or campaign) and how many templates are inside.

When to use:

  • Before creating a template, to pick a folder id — nothing else in the API returns one, so without this you either omit folder_id and accept whichever folder the API picks, or guess an integer

  • To find the campaign folder when the user asks for a marketing template

  • To answer "where are my templates organised", "what folders do I have"

Note: A folder's purpose and a template's purpose are separate. Filing a template in a campaign folder does not make the template a campaign template — set purpose on the template itself.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (default 1)
purposeNoOnly return folders of this purpose. Omit to return both.
per_pageNoResults per page (1-100, default 25)
project_idNoProject ID to list folders from. If not provided, uses the team's default project.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.0

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden. It discloses the returned fields, the implicit project scoping, and adds genuine domain semantics in the closing note that a folder's purpose is independent of a template's purpose — a trap an agent would otherwise fall into. It stops short of stating pagination behavior or any permission requirements for cross-project access.

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?

Strong front-loading with bold Purpose/Returns/When-to-use/Note sections that let an agent skim to the decision-relevant lines. It runs slightly long for a simple four-parameter list call, but the bullets each carry distinct information rather than restating the schema.

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?

There is no output schema, and the "Returns" section compensates with an explicit field list (id, name, project, purpose, template count). Combined with the usage triggers and the purpose-separation caveat, an agent has everything needed to call this correctly and interpret the result.

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 page, per_page, purpose, and project_id are already fully documented including defaults and enum values. The description adds only indirect context (the folder's purpose facet, the implicit default project) rather than new parameter-level meaning, so the baseline of 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?

The description opens with a specific verb and resource ("List the folders templates are filed into") and immediately names the distinguishing attribute: each folder's purpose and template count. That separates it cleanly from list-templates, which lists the templates themselves rather than their containers.

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?

The "When to use" block gives three concrete triggers, including a decision-relevant one: this is the only call that returns a folder id, so the agent either calls it or omits folder_id and accepts the API default. It also names the user phrasings that should route here, which leaves nothing to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.