Skip to main content
Glama

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
NameRequiredDescriptionDefault
project_status_gidYesThe project status GID to delete

Implementation Reference

  • 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"] } };
  • 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, ];
  • 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; }
  • 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';

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/roychri/mcp-server-asana'

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