Skip to main content
Glama
adamzaidi

icloud-mcp

by adamzaidi

log_clear

Clear session logs to start fresh for new tasks in the iCloud Mail MCP server, ensuring organized email management.

Instructions

Clear the session log and start fresh. Use this at the start of a new task.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The implementation of the `logClear` tool, which clears the session log by resetting it to an empty array.
    export function logClear() {
      writeFileSync(LOG_FILE, JSON.stringify({ steps: [], startedAt: null }, null, 2));
      return { cleared: true };
    }

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/adamzaidi/icloud-mcp'

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