# Get Source

`lawmatics_get-source` · Lawmatics MCP tool · Marketing Sources

Fetch a single marketing source from Lawmatics by ID, including name, description, color, UTM match string, spend frequency, tracking number, PNC count, and a `relationships` envelope of {id,type} pointers to related records (campaigns, prospects).

## Input

- **sourceId** `string` (required, pattern: ^\d+$) — ID of the marketing source to fetch; a numeric string

## Output

- **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
- **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 tool (e.g. type 'campaign' -> get-campaign, type 'prospect' -> get-matter).
  - **campaigns** `array` (required) — Marketing campaign pointers attributed to this source; 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
  - **prospects** `array` (required) — Prospect (matter) pointers attributed to this source; 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
