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);

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It merely states 'update' without explaining mutation semantics, permission requirements, reversibility, or error behavior. This is insufficient for a write operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, concise sentence that gets straight to the point. It is front-loaded and contains no unnecessary words, making it highly efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no annotations and no output schema, a one-sentence description is insufficient. It fails to clarify whether this is a partial update or a full replacement, or what happens when the project doesn't exist. The schema helps but does not cover these behavioral aspects.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema covers 100% of parameters with descriptions, so the baseline is 3. The description adds no parameter-specific information, but the schema already documents each field adequately.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Update an existing project' has a specific verb (update) and resource (project). It clearly distinguishes from sibling tools like create_project, delete_project, get_project, and list_projects by the action it performs.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It does not mention prerequisites, exclusions, or any context that would help an agent decide between update_project and other project-related tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.