Skip to main content
Glama
combor

Baryon MCP

search_emails

Read-onlyIdempotent

Search emails in a folder by text, sender, recipient, subject, date range, or unread state. Returns newest-first summaries with pagination.

Instructions

Search messages in a folder by text, sender, recipient, subject, date range, or unread state. Returns envelope summaries newest first, with pagination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNomatch recipient address or name
fromNomatch sender address or name
limitNomax messages to return (default 20, max 100)
queryNofree-text search over message headers and body
sinceNoreceived on or after this date, YYYY-MM-DD
beforeNoreceived strictly before this date, YYYY-MM-DD
folderYesfolder name, as returned by list_folders
offsetNonewest messages to skip, for pagination
subjectNomatch subject text
unread_onlyNoonly return unread messages

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
totalYestotal messages matching, before pagination
emailsYesnewest first
folderYes
returnedYes
uidvalidityYesfolder generation; pass to get_email and attachment tools together with uid
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, establishing a safe read operation. The description adds valuable behavioral context by stating it 'Returns envelope summaries newest first, with pagination', clarifying output shape and ordering that are not in annotations. This goes beyond the structured data without contradicting it.

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 exactly two sentences, front-loaded with the core action, and every phrase earns its place. It avoids redundancy with the schema and annotations while covering return format and pagination.

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?

The description is complete enough for a search tool with 10 parameters and an output schema: it states purpose, return type (envelope summaries), ordering (newest first), and pagination. However, it does not explicitly mention relationships to sibling tools like 'list_emails' or 'get_email' when more context might be needed, so slightly below perfect completeness.

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 the baseline is 3. The description lists high-level search dimensions (text, sender, recipient, etc.) that map to parameters, but each parameter already has a descriptive schema comment. The description does not add significant new meaning beyond what the schema already provides.

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 uses a specific verb 'Search' with a clear resource ('messages in a folder') and enumerates the search dimensions (text, sender, recipient, subject, date range, unread state). It distinguishes itself from siblings like 'list_emails' and 'get_email' by focusing on filtered search that returns envelope summaries.

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 description implies usage for filtered email searches but does not explicitly state when to choose this over siblings like 'list_emails' or 'get_email'. No exclusions or alternative tool names are given, so the context is only implicit.

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/combor/baryon-mcp'

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