Skip to main content
Glama
U-C4N

Thunderbird MCP

by U-C4N

Search mail

mail_search
Read-onlyIdempotent

Search emails by full text or combine filters like subject, author, date range, tags, and attachments. Get paginated results with summaries.

Instructions

Search the user's mail. Combine full_text with any filters below.

full_text uses Thunderbird's global index and searches headers and bodies of already-indexed messages; subject/author/body are substring matches evaluated per folder. Dates are ISO-8601. Results are summaries — call mail_get for a body. Continue with cursor=nextCursor.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNo
junkNo
tagsNo
limitNo
to_meNo
authorNo
cursorNo
unreadNo
flaggedNo
from_meNo
subjectNo
to_dateNo
max_sizeNo
min_sizeNo
tag_modeNoany
folder_idNo
from_dateNo
full_textNo
account_idNo
recipientsNo
has_attachmentNo
include_subfoldersNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Beyond annotations (readOnly, idempotent, non-destructive), the description explains that full_text uses Thunderbird's global index on indexed messages, while other fields are substring per-folder. It also specifies ISO-8601 dates and that results are summaries. This adds meaningful context without contradicting annotations.

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?

Four sentences, front-loaded with purpose, followed by critical behavioral details and pagination. No redundant information; every sentence adds value.

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?

Given the presence of an output schema, the description covers the essential: search behavior, filter combination, pagination, and when to use mail_get. It lacks explicit mention of folder or account scoping (though schema has account_id and folder_id), but overall is fairly complete for a complex search tool.

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?

With 22 parameters and 0% schema description coverage, the description only mentions full_text, subject, author, body, cursor, and dates implicitly. It does not explain the many other parameters like junk, tags, to_me, folder_id, etc., leaving the agent to infer meaning from parameter names alone.

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 'Search the user's mail' with specific verb and resource. It distinguishes itself from sibling tools like mail_get (retrieve body) and mail_list (list all) by focusing on search with filters. The differentiation from other search tools is implicit through context.

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 explicit guidance on combining full_text with filters, notes that subject/author/body are substring matches, and advises using mail_get for full body. It also explains pagination with cursor. However, it does not explicitly state when to use this tool over alternatives like search_global or mail_list.

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/U-C4N/Thunderbird-MCP'

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