MCP server for Mailgent — Identity infrastructure for AI agents
Mailgent MCP demonstrates solid fundamentals with clear verb-noun naming (identity_*, mail_*), comprehensive parameter descriptions, and proper Zod schema validation. Tool annotations are present and correct. However, output schemas are not documented, responses are JSON-stringified without field-level documentation. Error handling is minimal (generic fail() wrapper). Parameter constraints lack enums where appropriate (e.g., labels as free-form string vs. predefined set). No pagination guidance in mail_list_messages despite accepting limit/pageToken. Identity tools lack scope-gating documentation in descriptions.
Sign arbitrary data with this identity's Ed25519 private key. Returns the signature and the identity's DID.
Verify a signature against any did:web identity. Resolves the DID Document and checks the Ed25519 signature.
Get your agent identity info — name, email, DID, scopes, and purpose
Download the contents of an email attachment as base64-encoded data. Use mail_get_message or mail_get_thread first to find attachment IDs and metadata.
Get a specific email by its messageId
List emails in your agent's inbox. Returns newest first.
Output schemas not documented. Responses are JSON-stringified via ok() helper without field-level documentation. LLMs cannot plan downstream tool calls or extract specific fields reliably.
mail_list_messages accepts 'labels' as free-form string but should use enum or document valid label values. LLMs may pass invalid labels, causing silent failures.
Error handling is generic. fail() returns raw API error data without actionable recovery guidance. LLMs cannot distinguish retryable errors from user-fixable ones.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 59 | 2026-07-28+ | v2 |
Reply to an existing email in a thread
Send an email from your agent's inbox
Add or remove labels on a message
Add or remove labels on a thread (e.g. 'starred', 'important', 'archived', or custom labels)
Scope-gating logic is server-side but not documented in tool descriptions. Users/LLMs cannot predict which tools will be available without calling identity_whoami first.
mail_list_messages pagination guidance missing. Accepts limit/pageToken but description does not explain how to iterate or what nextPageToken field to expect in response.