Skip to main content
Glama
Xallor Email MCP

Xallor Email MCP

Official
by xallor-ai

list_folders

List available mail folders for an email account, returning top-level folders by default or child folders when a parent folder ID is provided.

Instructions

List available mail folders. Returns top-level folders by default, or child folders of the given parent when parentFolderId is provided.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "account": "<account>"
    },
    "name": "list_folders"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountYes
parentFolderIdNoWhen provided, lists child folders of this folder. When omitted, lists top-level folders (children of the root).

Output Schema

NameRequiredDescriptionDefault
countYes
itemsYes
accountYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.8.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It implies a read-only enumeration and discloses the default scoping behavior (root children), but says nothing about ordering, whether empty folders appear, pagination, or permission requirements. For a low-risk list operation the gaps are modest, but they are real.

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 sentences, front-loaded with the core operation and followed by the mode distinction. No redundant or filler wording; every clause adds usable 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?

This is a simple two-parameter read tool with an output schema, so return-value detail is not needed. The description covers the operation and the branching behavior adequately; the only shortfall is the absent note on the required `account` parameter's role in a multi-account context.

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 50%: `parentFolderId` is already fully documented in the schema, and the description only restates and slightly reinforces that behavior (children of root when omitted). The required `account` parameter is undocumented in both schema and description beyond its email format, though its meaning is largely self-evident from the tool's domain.

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 available mail folders") and immediately clarifies the two listing modes, so an agent knows exactly what the tool returns. It does not explicitly contrast itself with the create/delete/rename folder siblings, but the read-only verb makes the distinction clear enough in practice.

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?

It tells the agent when to expect each mode: omit `parentFolderId` for top-level folders, supply it for children. That is useful in-tool guidance, but there is no statement about when to use this instead of the related folder tools, nor any prerequisite or account-scoping guidance.

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