Skip to main content
Glama

MCP Task Manager Server

by bsmi021
createProjectParams.ts1.15 kB
import { z } from 'zod'; export const TOOL_NAME = "createProject"; export const TOOL_DESCRIPTION = ` Creates a new, empty project entry in the Task Management Server database. This tool is used by clients (e.g., AI agents) to initiate a new workspace for tasks. It returns the unique identifier (UUID) assigned to the newly created project. An optional name can be provided; otherwise, a default name including a timestamp will be generated. `; // Define the shape of the parameters for the server.tool method export const TOOL_PARAMS = { projectName: z.string() .max(255, "Project name cannot exceed 255 characters.") // Max length constraint .optional() // Optional parameter .describe("Optional human-readable name for the new project (max 255 chars). If omitted, a default name like 'New Project [timestamp]' will be used."), // Detailed description }; // Create a Zod schema object from the shape for validation and type inference const toolParamsSchema = z.object(TOOL_PARAMS); // Define the expected type for arguments based on the Zod schema export type CreateProjectArgs = z.infer<typeof toolParamsSchema>;

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