Skip to main content
Glama
cristip73

MCP Server for Asana

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';

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the burden of indicating the destructive nature. It explicitly says 'Delete', which conveys the core behavior, but it does not disclose permanence, side effects, or required permissions. Minimal but acceptable.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single, clear, and concise sentence. Every word earns its place with no redundant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple delete operation with one parameter and no output schema, the description is functionally adequate but lacks any context about irreversibility, errors, or expected behavior after deletion. It meets minimum viability but doesn't enrich the agent's understanding.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, and the parameter 'project_status_gid' is clearly described as 'The project status GID to delete'. The description adds no extra semantic detail beyond the schema, but none is needed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Delete a project status update' uses a specific verb and resource, clearly distinguishing it from sibling tools like get and create project status. It leaves no ambiguity about the tool's function.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided about when to use this tool versus alternatives. There is no mention of prerequisites, scenarios for deletion, or warnings about irreversible actions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.