Skip to main content
Glama
qpiai

Zoho Projects MCP Server

by qpiai

create_phase

Add a new phase or milestone to a Zoho Projects project by specifying project ID, phase name, dates, and owner to organize project timelines.

Instructions

Create a new phase/milestone

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesProject ID
nameYesPhase name
start_dateNoStart date (YYYY-MM-DD)
end_dateNoEnd date (YYYY-MM-DD)
owner_zpuidNoOwner user ZPUID

Implementation Reference

  • The handler function for the 'create_phase' tool. It extracts project_id and phaseData from input parameters, sends a POST request to the Zoho Projects API to create a new phase/milestone, and returns a formatted success response with the created phase details.
    private async createPhase(params: any) {
      const { project_id, ...phaseData } = params;
      const data = await this.makeRequest(
        `/portal/${this.config.portalId}/projects/${project_id}/phases`,
        "POST",
        phaseData
      );
      return {
        content: [
          {
            type: "text",
            text: `Phase created successfully:\n${JSON.stringify(data, null, 2)}`,
          },
        ],
      };
    }
  • src/index.ts:469-486 (registration)
    The registration of the 'create_phase' tool in the list_tools request handler, including its name, description, and input schema definition.
    {
      name: "create_phase",
      description: "Create a new phase/milestone",
      inputSchema: {
        type: "object",
        properties: {
          project_id: { type: "string", description: "Project ID" },
          name: { type: "string", description: "Phase name" },
          start_date: {
            type: "string",
            description: "Start date (YYYY-MM-DD)",
          },
          end_date: { type: "string", description: "End date (YYYY-MM-DD)" },
          owner_zpuid: { type: "string", description: "Owner user ZPUID" },
        },
        required: ["project_id", "name"],
      },
    },
  • Input schema definition for the 'create_phase' tool, specifying required project_id and name, with optional dates and owner.
    inputSchema: {
      type: "object",
      properties: {
        project_id: { type: "string", description: "Project ID" },
        name: { type: "string", description: "Phase name" },
        start_date: {
          type: "string",
          description: "Start date (YYYY-MM-DD)",
        },
        end_date: { type: "string", description: "End date (YYYY-MM-DD)" },
        owner_zpuid: { type: "string", description: "Owner user ZPUID" },
      },
      required: ["project_id", "name"],
    },

Latest Blog Posts

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/qpiai/zoho-projects-mcp'

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