get_memberships_invitations

Read-only

Calls GET /api/memberships/invitations as the signed-in person · REST reference

The signed-in user's own pending invitations

One entry per organization that has invited the caller and not had an answer. Answers about the caller only — there is no user to name. A signup contact's pending ownership of their own organization is not an invitation and is not listed (the platform approves it).

Arguments

This tool takes no arguments.

Example call

A client sends this over the MCP session; Claude and other agents build it for you. The values are placeholders — the shape is real.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_memberships_invitations",
    "arguments": {}
  }
}

Result

On success (HTTP 200) the tool returns one text item holding the API's JSON, pretty-printed.

The caller's pending invitations; an empty list when there are none.

json
{
  "data": [
    {
      "groups": [],
      "orgId": "11111111-1111-4111-8111-111111111111",
      "orgName": "string",
      "invitedAt": 1,
      "invitedBy": {},
      "orgType": "string"
    }
  ],
  "success": true
}

Fields

FieldTypeDescription
dataarray of object
data[].groupsarray of object
data[].groups[].idstring (uuid)
data[].groups[].namestring
data[].groups[].typestring | null
data[].invitedAtnumber | nullEpoch milliseconds of the latest invitation into this organization.
data[].invitedByobject | null
data[].invitedBy.emailstring | null
data[].invitedBy.firstNamestring | null
data[].invitedBy.idstring (uuid)
data[].invitedBy.lastNamestring | null
data[].orgIdstring (uuid)
data[].orgNamestring
data[].orgTypestring | null
successtrue

When it fails

A failed call returns isError: true with the API's message as text.

What the model is shown

This is the tool exactly as the server lists it in tools/list. The description starts with the REST call it makes.

json
{
  "name": "get_memberships_invitations",
  "description": "GET /api/memberships/invitations — One entry per organization that has invited the caller and not had an answer. Answers about the caller only — there is no user to name. A signup contact's pending ownership of their own organization is not an invitation and is not listed (the platform approves it).",
  "inputSchema": {
    "type": "object",
    "properties": {}
  },
  "annotations": {
    "readOnlyHint": true,
    "openWorldHint": false
  }
}