> ## Documentation Index
> Fetch the complete documentation index at: https://www.thred.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP Tools Reference

> Find parameter contracts and example payloads for each available tool.

## `get_transcript_by_email`

Return a full, turn-by-turn transcript using customer email.

### Input

| Field   | Type           | Required | Description            |
| ------- | -------------- | -------- | ---------------------- |
| `email` | string (email) | Yes      | Customer email address |

### Example

```json theme={null}
{
  "email": "sarah@example.com"
}
```

## `get_transcript_by_id`

Look up a complete transcript by Thred customer ID.

### Input

| Field        | Type   | Required | Description       |
| ------------ | ------ | -------- | ----------------- |
| `customerId` | string | Yes      | Thred customer ID |

### Example

```json theme={null}
{
  "customerId": "k17f5j9m8k7j5n4m3k2j1h0g9f8e7d6c"
}
```

## `get_customer_insights`

Summarize buying signals, concerns, competitors, and suggested actions for one customer.

### Input

Provide at least one of `email` or `customerId`.

| Field        | Type           | Required | Description       |
| ------------ | -------------- | -------- | ----------------- |
| `email`      | string (email) | No       | Customer email    |
| `customerId` | string         | No       | Thred customer ID |

### Examples

```json theme={null}
{
  "email": "sarah@example.com"
}
```

```json theme={null}
{
  "customerId": "k17f5j9m8k7j5n4m3k2j1h0g9f8e7d6c"
}
```

## `get_insights_by_company`

List matched customers for a company along with conversation summaries and insight blocks.

### Input

| Field         | Type   | Required | Description                             |
| ------------- | ------ | -------- | --------------------------------------- |
| `companyName` | string | Yes      | Company name (fuzzy matching supported) |

### Example

```json theme={null}
{
  "companyName": "TechCorp"
}
```

## `get_recent_customers`

Return the latest customer conversations with optional platform and date-range filters.

### Input

| Field       | Type      | Required | Description                                              |
| ----------- | --------- | -------- | -------------------------------------------------------- |
| `platforms` | string\[] | No       | Platform filters (`chatgpt`, `claude`, `gemini`, `pplx`) |
| `limit`     | number    | No       | Results to return (default `3`, max `50`)                |
| `startDate` | number    | No       | Unix timestamp in milliseconds                           |
| `endDate`   | number    | No       | Unix timestamp in milliseconds                           |

### Example

```json theme={null}
{
  "platforms": ["chatgpt", "claude"],
  "limit": 10,
  "startDate": 1739913600000,
  "endDate": 1740000000000
}
```

## `check_backend_health`

Confirm the Thred backend is reachable before running deeper queries.

### Input

No input fields.
