Skip to main content
Glama
qpiai

Zoho Projects MCP Server

by qpiai

get_task

Retrieve detailed information about a specific task in Zoho Projects by providing the project ID and task ID to access task details and status.

Instructions

Get details of a specific task

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesProject ID
task_idYesTask ID

Implementation Reference

  • The handler function that executes the get_task tool by fetching task details from the Zoho Projects API endpoint and returning the JSON data as MCP-formatted text content.
    private async getTask(projectId: string, taskId: string) { const data = await this.makeRequest( `/portal/${this.config.portalId}/projects/${projectId}/tasks/${taskId}` ); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }], }; }
  • Input schema defining the required parameters project_id and task_id for the get_task tool.
    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:304-315 (registration)
    Tool registration in the MCP server's setTools call, specifying name, description, and input schema for get_task.
    { name: "get_task", description: "Get details of a specific 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:574-575 (registration)
    Dispatch logic in the CallToolRequestHandler switch statement that routes get_task invocations to the handler method.
    case "get_task": return await this.getTask(params.project_id, params.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