Skip to main content
Glama

Task Orchestration

by hrishirc

add_tasks

Add multiple tasks to a goal in a structured or hierarchical format. Supports nested subtasks and transactional batch processing to ensure all tasks succeed or fail together.

Instructions

Add multiple tasks to a goal. Tasks can be provided in a hierarchical structure. For tasks that are children of existing tasks, use the parentId field. The operation is transactional: either all tasks in the batch succeed, or the entire operation fails.

Input Schema

NameRequiredDescriptionDefault
goalIdYesID of the goal to add tasks to (number)
tasksYesAn array of task objects to be added. Each task can define nested subtasks.

Input Schema (JSON Schema)

{ "definitions": { "TaskInput": { "properties": { "description": { "description": "Detailed description of the task (string)", "type": "string" }, "parentId": { "description": "Optional parent task ID for tasks that are children of *existing* tasks. Do not use for new subtasks defined hierarchically within this batch.", "type": [ "string", "null" ] }, "subtasks": { "description": "An array of nested subtask objects to be created under this task.", "items": { "$ref": "#/definitions/TaskInput" }, "type": "array" }, "title": { "description": "Title of the task (string)", "type": "string" } }, "required": [ "title", "description" ], "type": "object" } }, "properties": { "goalId": { "description": "ID of the goal to add tasks to (number)", "type": "number" }, "tasks": { "description": "An array of task objects to be added. Each task can define nested subtasks.", "items": { "$ref": "#/definitions/TaskInput" }, "type": "array" } }, "required": [ "goalId", "tasks" ], "type": "object" }
Install Server

Other Tools from Task Orchestration

Related Tools

    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/hrishirc/task-orchestrator'

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