Skip to main content
Glama

pageAll

Retrieve and manage all pages within Routine's platform to organize calendars, tasks, and notes efficiently in one centralized interface.

Instructions

All pages.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler for the 'pageAll' MCP tool. It calls the underlying RPC 'page.all' via sendRpcRequest with no parameters, stringifies the result as JSON, and returns it as text content. Includes error handling returning an error message.
    server.tool("pageAll", "All pages.", {}, async ({}) => { try { const data = await sendRpcRequest("page.all", []); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }], }; } catch (error) { logger.error("Error fetching page.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-234 (registration)
    Call to registerServerTools which registers the pageAll tool (among others) on the MCP server.
    registerServerTools(server, sendRpcRequest, logger);
  • src/tools.ts:5-5 (registration)
    The registerServerTools function that contains the server.tool registration for pageAll.
    export function 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