# Get User

`lawmatics_get-user` · Lawmatics MCP tool · Users

Fetch a single user from Lawmatics by ID, including their name, email, role, sign-in count, profile picture URL, and a `relationships` envelope of {id,type} pointers to related records (current firm, inviting user, and all firms the user belongs to).

## Input

- **userId** `string` (required, pattern: ^\d+$) — ID of the user to fetch; a numeric string (e.g. '17')

## Output

- **id** `string` (required) — Lawmatics user ID
- **name** `string` (required) — User's full name (combined first and last name)
- **email** `string` (required) — User's email address
- **role** `string` (required) — User's role in the firm, returned verbatim from Lawmatics (casing varies by endpoint)
- **signInCount** `number | null` (required) — Number of times the user has signed in; null if not reported
- **profilePicUrl** `string | null` (required) — Absolute URL of the user's profile picture; null if unset
- **createdAt** `string` (required) — When the user was created, as an ISO 8601 timestamp
- **updatedAt** `string` (required) — When the user was last updated, as an ISO 8601 timestamp
- **relationships** `object` (required) — JSON:API relationship pointers to related records as {id,type} stubs. Not materialized — follow a pointer by calling that resource's own get tool (e.g. type 'user' -> get-user).
  - **currentFirm** `object | null` (required) — Pointer to the firm this user is currently operating in (type 'firm'); null when unset
    - **id** `string` (required) — ID of the referenced Lawmatics record
    - **type** `string` (required) — JSON:API record class of the reference (e.g. "user", "contact", "prospect", "firm"); resolve it by calling that resource's own get/find tool — this pointer is not materialized
  - **invitedBy** `object | null` (required) — Pointer to the user who invited this user (type 'user'); null for the founding user or when unset
    - **id** `string` (required) — ID of the referenced Lawmatics record
    - **type** `string` (required) — JSON:API record class of the reference (e.g. "user", "contact", "prospect", "firm"); resolve it by calling that resource's own get/find tool — this pointer is not materialized
  - **firms** `array` (required) — Pointers to every firm this user belongs to (type 'firm'); empty if none
    - **[]** `object`
      - **id** `string` (required) — ID of the referenced Lawmatics record
      - **type** `string` (required) — JSON:API record class of the reference; resolve it by calling that resource's own tool
