Skip to main content
Glama

asana_get_project_statuses

Retrieve all status updates for a specific Asana project to track progress and monitor project health.

Instructions

Get all status updates for a project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_gidYesThe project GID to get statuses for
limitNoResults per page (1-100)
offsetNoPagination offset token
opt_fieldsNoComma-separated list of optional fields to include

Implementation Reference

  • The switch case within the tool_handler function that executes the "asana_get_project_statuses" tool. It extracts project_gid and other options from arguments, calls the AsanaClientWrapper method, and returns the JSON-serialized response.
    case "asana_get_project_statuses": {
      const { project_gid, ...opts } = args;
      const response = await asanaClient.getProjectStatusesForProject(project_gid, opts);
      return {
        content: [{ type: "text", text: JSON.stringify(response) }],
      };
    }
  • Defines the Tool object for "asana_get_project_statuses" including name, description, and detailed inputSchema with properties for project_gid (required), limit, offset, and opt_fields.
    export const getProjectStatusesForProjectTool: Tool = {
      name: "asana_get_project_statuses",
      description: "Get all status updates for a project",
      inputSchema: {
        type: "object",
        properties: {
          project_gid: {
            type: "string",
            description: "The project GID to get statuses for"
          },
          limit: {
            type: "number",
            description: "Results per page (1-100)",
            minimum: 1,
            maximum: 100
          },
          offset: {
            type: "string",
            description: "Pagination offset token"
          },
          opt_fields: {
            type: "string",
            description: "Comma-separated list of optional fields to include"
          }
        },
        required: ["project_gid"]
      }
    };
  • Imports the getProjectStatusesForProjectTool (schema for asana_get_project_statuses) along with other project status tools.
      getProjectStatusTool,
      getProjectStatusesForProjectTool,
      createProjectStatusTool,
      deleteProjectStatusTool
    } from './tools/project-status-tools.js';
  • Registers getProjectStatusesForProjectTool in the all_tools array used to provide the list of 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,
    ];
  • Includes 'asana_get_project_statuses' in the READ_ONLY_TOOLS list, allowing it in read-only mode.
    const READ_ONLY_TOOLS = [
      'asana_list_workspaces',
      'asana_search_projects',
      'asana_search_tasks',
      'asana_get_task',
      'asana_get_task_stories',
      'asana_get_project',
      'asana_get_project_task_counts',
      'asana_get_project_status',
      'asana_get_project_statuses',
      'asana_get_project_sections',
      'asana_get_multiple_tasks_by_gid',
      'asana_get_tasks_for_tag',
      'asana_get_tags_for_workspace'
    ];

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