Skip to main content
Glama

list_emails

Retrieve recent emails from a specified folder, with options to limit count or show only unread messages.

Instructions

List recent emails in a folder, newest first.

Args: folder: Folder name or path, e.g. "Inbox", "Sent Items", "Inbox/Receipts". count: Maximum number of emails to return (1-100). unread_only: Only return unread emails.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNo
folderNoInbox
unread_onlyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It only describes listing behavior without mentioning side effects, permissions, or rate limits. For a read operation, stating 'read-only' would be beneficial.

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?

The description is concise, front-loading the purpose and then listing parameter details in a structured format. Every sentence adds value with no redundancy.

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?

Given the tool's simplicity (3 parameters, none required), the description fully covers functionality. An output schema exists, so return value details are not needed.

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

Parameters5/5

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

With 0% schema description coverage, the description compensates fully by explaining each parameter: folder examples, count range (1-100), and unread_only boolean meaning. This adds significant value beyond the schema's type/default info.

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 clearly states 'List recent emails in a folder, newest first,' which is a specific verb+resource combination. It effectively distinguishes from sibling tools like search_emails or get_email.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides example folder names and parameter ranges, offering clear context for usage. However, it does not explicitly contrast with siblings like search_emails or specify when not to use this tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jagarlamudisrinath/outlook-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server