Skip to main content
Glama
TU Clausthal Mail MCP

TU Clausthal Mail MCP

by tatoline

list_recent_emails

Read-onlyIdempotent

Retrieve recent email message headers from a chosen mailbox folder in descending UID order, and pass the before cursor to page through older results.

Instructions

List recent message headers by descending mailbox UID. Pass before for older results.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
beforeNo
folderNoINBOX

Output Schema

NameRequiredDescriptionDefault
beforeYes
messagesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds genuine context beyond that: results are headers only (not full message bodies) and are ordered by descending UID, which shapes how an agent should post-process results. It still omits what happens at the oldest message or whether paging is stable.

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 short sentences, zero waste, with the core purpose front-loaded and the paging hint second. Nothing could be cut without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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-value description is unnecessary. Still, for a tool whose `before` parameter is a required-field nested identifier, the description should explain how to construct or source that cursor and note the folder/limit defaults; that gap keeps it at minimum-viable rather than complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning, but it only explains `before` and only loosely ("for older results"). It never says the argument is a full MessageId object with account/folder/uidvalidity/uid, nor how to obtain one, and neither `limit` (default 10, max 25) nor `folder` (default INBOX) is mentioned.

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 states a specific verb and resource ("list recent message headers") plus the ordering rule ("descending mailbox UID"), which is more precise than the name alone. It does not explicitly distinguish itself from siblings like search_emails or get_unread_emails, so it falls short of a 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?

Pagination guidance is present and concrete: "Pass before for older results" tells the agent how to page backwards through history. However, there is no when-to-use / when-not-to-use guidance relative to search_emails, get_unread_emails, or read_email, leaving the choice of tool implicit.

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