Home / Servers / Asana API / get_goals
Get goals
An MCP tool from the Asana API server, hosted on mcp.hjlabs.in.
Get goals Required scope: goals:read Returns compact goal records. [GET /goals]
Name on the gateway: asana_api__get_goals · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
opt_pretty | boolean | Provides “pretty” output. Provides the response in a “pretty” format. In the… |
portfolio | string | Globally unique identifier for supporting portfolio. |
project | string | Globally unique identifier for supporting project. |
task | string | Globally unique identifier for supporting task. |
is_workspace_level | boolean | Filter to goals with is_workspace_level set to query value. Must be used with… |
team | string | Globally unique identifier for the team. |
workspace | string | Globally unique identifier for the workspace. |
time_periods | array | Globally unique identifiers for the time periods. |
limit | integer | Results per page. The number of objects to return per page. The value must be… |
offset | string | Offset token. An offset to the next page returned by the API. A pagination… |
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_goals",
"arguments": {}
}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 goals tool with opt_pretty set to ….