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

# Conversation Context MCP Server

> Manage conversation context including reminders and archived message summaries.

## Summary

The Conversation Context MCP server provides comprehensive conversation management tools including scheduling one-time or recurring reminders and accessing archived message summaries. This unified server consolidates all conversation-specific context tools in one place.

## Authentication

This server requires a **conversation API key**. The key is automatically provided when tools are called within an Agentic Loop.

```bash theme={null}
curl https://app.chatbotplatform.io/mcp/conversation-context/call/list-reminders \
  -H "Authorization: Bearer conv_xxxxx..."
```

**Automatic in Agentic Loops:** When using this server within an Agentic Loop, the conversation API key is provided automatically - no manual setup required.

## Use Cases

### Setting Up Daily Reminders

**User:** "Remind me every weekday at 9am about standup"

**Tool calls:**

1. `create-reminder` - Schedule recurring reminder with cron expression "0 9 \* \* 1-5"

**Result:** Daily standup reminder created and will trigger Monday-Friday at 9am

***

### Recalling Past Conversations

**User:** "What did we talk about last week?"

**Tool calls:**

1. Time: `relative-time` with expression "last week" → Returns date range
2. `list-archives` - Fetch archives within that date range
3. `get-archive` - Retrieve specific archive summaries

**Result:** Summaries of conversations from last week

***

### Managing Reminders and Archives

**User:** "Show me my active reminders and recent conversation history"

**Tool calls:**

1. `list-reminders` with status "active"
2. `list-archives` with limit 10

**Result:** Complete view of scheduled reminders and recent conversation summaries

## Available Tools

### Reminders

#### create-reminder

Create a new reminder for the conversation.

| Parameter | Type | Required | Description |
| - | - | - | - |
| `message` | string | Yes | The reminder text, delivered to the conversation verbatim as a new user message when the reminder fires. Use it for a note to the user ("Remind me about x") or for an action the agent should perform then ("Do y for me") |
| `scheduled_at` | string | No\* | For one-time reminders: ISO 8601 datetime (e.g., "2026-12-25T09:00:00") |
| `cron_expression` | string | No\* | For recurring reminders: cron schedule (e.g., "0 9 \* \* 1-5") |
| `timezone` | string | No | Timezone for the schedule (IANA identifier, default: "UTC") |
| `auto_delete_message` | boolean | No | Auto-delete reminder message after sending (default: false) |

**Either/Or Requirement:** Provide **either** `scheduled_at` (one-time) **or** `cron_expression` (recurring), but not both.

**Example - One-Time:**

```
Input:
  message: "Team meeting"
  scheduled_at: "2026-02-05T14:00:00"
  timezone: "America/New_York"

Output:
  Reminder created successfully
  ID: 550e8400-e29b-41d4-a716-446655440000
  Type: One-time
  Scheduled for: 2026-02-05 14:00:00 EST
  Status: Active
```

**Example - Recurring:**

```
Input:
  message: "Daily standup"
  cron_expression: "0 9 * * 1-5"
  timezone: "America/Los_Angeles"
  auto_delete_message: true

Output:
  Reminder created successfully
  ID: 660e8400-e29b-41d4-a716-446655440000
  Type: Recurring
  Schedule: Every weekday at 9:00 AM PST
  Next run: 2026-02-05 09:00:00 PST
  Auto-delete: Enabled
```

**Common Cron Patterns:**

```
0 9 * * *       Daily at 9:00 AM
0 9 * * 1-5     Weekdays at 9:00 AM
0 */2 * * *     Every 2 hours
30 8 * * 1      Every Monday at 8:30 AM
0 0 1 * *       First day of month at midnight
```

***

#### list-reminders

List all reminders for the conversation.

| Parameter | Type | Required | Description |
| - | - | - | - |
| `status` | string | No | Filter by: "active", "paused", "completed", "failed" |
| `limit` | integer | No | Maximum reminders to return (1-100, default: 20) |

**Example:**

```
Input: status: "active"

Output:
  Active Reminders (3 results):

  | ID | Message | Type | Next Run | Status |
  |----|---------|------|----------|--------|
  | 550e84... | Team meeting | One-time | 2026-02-05 14:00 EST | active |
  | 660e84... | Daily standup | Recurring | 2026-02-05 09:00 PST | active |
  | 770e84... | Weekly report | Recurring | 2026-02-07 17:00 UTC | active |
```

***

#### get-reminder

Get full details of a specific reminder.

| Parameter | Type | Required | Description |
| - | - | - | - |
| `reminder_id` | string | Yes | The UUID of the reminder |

**Example:**

```
Input: reminder_id: "660e8400-e29b-41d4-a716-446655440000"

Output:
  Reminder Details:
  ID: 660e8400-e29b-41d4-a716-446655440000
  Message: Daily standup reminder
  Type: Recurring
  Cron: 0 9 * * 1-5 (Weekdays at 9:00 AM)
  Timezone: America/Los_Angeles (PST)
  Next Run: 2026-02-05 09:00:00 PST
  Last Run: 2026-02-04 09:00:00 PST
  Status: Active
```

***

#### update-reminder

Update an existing reminder.

| Parameter | Type | Required | Description |
| - | - | - | - |
| `reminder_id` | string | Yes | The UUID of the reminder to update |
| `message` | string | No | New reminder message |
| `scheduled_at` | string | No | New scheduled time (one-time reminders) |
| `cron_expression` | string | No | New cron expression (recurring) |
| `timezone` | string | No | New timezone |
| `status` | string | No | "active" to enable, "paused" to disable |

**Example:**

```
Input:
  reminder_id: "660e8400-e29b-41d4-a716-446655440000"
  status: "paused"

Output:
  Reminder updated successfully
  Status changed: active → paused
```

***

#### delete-reminder

Permanently delete a reminder.

| Parameter | Type | Required | Description |
| - | - | - | - |
| `reminder_id` | string | Yes | The UUID of the reminder to delete |

**Example:**

```
Input: reminder_id: "660e8400-e29b-41d4-a716-446655440000"

Output:
  Reminder deleted successfully
  ID: 660e8400-e29b-41d4-a716-446655440000
  Message: Daily standup reminder
```

***

### Archives

#### list-archives

List archived message summaries for the conversation.

| Parameter | Type | Required | Description |
| - | - | - | - |
| `start_date` | string | No | Filter from this date (YYYY-MM-DD) |
| `end_date` | string | No | Filter until this date (YYYY-MM-DD) |
| `limit` | integer | No | Maximum archives to return (1-100, default: 30) |

**Example:**

```
Input: limit: 10

Output:
  Recent Archives (10 results):

  | Date | Messages | Summary |
  |------|----------|---------|
  | 2026-02-03 | 15 | User asked about Python data analysis libraries... |
  | 2026-02-02 | 8 | User requested help with SQL query optimization... |
  | 2026-02-01 | 12 | Conversation about React component patterns... |
```

**Date Range Example:**

```
Input:
  start_date: "2026-01-15"
  end_date: "2026-01-31"

Output:
  Archives from 2026-01-15 to 2026-01-31 (12 results):
  [Archives ordered by date, newest first]
```

***

#### get-archive

Retrieve full details of a specific archive.

| Parameter | Type | Required | Description |
| - | - | - | - |
| `archive_id` | integer | No\* | The specific archive ID to retrieve |
| `date` | string | No\* | Fetch archive for a specific date (YYYY-MM-DD) |

**Either/Or Requirement:** Provide **either** `archive_id` **or** `date`, but not both.

**Example:**

```
Input: date: "2026-02-03"

Output:
  Archive for 2026-02-03:
  ID: 15789
  Date: 2026-02-03
  Messages: 15
  Created: 2026-02-04 00:05:00 UTC

  Summary:
  The user asked for recommendations on Python libraries for data analysis.
  We discussed several popular libraries:
  - pandas for data manipulation
  - NumPy for numerical computing
  - Matplotlib for visualization
  - Seaborn for statistical plots

  The user was particularly interested in pandas for CSV files.
  I provided code examples for reading CSVs and filtering data.
```

***

## Common Workflows

### Creating Quick Reminders

**1. Parse User Request**

Extract message, time, and timezone from natural language

**2. Create Reminder**

Use `create-reminder` with appropriate parameters

**3. Confirm**

Display confirmation with formatted details

### Recalling Past Context

**1. Get Date Range**

Use Time: `relative-time` to convert "last week" to dates

**2. List Archives**

Use `list-archives` with date range

**3. Retrieve Details**

Use `get-archive` for specific summaries

### Managing Reminders

**1. List Current Reminders**

Use `list-reminders` with status filter

**2. User Selects Action**

User identifies which reminder to modify

**3. Update or Delete**

Use `update-reminder` or `delete-reminder`

***

## Tips & Best Practices

### Reminders

* **Always specify timezone** when creating reminders (defaults to UTC)
* **Use ISO 8601 format** for `scheduled_at`: "2026-02-05T14:00:00"
* **Test cron expressions** before creating recurring reminders
* **Set auto\_delete\_message: true** for recurring reminders to keep conversation clean
* **Pause instead of delete** if user might want to re-enable later

### Archives

* **Use Time tools** to convert natural language dates to YYYY-MM-DD
* **List before getting** - Check what's available before retrieving specific archives
* **Date format is strict** - Must be YYYY-MM-DD (e.g., "2026-02-04")
* **Archives are summaries** - Original message text is not preserved
* **Recent conversations** may not have archives yet (generated periodically)

### Timezone Best Practices

Common timezone identifiers:

| Region | Identifier | Offset |
| - | - | - |
| US Eastern | America/New\_York | UTC-05:00 (EST) |
| US Central | America/Chicago | UTC-06:00 (CST) |
| US Pacific | America/Los\_Angeles | UTC-08:00 (PST) |
| UK | Europe/London | UTC+00:00 (GMT) |
| Central Europe | Europe/Paris | UTC+01:00 (CET) |
| Japan | Asia/Tokyo | UTC+09:00 (JST) |
| Australia | Australia/Sydney | UTC+10:00 (AEST) |

**Daylight Saving Time:** IANA timezone identifiers automatically handle DST transitions.

***

## Integration with Time Utilities

This server works seamlessly with the Time MCP server:

**Example - "Show me last month's archives":**

```
1. Time: relative-time("last month")
   → Returns: start: "2026-01-01", end: "2026-01-31"

2. list-archives(start_date: "2026-01-01", end_date: "2026-01-31")
   → Returns: All archives from January 2026
```

**Example - "Remind me tomorrow at 2pm":**

```
1. Time: now() with user's timezone
   → Get current date/time context

2. Time: today()
   → Get today's date, add 1 day

3. create-reminder(
     message: "...",
     scheduled_at: "2026-02-05T14:00:00",
     timezone: user_timezone
   )
```

***

## Error Handling

### Archive Not Found

**Error:** "No archive found for date 2026-02-04"

**Solution:**

* Use `list-archives` to see available dates
* Check if date is very recent (archives generated periodically)
* Verify date format is YYYY-MM-DD

### Invalid Date Format

**Error:** "Invalid date format"

**Solution:**

* Use Time: `relative-time` or `today` for proper formatting
* Ensure format is YYYY-MM-DD

### Reminder Not Found

**Error:** "Reminder not found"

**Solution:**

* Use `list-reminders` to verify reminder exists
* Check reminder\_id is correct UUID

### Unauthorized

**Error:** "Unauthorized"

**Solution:**

* Ensure MCP server is called within an Agentic Loop
* Verify conversation API key is valid

***

> [card] [API Reference](https://app.chatbotplatform.io/openapi)
>
> View the complete API specification for Conversation Context MCP server endpoints


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.