# List Sources

`lawmatics_list-sources` · Lawmatics MCP tool · Marketing Sources

List marketing sources from Lawmatics with optional pagination and sorting.

## Input

- **page** `integer` (> 0) — Page number (1-based)
- **sortBy** `string` (enum: "id", "created_at", "updated_at", "name") — Column to sort by
- **sortOrder** `string` (enum: "asc", "desc") — Sort direction; ascending or descending

## Output

- **sources** `array` (required) — Marketing sources on this page of results
  - **[]** `object`
    - **id** `string` (required) — Lawmatics marketing source ID
    - **name** `string` (required) — Marketing source name (e.g. Facebook, Google, Referrals)
    - **description** `string | null` (required) — Free-text description of the marketing source; null if unset
    - **color** `string | null` (required) — Display color for the source as a hex string (e.g. #F70303); null if unset
    - **utmMatch** `string | null` (required) — UTM parameter match string used to attribute traffic to this source; null if unset
    - **spendFrequency** `string | null` (required) — How often ad spend is tracked for this source (e.g. weekly); null if unset
    - **trackingNumber** `string | null` (required) — Phone tracking number associated with this source; null if not reported
    - **pncCount** `number | null` (required) — Count of PNCs (potential new clients) attributed to this source; null if not reported
    - **createdAt** `string` (required) — When the marketing source was created, as an ISO 8601 timestamp
    - **updatedAt** `string` (required) — When the marketing source was last updated, as an ISO 8601 timestamp
- **pagination** `object | null` (required) — Pagination metadata from the API response; null when the endpoint returns no meta envelope
  - **totalPages** `number | null` (required) — Total number of pages available; null if not reported
  - **limitPerPage** `number | null` (required) — Maximum marketing sources returned per page; null if not reported
  - **totalEntries** `number | null` (required) — Total marketing sources across all pages; null if not reported
