Skip to main content
Glama

reply_email

Compose and send email replies directly from your AI agent. All data stays on your Mac.

Instructions

Reply to an existing email

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • server.js:12-110 (registration)
    The tool 'reply_email' is registered in the TOOLS array at line 17 with description 'Reply to an existing email'. All tools in this file are stub implementations used for inspection/detection purposes only. The actual 'reply_email' handler is not present in this codebase; the real implementation lives in a native binary (macOS/Windows/Linux) as noted in the file header.
    const TOOLS = [
      ["list_emails", "List emails from Mail.app inbox with optional filters"],
      ["read_email", "Read full email content by ID"],
      ["search_emails", "Search emails by keyword, sender, or date range"],
      ["send_email", "Compose and send a new email"],
      ["reply_email", "Reply to an existing email"],
      ["move_email", "Move email to a different mailbox"],
      ["save_attachment", "Save email attachment to disk"],
      ["list_calendar_names", "List available calendars"],
      ["list_calendar_events", "List calendar events for a date range"],
      ["create_calendar_event", "Create a new calendar event"],
      ["delete_calendar_event", "Delete a calendar event with preview"],
      ["update_calendar_event", "Update an existing calendar event"],
      ["list_reminders", "List reminders from a specific list"],
      ["list_reminder_lists", "List all reminder lists"],
      ["create_reminder", "Create a new reminder"],
      ["complete_reminder", "Mark a reminder as complete"],
      ["list_contacts", "List contacts from the address book"],
      ["search_contacts", "Search contacts by name, email, or phone"],
      ["get_contact", "Get full contact details by name"],
      ["list_notes", "List notes from Apple Notes"],
      ["read_note", "Read full note content"],
      ["create_note", "Create a new note in Apple Notes"],
      ["search_notes", "Search notes by keyword"],
      ["list_message_chats", "List recent iMessage conversations"],
      ["read_messages", "Read messages from a conversation"],
      ["search_messages", "Search iMessages by keyword"],
      ["list_omnifocus_tasks", "List tasks from OmniFocus"],
      ["list_omnifocus_projects", "List OmniFocus projects"],
      ["create_omnifocus_task", "Create a new task in OmniFocus"],
      ["complete_omnifocus_task", "Mark an OmniFocus task complete"],
      ["search_omnifocus_tasks", "Search OmniFocus tasks"],
      ["list_omnifocus_tags", "List OmniFocus tags"],
      ["outlook_list_emails", "List emails from Microsoft Outlook"],
      ["outlook_read_email", "Read an Outlook email"],
      ["outlook_search_emails", "Search Outlook emails"],
      ["outlook_send_email", "Send email via Outlook"],
      ["outlook_list_events", "List Outlook calendar events"],
      ["outlook_create_event", "Create Outlook calendar event"],
      ["onedrive_list_files", "List files and folders in OneDrive"],
      ["onedrive_read_file", "Read file content from OneDrive"],
      ["onedrive_search_files", "Search files in OneDrive"],
      ["onedrive_write_file", "Write or upload file to OneDrive"],
      ["onedrive_delete_file", "Delete file from OneDrive"],
      ["onedrive_move_file", "Move or rename file in OneDrive"],
      ["onedrive_root", "List mounted OneDrive directories"],
      ["onedrive_file_info", "Get file or folder metadata"],
      ["onedrive_set_scope", "Restrict OneDrive access to a folder"],
      ["finder_list", "List files in a Finder directory"],
      ["finder_search", "Search files using Spotlight"],
      ["pdf_read", "Read text content from a PDF file"],
      ["word_read", "Read content from a Word document"],
      ["word_create", "Create a new Word document"],
      ["word_append", "Append content to a Word document"],
      ["excel_read", "Read data from an Excel spreadsheet"],
      ["excel_create", "Create a new Excel spreadsheet"],
      ["excel_write_cell", "Write data to Excel cells"],
      ["ppt_read", "Read content from a PowerPoint file"],
      ["ppt_create", "Create a new PowerPoint presentation"],
      ["teams_list_chats", "List Microsoft Teams chat conversations"],
      ["teams_read_chat_messages", "Read messages from a Teams chat"],
      ["teams_list_teams", "List Teams and their channels"],
      ["teams_list_channels", "List channels in a Teams team"],
      ["teams_read_channel_messages", "Read messages from a Teams channel"],
      ["teams_send_message", "Send a message to a Teams chat or channel"],
      ["slack_list_workspaces", "List Slack workspaces"],
      ["slack_list_channels", "List Slack channels"],
      ["slack_read_channel_messages", "Read messages from a Slack channel"],
      ["slack_search_messages", "Search Slack messages"],
      ["stocks_get_quote", "Get current stock price and market data"],
      ["stocks_search_symbol", "Search for a stock ticker symbol"],
      ["stocks_get_chart", "Get historical price data for a stock"],
      ["whatsapp_list_chats", "List WhatsApp conversations"],
      ["whatsapp_read_messages", "Read messages from a WhatsApp chat"],
      ["whatsapp_search_messages", "Search WhatsApp messages"],
      ["whatsapp_send_message", "Send a WhatsApp message"],
      ["whatsapp_send_file", "Send a file via WhatsApp"],
      ["safari_read_tab", "Read content of a Safari tab"],
      ["safari_click", "Click an element in Safari"],
      ["safari_search_tabs", "Search text across Safari tabs"],
      ["safari_wait_for", "Wait for an element in Safari"],
      ["list_safari_bookmarks", "List Safari bookmarks"],
      ["list_accounts", "List configured email and calendar accounts"],
      ["create_email_folder", "Create a new email folder/mailbox"],
      ["daily_brief", "Morning briefing: calendar, reminders, inbox"],
      ["nordvpn_status", "Check NordVPN connection status"],
      ["nordvpn_servers", "Get recommended NordVPN servers"],
      ["nordvpn_diagnose", "Diagnose NordVPN issues"],
      ["lmcp_state", "LMCP environment health snapshot"],
      ["run_diagnostics", "Run diagnostic checks on all services"],
      ["report_problem", "Report a problem to the LMCP team"],
      ["get_config", "Get current LMCP configuration"],
    ];
    
    for (const [name, desc] of TOOLS) {
      server.tool(name, desc, {}, async () => ({
        content: [{ type: "text", text: "This is an inspection stub. Install Local MCP: npx -y local-mcp@latest setup" }],
      }));
    }
  • server.js:107-109 (registration)
    The tool registration loop calls server.tool() with the name 'reply_email', but provides an empty schema and a stub handler that returns a placeholder message instructing the user to install the real Local MCP package.
    server.tool(name, desc, {}, async () => ({
      content: [{ type: "text", text: "This is an inspection stub. Install Local MCP: npx -y local-mcp@latest setup" }],
    }));
Behavior2/5

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

With no annotations, the description carries full burden but only says 'Reply to an existing email.' It does not disclose behavior such as whether it includes the original message, supports CC/BCC, or sends immediately. This is insufficient for an agent to understand side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is one short phrase with no unnecessary words. However, it may be too brief, sacrificing completeness for conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no parameters, output schema, or annotations, the description is incomplete. It does not explain how the agent should specify which email to reply to or what the tool returns, leaving significant gaps in usability.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0 parameters, so description coverage is 100% trivially. The description does not explain how the target email is identified (e.g., via context from a prior read). Baseline for 0 params is 4, but ambiguity lowers it to 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Reply') and the resource ('an existing email'), which is specific and distinct from creating a new email. However, it does not differentiate from the sibling 'send_email' tool, which might also have reply capabilities.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like 'send_email' or 'move_email'. It does not specify prerequisites or context, such as requiring a previously read email thread.

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/lanchuske/local-mcp-releases'

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