Skip to main content
Glama
cristip73
by cristip73

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

  • The main tool handler switch case that processes the tool call, extracts the project_status_gid parameter, calls the AsanaClientWrapper's deleteProjectStatus method, and returns the JSON 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) }], }; }
  • The AsanaClientWrapper method that performs the actual Asana API deletion by calling the SDK's ProjectStatusesApi.deleteProjectStatus.
    async deleteProjectStatus(statusId: string) { const response = await this.projectStatuses.deleteProjectStatus(statusId); return response.data; }
  • Defines the tool's metadata including name, description, and input schema requiring 'project_status_gid'.
    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 exported tools array for MCP registration.
    deleteProjectStatusTool,
  • Imports the deleteProjectStatusTool from project-status-tools for use in tool-handler.
    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/cristip73/mcp-server-asana'

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