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
| Name | Required | Description | Default |
|---|---|---|---|
| opt_fields | No | Comma-separated list of optional fields to include | |
| project_status_gid | Yes | The project status GID to retrieve |
Implementation Reference
- src/tool-handler.ts:244-250 (handler)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"] } };
- src/tool-handler.ts:13-17 (registration)Import of the getProjectStatusTool for registration in the MCP tools list.getProjectStatusTool, getProjectStatusesForProjectTool, createProjectStatusTool, deleteProjectStatusTool } from './tools/project-status-tools.js';
- src/tool-handler.ts:38-61 (registration)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, ];
- src/asana-client-wrapper.ts:252-255 (helper)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; }