FastAPI-based MCP server for email personalization and sending with Ollama integration
AgentBridge-MCP exhibits severe definition quality gaps across all dimensions. Tool names lack action verbs (echo, get_time are acceptable; personalize_email and send_email are verb-noun but lack clarity on side effects). Descriptions are present but generic and under-specified: 'Echo the input payload' (28 chars) and 'Get the current time in ISO format' (34 chars) provide minimal LLM guidance. Critical gap: NO input schemas are visible in the source code. The router.py shows task_map dispatch but no explicit schema registration. Parameters are inferred from function signatures (e.g., summarize_text.py accepts 'text' param) but no JSON Schema definitions are present. Output schemas are completely undocumented. Error handling is minimal, send_email.py returns generic {'status': 'failed', 'error': str(e)} without recovery guidance. The send_email tool exposes credentials via environment variables (correct) but lacks permission gates or audit logging. No tool annotations (readOnlyHint, destructiveHint, idempotentHint) are present despite send_email being destructive.
Echo the input payload
Get the current time in ISO format
Personalize an email body using Ollama LLM with name and base body
Send an email via Gmail SMTP with optional attachments
Summarize text by truncating to first 100 characters
No input schemas visible in source code. Tools are dispatched via task_map in router.py but no JSON Schema definitions are registered. Parameter types and constraints are inferred from Python function signatures only, making them invisible to MCP clients.
Output schemas completely undocumented. No tool returns a documented schema. Clients cannot predict response structure, forcing LLMs to parse unstructured output or guess field names.
Destructive tool (send_email) lacks permission gates, audit logging, and confirmation pattern. No dry-run support. Agents can send emails without verification, risking unintended bulk sends.
Inferred effective spec: 2026-07-28+.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 32 | 2026-07-28+ | v2 |
Tool descriptions are generic and under 50 characters. 'Echo the input payload' (28 chars) and 'Get the current time in ISO format' (34 chars) lack context for LLM selection. No guidance on when to use each tool or what it returns.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint). send_email is destructive but unmarked. LLMs cannot distinguish safe from unsafe tools without explicit hints.