Skip to main content
Glama
qpiai

Zoho Projects MCP Server

by qpiai

list_phases

Retrieve project phases and milestones from Zoho Projects to track project progress and organize work stages effectively.

Instructions

List phases/milestones from a project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number
per_pageNoItems per page
project_idYesProject ID

Implementation Reference

  • The core handler function for the 'list_phases' tool. It makes an authenticated API request to the Zoho Projects endpoint for phases in the specified project, paginated, and returns the JSON response as text content.
    private async listPhases( projectId: string, page: number = 1, perPage: number = 10 ) { const data = await this.makeRequest( `/portal/${this.config.portalId}/projects/${projectId}/phases?page=${page}&per_page=${perPage}` ); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }], };
  • The tool registration entry including name, description, and input schema (JSON Schema) for validating parameters: project_id (required), page, per_page.
    name: "list_phases", description: "List phases/milestones from a project", inputSchema: { type: "object", properties: { project_id: { type: "string", description: "Project ID" }, page: { type: "number", description: "Page number", default: 1 }, per_page: { type: "number", description: "Items per page", default: 10, }, }, required: ["project_id"], },
  • Registration in the CallToolRequestSchema handler switch statement that dispatches execution to the listPhases method.
    case "list_phases": return await this.listPhases(params.project_id, params.page, params.per_page);
  • Identical core handler function for the 'list_phases' tool in the stdio server variant.
    private async listPhases( projectId: string, page: number = 1, perPage: number = 10 ) { const data = await this.makeRequest( `/portal/${this.config.portalId}/projects/${projectId}/phases?page=${page}&per_page=${perPage}` ); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }], };
  • Identical tool registration and input schema in the stdio server variant.
    name: "list_phases", description: "List phases/milestones from a project", inputSchema: { type: "object", properties: { project_id: { type: "string", description: "Project ID" }, page: { type: "number", description: "Page number", default: 1 }, per_page: { type: "number", description: "Items per page", default: 10, }, }, 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