| name | asana-get-project-tasks |
| description | Use when you need Asana project tasks due or outstanding in the next 7 days, with task-level details and file output. |
Asana Get Project Tasks
Overview
Find the relevant Asana project, retrieve tasks that are due or outstanding in the next 7 days, and produce a project overview file with the required fields.
Required Workflow
- Confirm project context (project name, workspace/team, timezone if needed).
- Resolve project and fetch project metadata:
- Use
get_projects (or search_objects) to find candidate projects.
- If multiple matches, ask user to disambiguate.
- Use
get_project with selected project GID.
- Retrieve tasks in the selected project with date filtering:
- Use
get_tasks filtered by project and date window (today through day +7).
- Include tasks that are due in the next 7 days and outstanding items due in that same window.
- Retrieve per-task details:
- For each task GID from
get_tasks, call get_task to collect full details.
- Extract: task name, assignee, deadline, description, and link to task.
- Save the output to
outputs/asana/asana_project_overview_DATE.md (use YYYY-MM-DD for DATE).
MCP Usage Rules
- Use Asana MCP only for data retrieval.
- If project resolution returns multiple candidates, ask user to disambiguate.
- If fields are missing from Asana data, label them as
Not available.
- Do not invent task details if they are missing.
- Include only tasks that are due in the next 7 days or currently outstanding and due within that same 7-day window.
- Endpoint order must follow:
get_project (after resolving project GID),
get_tasks (project/date filter),
get_task (details per task).
- Do not stop after
get_project; task-level retrieval is mandatory.
Empty Results Handling
If get_tasks returns no items:
- Re-run
get_tasks once with the same project and an explicit date window (today to today+7) to validate filter behavior.
- If still empty, output a
## Tasks section that explicitly says No due or outstanding tasks found in the next 7 days.
- Still save the file in
outputs/asana/asana_project_overview_DATE.md.
Required Output Fields
For each task, include:
- Task name
- Assignee
- Deadline
- Description
- Link to task
Output Format
# Asana Project Overview - DATE
## Project
- Name: <project name>
- Workspace: <workspace name or Not available>
## Tasks
### <Task Name>
- Assignee: <name or Not available>
- Deadline: <YYYY-MM-DD or Not available>
- Description: <text or Not available>
- Link to Task: <url or Not available>
If no matching tasks exist, use:
## Tasks
No due or outstanding tasks found in the next 7 days.
Validation Gate
Before finishing, verify one of these is true:
- At least one task entry exists under
## Tasks, each with all required fields; or
- The explicit "No due or outstanding tasks..." message is present.
If neither is true, the result is incomplete and must be retried.
Completion Checklist