asana_get_project_status
Retrieve project status updates from Asana to monitor progress, track milestones, and stay informed about project developments.
Instructions
Get a project status update
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_status_gid | Yes | The project status GID to retrieve | |
| opt_fields | No | Comma-separated list of optional fields to include |
Implementation Reference
- src/tool-handler.ts:214-220 (handler)Handler case in tool_handler switch that destructures arguments and calls AsanaClientWrapper.getProjectStatus to retrieve the project status, then returns 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) }], }; }
- Tool definition with name, description, and input schema requiring project_status_gid and optional opt_fields.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:61-103 (registration)Registration of all tools including getProjectStatusTool in the exported tools array used by MCP.export const tools: Tool[] = [ listWorkspacesTool, searchProjectsTool, getProjectTool, getProjectTaskCountsTool, getProjectSectionsTool, createSectionForProjectTool, createProjectForWorkspaceTool, updateProjectTool, reorderSectionsTool, getProjectStatusTool, getProjectStatusesForProjectTool, createProjectStatusTool, deleteProjectStatusTool, searchTasksTool, getTaskTool, createTaskTool, updateTaskTool, createSubtaskTool, getMultipleTasksByGidTool, addTaskToSectionTool, getTasksForSectionTool, getProjectHierarchyTool, getSubtasksForTaskTool, getTasksForProjectTool, getTasksForTagTool, getTagsForWorkspaceTool, addTagsToTaskTool, addTaskDependenciesTool, addTaskDependentsTool, setParentForTaskTool, addFollowersToTaskTool, getStoriesForTaskTool, createTaskStoryTool, getTeamsForUserTool, getTeamsForWorkspaceTool, addMembersForProjectTool, addFollowersForProjectTool, getUsersForWorkspaceTool, getAttachmentsForObjectTool, uploadAttachmentForObjectTool, downloadAttachmentTool ];
- src/asana-client-wrapper.ts:614-617 (helper)AsanaClientWrapper method that wraps the Asana SDK ProjectStatusesApi.getProjectStatus call to retrieve project status data.async getProjectStatus(statusId: string, opts: any = {}) { const response = await this.projectStatuses.getProjectStatus(statusId, opts); return response.data; }