Gmail MCP Server using Java and Spring Boot
Critical gaps across all dimensions. Tool definitions are inferred from test files rather than explicit registration code. No input schemas visible in source, all tools scored 0 for schema. Descriptions are present but minimal (10-30 chars), well below the 50-200 char LLM-optimized baseline. No parameter descriptions provided. No output schemas documented. No error handling guidance. Tool names lack clarity (e.g., 'trashEmail' vs 'deleteEmail'). Destructive operations (trashEmail, sendEmail) have no confirmation or dry-run support. This server would not pass code review.
Get unread messages from Gmail
Mark email as read by message ID
Read email by message ID
Send email to recipient
Delete email by message ID
No input schemas visible in source code. All tools show empty {} or partial parameter lists without type definitions.
Tool definitions inferred from test files (ClientStdio.java) rather than explicit registration in main code. Cannot verify actual tool registration, schema binding, or Spring AI MCP server configuration.
Descriptions are 10-30 characters (e.g., 'Get unread messages from Gmail'). Descriptions lack WHEN to use, prerequisites, and return value details. Baseline for LLM-optimized descriptions is 50-200 chars.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 34 | <=2025-11-25 | v2 |
Destructive operations (trashEmail, sendEmail) lack confirmation, dry-run, or recovery guidance. No error handling tells LLM what to do on failure. Missing pattern:confirmation-request and pattern:recovery-guide.
Parameter descriptions missing entirely. 'messageId' and 'emailId' parameters have no guidance on format, constraints, or how to obtain them. LLMs cannot infer whether to pass Gmail message IDs, thread IDs, or email addresses.