Home / Servers / Asana API / update_goal_metric
Update a goal metric
An MCP tool from the Asana API server, hosted on mcp.hjlabs.in.
Update a goal metric Updates a goal's existing metric's current_number_value if one exists, otherwise responds with a 400 status code. Returns the complete updated goal metric record. [POST /goals/{goal_gid}/setMetricCurrentValue]
Name on the gateway: asana_api__update_goal_metric · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
goal_gid required | string | Globally unique identifier for the goal. |
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… |
data | object | A generic Asana Resource, containing a globally unique identifier. |
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__update_goal_metric",
"arguments": {
"goal_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 update a goal metric tool with goal_gid set to ….