Skip to main content
Glama
qpiai

Zoho Projects MCP Server

by qpiai

delete_task

Remove tasks from Zoho Projects by specifying project and task IDs to maintain organized project workflows and eliminate completed or unnecessary items.

Instructions

Delete a task

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesProject ID
task_idYesTask ID

Implementation Reference

  • Executes DELETE request to Zoho Projects API to delete the specified task in a project, returns formatted success response.
    private async deleteTask(projectId: string, taskId: string) { const data = await this.makeRequest( `/portal/${this.config.portalId}/projects/${projectId}/tasks/${taskId}`, "DELETE" ); return { content: [ { type: "text", text: `Task deleted successfully:\n${JSON.stringify(data, null, 2)}`, }, ], }; }
  • Defines the input schema for the delete_task tool, requiring project_id and task_id as strings.
    name: "delete_task", description: "Delete a task", inputSchema: { type: "object", properties: { project_id: { type: "string", description: "Project ID" }, task_id: { type: "string", description: "Task ID" }, }, required: ["project_id", "task_id"], }, },
  • src/index.ts:580-581 (registration)
    Registers the tool handler dispatch in the CallToolRequestSchema switch statement.
    case "delete_task": return await this.deleteTask(params.project_id, params.task_id);
  • Identical handler implementation in the HTTP server variant.
    private async deleteTask(projectId: string, taskId: string) { const data = await this.makeRequest( `/portal/${this.config.portalId}/projects/${projectId}/tasks/${taskId}`, "DELETE" ); return { content: [ { type: "text", text: `Task deleted successfully:\n${JSON.stringify(data, null, 2)}`, }, ], }; }
  • Identical schema definition in the HTTP server variant.
    name: "delete_task", description: "Delete a task", inputSchema: { type: "object", properties: { project_id: { type: "string", description: "Project ID" }, task_id: { type: "string", description: "Task ID" }, }, required: ["project_id", "task_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