Skip to main content
Glama

MCP Task Manager Server

by bsmi021
getNextTaskParams.ts987 B
import { z } from 'zod'; export const TOOL_NAME = "getNextTask"; export const TOOL_DESCRIPTION = ` Identifies and returns the next actionable task within a specified project. A task is considered actionable if its status is 'todo' and all its dependencies (if any) have a status of 'done'. If multiple tasks are ready, the one with the highest priority ('high' > 'medium' > 'low') is chosen. If priorities are equal, the task created earliest is chosen. Returns the full details of the next task, or null if no task is currently ready. `; // Zod schema for the parameters, matching FR-007 and getNextTaskTool.md spec export const TOOL_PARAMS = z.object({ project_id: z.string() .uuid("The project_id must be a valid UUID.") .describe("The unique identifier (UUID) of the project to find the next task for."), // Required, UUID format }); // Define the expected type for arguments based on the Zod schema export type GetNextTaskArgs = z.infer<typeof TOOL_PARAMS>;

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/bsmi021/mcp-task-manager-server'

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