Home / Servers / Asana API / get_task_counts_for_project
Get task count of a project
An MCP tool from the Asana API server, hosted on mcp.hjlabs.in.
Get task count of a project Required scope: projects:read Field Required Scope team teams:read custom_type custom_types:read Get an object that holds task count fields. **All fields are excluded by default**. You must opt in… [GET /projects/{project_gid}/task_counts]
Name on the gateway: asana_api__get_task_counts_for_project · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
project_gid required | string | Globally unique identifier for the project. |
opt_pretty | boolean | Provides “pretty” output. Provides the response in a “pretty” format. In the… |
opt_fields | array | This endpoint returns a resource which excludes some properties by default. To… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "asana_api__get_task_counts_for_project",
"arguments": {
"project_gid": "…"
}
}Or connect the Asana API server directly, which lists 270 tools including this one:
claude mcp add --transport http hj-asana-api https://mcp.hjlabs.in/mcp/asana-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the get task count of a project tool with project_gid set to ….