Skip to main content
Glama

calendarAll

Access and manage all calendars within the Routine MCP server to organize schedules, tasks, and notes efficiently.

Instructions

All calendars.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler implementation for the 'calendarAll' MCP tool. It sends an RPC request to 'calendar.all' with no parameters, returns the JSON-stringified response as text content, and handles errors by logging and returning an error message.
    server.tool("calendarAll", "All calendars.", {}, async ({}) => { try { const data = await sendRpcRequest("calendar.all", []); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }], }; } catch (error) { logger.error("Error fetching calendar.all: %o", error); return { content: [ { type: "text", text: `Error fetching auth id: ${error instanceof Error ? error.message : String(error)}`, }, ], isError: true, }; } });
  • src/tools.ts:26-44 (registration)
    Registration of the 'calendarAll' tool using server.tool within the registerServerTools function.
    server.tool("calendarAll", "All calendars.", {}, async ({}) => { try { const data = await sendRpcRequest("calendar.all", []); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }], }; } catch (error) { logger.error("Error fetching calendar.all: %o", error); return { content: [ { type: "text", text: `Error fetching auth id: ${error instanceof Error ? error.message : String(error)}`, }, ], isError: true, }; } });
  • src/index.ts:234-235 (registration)
    Invocation of registerServerTools, which registers all tools including 'calendarAll' on the MCP server.
    registerServerTools(server, sendRpcRequest, logger);

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/routineco/mcp-server'

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