Skip to main content
Glama

taskUnplanned

Track and manage unplanned tasks within Routine, ensuring efficient organization and prioritization of unexpected or ad-hoc activities.

Instructions

Unplanned tasks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for the 'taskUnplanned' tool, which retrieves unplanned tasks by making an RPC request to 'task.unplanned' and returns the JSON-formatted data or an error message.
    server.tool("taskUnplanned", "Unplanned tasks.", {}, async ({}) => { try { const data = await sendRpcRequest("task.unplanned", []); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }], }; } catch (error) { logger.error("Error fetching task.unplanned: %o", error); return { content: [ { type: "text", text: `Error fetching auth id: ${error instanceof Error ? error.message : String(error)}`, }, ], isError: true, }; } });
  • src/tools.ts:888-906 (registration)
    Registers the 'taskUnplanned' tool with the MCP server using server.tool(), including name, description, empty schema, and inline handler.
    server.tool("taskUnplanned", "Unplanned tasks.", {}, async ({}) => { try { const data = await sendRpcRequest("task.unplanned", []); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }], }; } catch (error) { logger.error("Error fetching task.unplanned: %o", error); return { content: [ { type: "text", text: `Error fetching auth id: ${error instanceof Error ? error.message : String(error)}`, }, ], isError: true, }; } });

Other Tools

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

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