asana_get_project_status
Retrieve project status updates from Asana to monitor progress and track milestones using the MCP server for Asana operations.
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:244-250 (handler)The dispatch handler for the 'asana_get_project_status' tool. It destructures the input arguments (project_status_gid and opts), 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) }], }; }
- Tool definition including name, description, and input schema specifying required 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:84-86 (registration)Exports the list of available tools (list_of_tools), which includes the asana_get_project_status tool depending on read-only mode. The tool is included in all_tools and READ_ONLY_TOOLS.export const list_of_tools = isReadOnlyMode ? all_tools.filter(tool => READ_ONLY_TOOLS.includes(tool.name)) : all_tools;
- src/tool-handler.ts:13-17 (registration)Imports the getProjectStatusTool from project-status-tools.ts for registration in the tool handler.getProjectStatusTool, getProjectStatusesForProjectTool, createProjectStatusTool, deleteProjectStatusTool } from './tools/project-status-tools.js';
- src/asana-client-wrapper.ts:252-255 (helper)Helper method in AsanaClientWrapper that wraps the Asana SDK call to retrieve project status by GID.async getProjectStatus(statusId: string, opts: any = {}) { const response = await this.projectStatuses.getProjectStatus(statusId, opts); return response.data; }