Home / Servers / Asana API / get_team_memberships_for_user

Get memberships from a user

An MCP tool from the Asana API server, hosted on mcp.hjlabs.in.

Get memberships from a user Required scope: team_memberships:read Returns the compact team membership records for the user. [GET /users/{user_gid}/team_memberships]

Name on the gateway: asana_api__get_team_memberships_for_user · read-only.

Parameters

NameTypeDescription
user_gid requiredstringA string identifying a user. This can either be the string…
opt_prettybooleanProvides “pretty” output. Provides the response in a “pretty” format. In the…
limitintegerResults per page. The number of objects to return per page. The value must be…
offsetstringOffset token. An offset to the next page returned by the API. A pagination…
workspace requiredstringGlobally unique identifier for the workspace.
opt_fieldsarrayThis 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:

call_tool arguments
{
  "name": "asana_api__get_team_memberships_for_user",
  "arguments": {
    "user_gid": "…",
    "workspace": "…"
  }
}

Or connect the Asana API server directly, which lists 270 tools including this one:

Run in your terminal
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 memberships from a user tool with user_gid set to ….

More from Asana API