Skip to main content
Glama

Task Orchestration

by hrishirc

get_tasks

Retrieve tasks for a specific goal with optional subtask hierarchy. Specify task IDs, subtask inclusion level, and whether to include deleted tasks for customized results.

Instructions

Get tasks for a goal. Task IDs use a dot-notation (e.g., "1", "1.1", "1.1.1"). When includeSubtasks is specified, responses will return hierarchical task objects. Otherwise, simplified task objects without createdAt, updatedAt, or parentId will be returned.

Input Schema

NameRequiredDescriptionDefault
goalIdYesID of the goal to get tasks for (number)
includeDeletedTasksNoWhether to include soft-deleted tasks in the results (boolean). Defaults to false.
includeSubtasksNoLevel of subtasks to include: "none" (only top-level tasks), "first-level" (top-level tasks and their direct children), or "recursive" (all nested subtasks). Defaults to "none".none
taskIdsNoOptional: IDs of tasks to fetch (array of strings). If null or empty, all tasks for the goal will be fetched.

Input Schema (JSON Schema)

{ "properties": { "goalId": { "description": "ID of the goal to get tasks for (number)", "type": "number" }, "includeDeletedTasks": { "default": false, "description": "Whether to include soft-deleted tasks in the results (boolean). Defaults to false.", "type": "boolean" }, "includeSubtasks": { "default": "none", "description": "Level of subtasks to include: \"none\" (only top-level tasks), \"first-level\" (top-level tasks and their direct children), or \"recursive\" (all nested subtasks). Defaults to \"none\".", "enum": [ "none", "first-level", "recursive" ], "type": "string" }, "taskIds": { "description": "Optional: IDs of tasks to fetch (array of strings). If null or empty, all tasks for the goal will be fetched.", "items": { "type": "string" }, "type": "array" } }, "required": [ "goalId" ], "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