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
| Name | Required | Description | Default |
|---|---|---|---|
| project_gid | Yes | The project GID to get statuses for | |
| limit | No | Results per page (1-100) | |
| offset | No | Pagination offset token | |
| opt_fields | No | Comma-separated list of optional fields to include |
Implementation Reference
- src/tool-handler.ts:252-258 (handler)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"] } };
- src/tool-handler.ts:13-17 (registration)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';
- src/tool-handler.ts:38-61 (registration)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, ];
- src/tool-handler.ts:64-78 (registration)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' ];