Skip to main content
Glama
TU Clausthal Mail MCP

TU Clausthal Mail MCP

by tatoline

get_unread_emails

Read-onlyIdempotent

Lists unread email headers in a mailbox folder without changing read flags, with pagination to retrieve older results.

Instructions

List unread headers without changing flags. 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": "get_unread_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

B3.4/5.0
Behavior3/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 does add real value beyond them by clarifying that listing unread mail will not mutate the seen/read flag and that only headers are returned, though it says nothing about auth, rate limits, or result ordering.

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?

Two short sentences with no filler, and the core behavior plus the non-mutating guarantee are front-loaded. It is efficient, though the second sentence is terse enough to be slightly cryptic about the cursor's format.

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 explanation is unnecessary, and the non-mutating guarantee is the key behavioral fact. However, for a three-parameter tool with zero schema descriptions, the definition leaves `folder` and `limit` semantics and sibling differentiation unaddressed.

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 0%, so the schema names the three parameters without explaining them. The description gives meaning only to `before` (a backward cursor for older results); `limit` and `folder` are left entirely undocumented, so it partially but not fully compensates for the coverage gap.

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 and resource ("List unread headers") and adds a meaningful qualifier, "without changing flags." It does not distinguish itself from plausible siblings such as list_recent_emails or search_emails, so it stops 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?

The only guidance is "Pass before for older results," which explains pagination backward rather than when to choose this tool over list_recent_emails or search_emails. Usage is implied (you want unread headers only) but no alternatives or exclusions are stated.

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