asana_delete_project_status
Remove outdated or incorrect project status updates from Asana to maintain accurate project tracking and reporting.
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)Handler function case that executes the tool: extracts project_status_gid from input arguments, calls AsanaClientWrapper.deleteProjectStatus, and returns 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 tool's metadata (name, description) and input schema, requiring a project_status_gid string.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:38-61 (registration)Includes the deleteProjectStatusTool in the all_tools array, which is exported (possibly filtered) as list_of_tools for the MCP server to list available tools.const all_tools: Tool[] = [ listWorkspacesTool, searchProjectsTool, searchTasksTool, getTaskTool, createTaskTool, getStoriesForTaskTool, updateTaskTool, getProjectTool, getProjectTaskCountsTool, getProjectSectionsTool, createTaskStoryTool, addTaskDependenciesTool, addTaskDependentsTool, createSubtaskTool, getMultipleTasksByGidTool, getProjectStatusTool, getProjectStatusesForProjectTool, createProjectStatusTool, deleteProjectStatusTool, setParentForTaskTool, getTasksForTagTool, getTagsForWorkspaceTool, ];
- src/asana-client-wrapper.ts:268-271 (helper)AsanaClientWrapper helper method that wraps the Asana SDK ProjectStatusesApi.deleteProjectStatus call, returning the response data.async deleteProjectStatus(statusId: string) { const response = await this.projectStatuses.deleteProjectStatus(statusId); return response.data; }
- src/tool-handler.ts:13-17 (registration)Imports the deleteProjectStatusTool from project-status-tools for inclusion in the tools list and handler dispatch.getProjectStatusTool, getProjectStatusesForProjectTool, createProjectStatusTool, deleteProjectStatusTool } from './tools/project-status-tools.js';