Skip to main content
Glama
by cristip73

asana_delete_project_status

Remove project status updates from Asana to maintain accurate project tracking and clean up outdated information.

Instructions

Delete a project status update

Input Schema

NameRequiredDescriptionDefault
project_status_gidYesThe project status GID to delete

Input Schema (JSON Schema)

{ "properties": { "project_status_gid": { "description": "The project status GID to delete", "type": "string" } }, "required": [ "project_status_gid" ], "type": "object" }

Implementation Reference

  • Tool handler case statement that destructures the input parameter project_status_gid and delegates to AsanaClientWrapper.deleteProjectStatus
    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) }], }; }
  • Core implementation method in AsanaClientWrapper that performs the actual Asana API call to delete the project status using ProjectStatusesApi
    async deleteProjectStatus(statusId: string) { const response = await this.projectStatuses.deleteProjectStatus(statusId); return response.data; }
  • Tool schema definition 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"] } };
  • Registration of the tool in the main tools array export
    createProjectStatusTool, deleteProjectStatusTool,
  • Import of the deleteProjectStatusTool from project-status-tools for registration 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