Skip to main content
Glama
qpiai

Zoho Projects MCP Server

by qpiai

update_project

Modify project details like name, description, dates, or status in Zoho Projects to keep project information current and accurate.

Instructions

Update an existing project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesProject ID
nameNoProject name
descriptionNoProject description
start_dateNoStart date (YYYY-MM-DD)
end_dateNoEnd date (YYYY-MM-DD)
statusNoProject status

Implementation Reference

  • Core handler function that executes the update_project tool: destructures params to get project_id and update data, sends PATCH request to Zoho Projects API endpoint, and returns formatted success response with API data.
    private async updateProject(params: any) { const { project_id, ...updateData } = params; const data = await this.makeRequest( `/portal/${this.config.portalId}/projects/${project_id}`, "PATCH", updateData ); return { content: [ { type: "text", text: `Project updated successfully:\n${JSON.stringify(data, null, 2)}`, }, ], }; }
  • Identical core handler function for update_project tool in the stdio server version.
    private async updateProject(params: any) { const { project_id, ...updateData } = params; const data = await this.makeRequest( `/portal/${this.config.portalId}/projects/${project_id}`, "PATCH", updateData ); return { content: [ { type: "text", text: `Project updated successfully:\n${JSON.stringify(data, null, 2)}`, }, ], }; }
  • Input schema definition for the update_project tool, specifying parameters like project_id (required), name, description, dates, and status.
    { name: "update_project", description: "Update an existing project", inputSchema: { type: "object", properties: { project_id: { type: "string", description: "Project ID" }, name: { type: "string", description: "Project name" }, description: { type: "string", description: "Project description" }, start_date: { type: "string", description: "Start date (YYYY-MM-DD)", }, end_date: { type: "string", description: "End date (YYYY-MM-DD)" }, status: { type: "string", description: "Project status", enum: ["active", "template", "archived"], }, }, required: ["project_id"], }, },
  • Tool dispatch/registration in the CallToolRequestSchema handler switch statement, routing 'update_project' calls to the updateProject method.
    return await this.createProject(params); case "update_project": return await this.updateProject(params); case "delete_project": return await this.deleteProject(params.project_id);
  • src/index.ts:566-570 (registration)
    Tool dispatch in stdio version's CallToolRequestSchema switch, calling updateProject for 'update_project'.
    case "update_project": return await this.updateProject(params); case "delete_project": return await this.deleteProject(params.project_id);

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