An MCP server that provides tools to read and retrieve emails from Gmail, process attachments, and perform RAG (Retrieval-Augmented Generation) on email documents using vector embeddings.
This server has significant quality gaps across naming, descriptions, and schemas. Tool names lack clear action verbs and are sometimes generic. Parameter descriptions exist but are often vague. Input schemas are present but lack rigor (no enums, minimal constraints). Output schemas are not documented. The server shows basic competence but falls well short of production standards. Per-tool averages: hello=32, read_mail=38, mails_from_date_range=43. The rubric median is 45-55; this server lands in the 'poor' zone (50-59 band, lower half).
Say hello to someone.
This tool is used ot read the mail form a specific date range specified by the user. Dates must be in 'YYYY/MM/DD' format
This tool can be used to retrieve the most recent email from the specified sender (sender_email) and return the data to the user
Tool names lack clear action verbs or are too generic. 'hello' does not follow verb_noun convention (should be 'greet_user' or similar); 'read_mail' uses 'read' (acceptable) but 'mails_from_date_range' is wordy and noun-heavy. LLMs infer intent from names, vague names cause selection errors.
No output schemas documented for any tool. Tool descriptions state WHAT is returned (e.g., 'return the data to the user') but not the structure, field names, or types. LLMs cannot plan downstream tool calls or extract data without knowing response structure. This violates pattern:response-shaper.
Parameter descriptions are present but generic and lack validation constraints. 'sender_email' in read_mail has description 'The email address of the sender to retrieve messages from' but no format spec (not marked as email type in schema). Date parameters in mails_from_date_range state 'YYYY/MM/DD format' in description but schema lacks regex pattern or format constraint. LLMs cannot rely on text hints for validation.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 40 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 25 | - | v1 |
'hello' tool is non-functional in a Gmail context. Greetings do not advance the user's goal (reading email). This tool adds noise and wastes agent reasoning cycles. Remove or replace with a focused Gmail task (e.g., 'summarize_inbox' or 'search_emails').
No error handling guidance in any tool. If sender_email is invalid or does not exist, what does the tool return? Does it retry? Is it a user-fixable error? The source shows 'There is not email from this sender' print message, but no structured error response. LLMs cannot self-recover without clear error categorization.
Date format ambiguity. Parameter 'start_date' and 'end_date' state 'YYYY/MM/DD format' in description, but the actual input schema shows only 'string' type with no format, pattern, or minLength constraint. Slashes are non-standard for ISO 8601 dates. LLMs are prone to hallucinating '2024-01-15' instead of '2024/01/15'.
No mention of scope or permissions required. The server authenticates via OAuth2 (gmail.readonly scope visible in gmail_access.py), but tool descriptions do not declare what permissions they require or imply. This breaks pattern:scope-declaration and audit trails.
No pagination support despite potentially large result sets. mails_from_date_range can return many emails across a date range, but no limit, offset, or cursor parameters are present. Returning all results at once could exceed context window limits and overwhelm the LLM.