Skip to main content
Glama
qpiai

Zoho Projects MCP Server

by qpiai

delete_project

Remove a project by moving it to trash in Zoho Projects. Use this tool to delete projects when they are no longer needed.

Instructions

Delete a project (moves to trash)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesProject ID

Implementation Reference

  • The core handler function for the 'delete_project' tool. It makes a POST request to the Zoho Projects API trash endpoint to move the specified project to trash and returns a formatted success response with the API data.
    private async deleteProject(projectId: string) { const data = await this.makeRequest( `/portal/${this.config.portalId}/projects/${projectId}/trash`, "POST" ); return { content: [ { type: "text", text: `Project moved to trash successfully:\n${JSON.stringify(data, null, 2)}`, }, ], }; }
  • The input schema and metadata for the 'delete_project' tool, registered in the list of tools. Defines the required 'project_id' parameter.
    { name: "delete_project", description: "Delete a project (moves to trash)", inputSchema: { type: "object", properties: { project_id: { type: "string", description: "Project ID" }, }, required: ["project_id"], }, },
  • src/index.ts:568-570 (registration)
    The switch case in the CallToolRequestSchema handler that routes 'delete_project' tool calls to the deleteProject method.
    case "delete_project": return await this.deleteProject(params.project_id);
  • Identical handler implementation in the HTTP server variant.
    private async deleteProject(projectId: string) { const data = await this.makeRequest( `/portal/${this.config.portalId}/projects/${projectId}/trash`, "POST" ); return { content: [ { type: "text", text: `Project moved to trash successfully:\n${JSON.stringify(data, null, 2)}`, }, ], }; }
  • Identical schema definition in the HTTP server variant.
    name: "delete_project", description: "Delete a project (moves to trash)", inputSchema: { type: "object", properties: { project_id: { type: "string", description: "Project ID" }, }, required: ["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