Skip to main content
Glama

finalize_project

Mark a project as complete in the taskqueue-mcp server when all tasks are done and approved, finalizing the workflow in one step.

Instructions

Mark a project as complete. Can only be called when all tasks are both done and approved. This is typically the last step in a project workflow.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdYesThe ID of the project to finalize (e.g., proj-1).

Implementation Reference

  • The tool executor that implements the core logic for the 'finalize_project' tool. It validates the projectId argument and calls taskManager.approveProjectCompletion(projectId) to mark the project as complete.
    const finalizeProjectToolExecutor: ToolExecutor = { name: "finalize_project", async execute(taskManager, args) { // 1. Argument Validation const projectId = validateProjectId(args.projectId); // 2. Core Logic Execution const resultData = await taskManager.approveProjectCompletion(projectId); // 3. Return raw success data return resultData; }, };
  • Defines the Tool object for 'finalize_project' including its name, description, and inputSchema that requires a 'projectId' string.
    const finalizeProjectTool: Tool = { name: "finalize_project", description: "Mark a project as complete. Can only be called when all tasks are both done and approved. This is typically the last step in a project workflow.", inputSchema: { type: "object", properties: { projectId: { type: "string", description: "The ID of the project to finalize (e.g., proj-1).", }, }, required: ["projectId"], }, };
  • Registers the finalizeProjectToolExecutor in the toolExecutorMap used by the executeToolAndHandleErrors function.
    toolExecutorMap.set(finalizeProjectToolExecutor.name, finalizeProjectToolExecutor);
  • Includes the finalizeProjectTool in the exported ALL_TOOLS array for MCP tool registration.
    finalizeProjectTool,
Install Server

Other Tools

Related Tools

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/chriscarrollsmith/taskqueue-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server