asana_delete_project_status
Remove project status updates from Asana to maintain accurate project tracking and eliminate outdated information.
Instructions
Delete a project status update
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_status_gid | Yes | The project status GID to delete |
Implementation Reference
- src/tool-handler.ts:268-274 (handler)Executes the tool by extracting project_status_gid from input arguments, calling AsanaClientWrapper.deleteProjectStatus, and returning the JSON-stringified response.case "asana_delete_project_status": { const { project_status_gid } = args; const response = await asanaClient.deleteProjectStatus(project_status_gid); return { content: [{ type: "text", text: JSON.stringify(response) }], }; }
- Defines the MCP Tool object with name, description, and inputSchema for validating the required project_status_gid parameter.export const deleteProjectStatusTool: Tool = { name: "asana_delete_project_status", description: "Delete a project status update", inputSchema: { type: "object", properties: { project_status_gid: { type: "string", description: "The project status GID to delete" } }, required: ["project_status_gid"] } };
- src/tool-handler.ts:54-62 (registration)Registers the deleteProjectStatusTool by including it in the all_tools array (lines 38-62), which is conditionally filtered and exported as list_of_tools.getProjectStatusTool, getProjectStatusesForProjectTool, createProjectStatusTool, deleteProjectStatusTool, setParentForTaskTool, getTasksForTagTool, getTagsForWorkspaceTool, ];
- src/asana-client-wrapper.ts:268-271 (helper)Helper method in AsanaClientWrapper that wraps the Asana SDK call to delete the project status via ProjectStatusesApi.async deleteProjectStatus(statusId: string) { const response = await this.projectStatuses.deleteProjectStatus(statusId); return response.data; }