Skip to main content
Glama

timeline_remove_scheduled_event

Delete a scheduled social media post by providing its event ID to manage content automation workflows across multiple platforms.

Instructions

Remove a scheduled event

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
eventIdYes

Implementation Reference

  • The complete tool registration including the handler function that deletes the specified scheduled event from the database using its eventId. It uses the getDb() helper and the events table schema.
    mcp.addTool({ name: 'timeline_remove_scheduled_event', description: 'Remove a scheduled event', parameters: z.object({ eventId: z.string().uuid() }), execute: async (params) => { const db = await getDb(); await db.delete(events).where(eq(events.id, params.eventId)); return JSON.stringify({ success: true, message: `Event ${params.eventId} removed successfully` }, null, 2); } });

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/derekalia/timeline-mcp'

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