MCPMCP Tools/Clients/get_client_notifications

get_client_notifications

Readclients:read

Read a client's portal-notification settings: per row, separate bell (inApp) and email cells, each on/off with a location selection ("all" or location ids) on rows that can be about one location, and which layer each value comes from (default, agency, client, user, self). Pass clientUserId (an active portal user of this client) for the agency's settings for that person. list=users pages the client's active portal users; list=locations pages the locations selectable for the client or that user (cursor, limit up to 200, query; every page has a total). Also says whether it inherits agency defaults, whether the current user may edit, and whether client email can be sent (verified sending domain).

Parameters
clientUserIdstringoptional
list"users" | "locations"optional
cursorstringoptional
limitintegeroptional
querystringoptional
clientIdstringrequired
Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
Example request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_client_notifications",
    "arguments": {
      "clientId": "string"
    }
  }
}
Example response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

Response shape shown for illustration — the actual content depends on the tool and your data.