Skip to main content
Glama

MCP Task Manager Server

by bsmi021
importProjectParams.ts1.3 kB
import { z } from 'zod'; export const TOOL_NAME = "importProject"; export const TOOL_DESCRIPTION = ` Creates a *new* project by importing data from a JSON string. The JSON data must conform to the structure previously generated by the 'exportProject' tool. Performs validation on the input data (parsing, basic structure, size limit). Returns the unique project_id of the newly created project upon success. `; // Zod schema for the parameters, matching FR-010 and importProjectTool.md spec export const TOOL_PARAMS = z.object({ project_data: z.string() .min(1, "Project data cannot be empty.") // Size validation happens in the service layer before parsing .describe("Required. A JSON string containing the full project data, conforming to the export structure. Max size e.g., 10MB."), // Required, string new_project_name: z.string() .max(255, "New project name cannot exceed 255 characters.") .optional() .describe("Optional name for the newly created project (max 255 chars). If omitted, a name based on the original project name and import timestamp will be used."), // Optional, string, max length }); // Define the expected type for arguments based on the Zod schema export type ImportProjectArgs = 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