Skip to main content
Glama

asana_get_project_status

Retrieve project status updates from Asana using the project status GID to monitor progress and track completion metrics.

Instructions

Get a project status update

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
opt_fieldsNoComma-separated list of optional fields to include
project_status_gidYesThe project status GID to retrieve

Implementation Reference

  • The handler logic for the 'asana_get_project_status' MCP tool. It destructures input arguments, calls the AsanaClientWrapper's getProjectStatus method, and returns the JSON-stringified response.
    case "asana_get_project_status": { const { project_status_gid, ...opts } = args; const response = await asanaClient.getProjectStatus(project_status_gid, opts); return { content: [{ type: "text", text: JSON.stringify(response) }], }; }
  • The schema definition (Tool object) for the 'asana_get_project_status' tool, including input schema for MCP validation.
    export const getProjectStatusTool: Tool = { name: "asana_get_project_status", description: "Get a project status update", inputSchema: { type: "object", properties: { project_status_gid: { type: "string", description: "The project status GID to retrieve" }, opt_fields: { type: "string", description: "Comma-separated list of optional fields to include" } }, required: ["project_status_gid"] } };
  • Import of the getProjectStatusTool for registration in the MCP tools list.
    getProjectStatusTool, getProjectStatusesForProjectTool, createProjectStatusTool, deleteProjectStatusTool } from './tools/project-status-tools.js';
  • Registration of getProjectStatusTool in the all_tools array used for MCP tool list.
    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, ];
  • Helper method in AsanaClientWrapper that wraps the Asana SDK call to getProjectStatus, used by the tool handler.
    async getProjectStatus(statusId: string, opts: any = {}) { const response = await this.projectStatuses.getProjectStatus(statusId, opts); return response.data; }

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