> **Building with AI coding agents?** Install the authstack plugin with one command. This equips your agent with accurate Scalekit implementation patterns.
>
> **Recommended** (the `-y` flags skip prompts, so the command runs without an interactive terminal):
> ```bash
> npx -y @scalekit-inc/cli setup -y
> ```
>
> Global:
> ```bash
> npm install -g @scalekit-inc/cli
> scalekit setup -y
> ```
>
> Supports Claude Code, Cursor, GitHub Copilot, Codex + skills for other Agent Skills-compatible agents in `~/.agents/skills`.
> Skills: integrate-agentkit, implement-saaskit, add-mcp-oauth, implement-sso, implement-scim.
> [Full setup guide](https://docs.scalekit.com/dev-kit/build-with-ai/)

---

# Connect AI agents to the Clarify MCP server

The Clarify MCP connector routes your AI agent's tool calls to Clarify's own MCP server through Scalekit. Each user signs in to Clarify once, and Scalekit stores and refreshes their tokens, so your agent never handles credentials. It comes with 38 tools.

**Authentication:** OAuth 2.1/DCR
**Categories:** CRM & Sales, Productivity, Analytics
**Tools:** 38: 12 read, 11 write, 15 destructive
**Users sign in with:** OAuth
**OAuth app:** Scalekit's or your own
**Built by:** Vendor MCP
**Try it:** [Playground in the Scalekit dashboard](https://app.scalekit.com/ws/signup?sk_intent=playground&provider=CLARIFYMCP)

## What you can do

- **Manage CRM records**: create, update, delete, and query records across any custom object type
- **Manage campaigns**: create, update, delete, and list outreach campaigns with multi-step email sequences
- **Find and import leads**: search for leads by criteria and import them into campaigns or lists
- **Manage lists and segments**: create, update, delete, and list audience lists for targeting
- **Extend the data model**: create, update, and delete custom objects and fields to match your schema
- **Analyze and query data**: run analytics queries and retrieve structured data with custom filters

## Setup

1. ### Install the SDK

   **Node.js**

   ```bash
   npm install @scalekit-sdk/node dotenv
   ```

   **Python**

   ```bash
   pip install scalekit-sdk-python python-dotenv
   ```

2. ### Set your credentials

   Add your Scalekit credentials to your `.env` file. Find values in **[app.scalekit.com](https://app.scalekit.com)** > **Developers** > **API Credentials**.

   ```sh title=".env"
   SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
   SCALEKIT_CLIENT_ID=<your-client-id>
   SCALEKIT_CLIENT_SECRET=<your-client-secret>
   ```

3. ### Create the Clarify MCP connection

   In **AgentKit > Connections**, create a Clarify MCP connection. The name you give it is the `connection_name` your code passes. See [Configure connections](/agentkit/connections/).

   Scalekit credentials are available for Clarify MCP server, so you don't need to register an OAuth app.

4. ### Authorize a user and make your first call

   **Node.js** (`quickstart.mts`)

   ```typescript
   import { ScalekitClient } from '@scalekit-sdk/node'
   import 'dotenv/config'
   import { createInterface } from 'node:readline/promises'

   const scalekit = new ScalekitClient(
     process.env.SCALEKIT_ENVIRONMENT_URL,
     process.env.SCALEKIT_CLIENT_ID,
     process.env.SCALEKIT_CLIENT_SECRET,
   )
   const actions = scalekit.actions

   const connector = 'clarifymcp'
   const identifier = 'user_123'

   // Generate an authorization link for the user
   const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
   console.log('Authorize Clarify MCP:', link)
   const rl = createInterface({ input: process.stdin, output: process.stdout })
   await rl.question('Press Enter after authorizing...')
   rl.close()

   // Make your first call
   const result = await actions.executeTool({
     connector,
     identifier,
     toolName: 'clarifymcp_get_current_user',
     toolInput: {},
   })
   console.log(result)
   ```

   ```bash
   npx tsx quickstart.mts
   ```

   **Python** (`quickstart.py`)

   ```python
   import os
   from scalekit import ScalekitClient
   from dotenv import load_dotenv
   load_dotenv()

   scalekit_client = ScalekitClient(
       env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),
       client_id=os.getenv("SCALEKIT_CLIENT_ID"),
       client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),
   )
   actions = scalekit_client.actions

   connection_name = "clarifymcp"
   identifier = "user_123"

   # Generate an authorization link for the user
   link_response = actions.get_authorization_link(
       connection_name=connection_name,
       identifier=identifier,
   )
   print("Authorize Clarify MCP:", link_response.link)
   input("Press Enter after authorizing...")

   # Make your first call
   result = actions.execute_tool(
       tool_input={},
       tool_name="clarifymcp_get_current_user",
       connection_name=connection_name,
       identifier=identifier,
   )
   print(result)
   ```

   ```bash
   python quickstart.py
   ```

   Each user signs in once. See [Authorize a user](/agentkit/tools/authorize/) for the full flow and statuses.

## Tools

Pass the exact name to `execute_tool`, with an input like each tool's example. To ask for a tool that's missing, use the [request form](https://scalekitsupport.portal.usepylon.com/forms/request-a-connector-tool).

**Node.js**

```typescript
const result = await actions.executeTool({
  toolName: 'clarifymcp_get_agent_runs',
  toolInput: {
    agent_id: '<agent_id>',
  },
  connector: 'clarifymcp',
  identifier: 'user_123',
})
```

**Python**

```python
result = actions.execute_tool(
    tool_name="clarifymcp_get_agent_runs",
    tool_input={
        "agent_id": "<agent_id>",
    },
    connection_name="clarifymcp",
    identifier="user_123",
)
```

`result.data` is the app's response as JSON, and `result.execution_id` (`executionId` in Node.js) is the ID of the call.

### `clarifymcp_get_agent_runs`

Get Agent Runs · Read-only

List an agent's past runs, or fetch one run with its full message transcript.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `agent_id` (`string`, required): The ID of the agent whose runs to list or fetch.
- `limit` (`integer`, optional): Maximum number of runs to return when listing. Default: `10`.
- `offset` (`integer`, optional): Offset for pagination when listing. Default: `0`.
- `run_id` (`string`, optional): Optional ID of a specific run to fetch in full, including transcript. Omit to list recent runs.

Example input: `{"agent_id":"<agent_id>"}`

### `clarifymcp_get_agents`

Get Agents · Read-only

List agents visible to the current user, or fetch a single agent by ID.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `agentId` (`string`, optional): The ID of a specific agent to fetch. Omit to list all visible agents.

Example input: `{}`

### `clarifymcp_get_calendar_events`

Get Calendar Events · Read-only

List the current user's calendar events in a time range.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `end` (`string`, required): ISO 8601 end of the time range (exclusive).
- `start` (`string`, required): ISO 8601 start of the time range (inclusive).
- `limit` (`integer`, optional): Maximum events to return. Default: `25`.
- `query` (`string`, optional): Optional substring match against event title or description.

Example input: `{"end":"<end>","start":"<start>"}`

### `clarifymcp_get_campaign_recipients`

Get Campaign Recipients · Read-only

List the people enrolled in a campaign along with their per-recipient engagement (opens, clicks, replies).

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `campaign_id` (`string`, required): The ID of the campaign to list recipients for. Get it from get_campaigns.
- `event` (`array`, optional): Return only recipients who did at least one of these event types.
- `limit` (`number`, optional): Maximum number of recipients to return. Default: `10`.
- `offset` (`number`, optional): Use with limit for pagination. Default: `0`.
- `search` (`string`, optional): Case-insensitive substring match against recipient name or email address.
- `status` (`string`, optional): Return only recipients in this delivery state. One of: `scheduled`, `completed`, `paused`, `failed`, `unsubscribed`.

Example input: `{"campaign_id":"<campaign_id>"}`

### `clarifymcp_get_campaigns`

Get Campaigns · Read-only

List email campaigns in the workspace, or fetch a single campaign by ID with full details.

Read only: yes. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `campaign_id` (`string`, optional): The ID of the campaign. Use get_campaigns to list available campaigns and their IDs.
- `limit` (`number`, optional): Maximum number of records to return per page. Default: `10`.
- `offset` (`number`, optional): Number of records to skip for pagination (use with limit). Default: `0`.
- `search` (`string`, optional): Case-insensitive substring search to filter results by name or title.
- `status` (`string`, optional): Filter by campaign status — draft (unpublished) or active (live campaigns). One of: `active`, `draft`.

Example input: `{}`

### `clarifymcp_get_current_user`

Get Current User · Read-only

Retrieve information about the currently authenticated Clarify user, including timezone and workspace details.

Read only: yes. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `mcp_client_timezone` (`string`, optional): Your IANA timezone string (e.g. America/New_York). Helps Clarify show times in your local timezone.

Example input: `{}`

### `clarifymcp_get_lists`

Get Lists · Read-only

List saved views (dynamic lists) for an entity type, or fetch a single list by ID.

Read only: yes. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `entity` (`string`, required): The entity type to operate on (e.g. person, company, deal, or a custom object identifier like c_my_object).
- `limit` (`number`, optional): Maximum number of records to return per page. Default: `10`.
- `list_id` (`string`, optional): The ID of an existing list (saved view). Use get_lists to find available list IDs.
- `offset` (`number`, optional): Number of records to skip for pagination (use with limit). Default: `0`.
- `search` (`string`, optional): Case-insensitive substring search to filter results by name or title.

Example input: `{"entity":"<entity>"}`

### `clarifymcp_get_records`

Get Records · Read-only

Retrieve full details for one or more Clarify records by their IDs.

Read only: yes. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `entity` (`string`, required): The entity type to operate on (e.g. person, company, deal, or a custom object identifier like c_my_object).
- `ids` (`array`, required): Array of record IDs to retrieve. Use query_data to find IDs first.

Example input: `{"entity":"<entity>","ids":[]}`

### `clarifymcp_get_schema`

Get Schema · Read-only

Retrieve the schema for Clarify entities, including field definitions and relationship metadata.

Read only: yes. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `entities` (`array`, optional): List of entity types to get schema for. Omit to return the schema for all entities.
- `format` (`string`, optional): Schema format — use read for querying data or write for creating/updating records. One of: `read`, `write`. Default: `read`.

Example input: `{}`

### `clarifymcp_query_analytics`

Query Analytics · Read-only

Execute a read-only ClickHouse SQL query against the Clarify analytics event log.

Read only: yes. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `sql` (`string`, required): SQL query to execute. For query_data use PostgreSQL syntax; for query_analytics use ClickHouse SQL.
- `limit` (`number`, optional): Maximum number of records to return per page. Default: `512`.

Example input: `{"sql":"<sql>"}`

### `clarifymcp_query_data`

Query Data · Read-only

Execute a read-only PostgreSQL query against Clarify CRM data (contacts, companies, deals, etc.).

Read only: yes. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `entity` (`string`, required): The entity type to operate on (e.g. person, company, deal, or a custom object identifier like c_my_object).
- `sql` (`string`, required): SQL query to execute. For query_data use PostgreSQL syntax; for query_analytics use ClickHouse SQL.
- `limit` (`number`, optional): Maximum number of records to return per page. Default: `10`.
- `offset` (`number`, optional): Number of records to skip for pagination (use with limit). Default: `0`.

Example input: `{"entity":"<entity>","sql":"<sql>"}`

### `clarifymcp_read_context`

Read Product Knowledge · Read-only

Read Clarify product documentation and best-practice guides for fields, calendar, campaigns, and artifacts.

Read only: yes. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `context` (`string`, required): The name of the context documentation to read. One of: `field-docs`, `calendar-docs`, `campaign-docs`, `artifact-docs`.

Example input: `{"context":"field-docs"}`

### `clarifymcp_add_comment`

Add Comment · Write

Add a Markdown comment to a supported Clarify entity (deal, person, company, etc.).

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `entity` (`string`, required): The entity type to operate on (e.g. person, company, deal, or a custom object identifier like c_my_object).
- `id` (`string`, required): The unique ID of the record (e.g. per_01ABCDE for a person, cmp_01ABCDE for a company).
- `message` (`string`, required): The comment text in Markdown format. Supports **bold**, *italic*, and bullet lists.

Example input: `{"entity":"<entity>","id":"<id>","message":"<message>"}`

### `clarifymcp_create_campaign`

Create Campaign · Write

Create a new email campaign (sequence) in draft mode, with subject/body/timing steps.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `campaign_name` (`string`, required): Campaign name.
- `email_steps` (`array`, required): Email steps with subject, body, and delay_after_days, in send order.
- `description` (`string`, optional): Campaign description.
- `from_email` (`string`, optional): Email address of the connected account to send this campaign from. Defaults to the primary account when omitted.
- `list_id` (`string`, optional): Target list ID. Get from get_lists. Optional for drafts.

Example input: `{"campaign_name":"<campaign_name>","email_steps":[]}`

### `clarifymcp_create_email_draft`

Create Email Draft · Write

Create an email draft in the user's connected Gmail or Outlook account for them to review and send themselves. Nothing is sent.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `body` (`string`, required): Email body content as plain text (converted to rich text; supports bullet/numbered lists, bold section labels, blank-line paragraph breaks, and markdown links).
- `subject` (`string`, required): Email subject line.
- `to` (`array`, required): Email addresses to send to.
- `bcc` (`array`, optional): Email addresses to BCC.
- `cc` (`array`, optional): Email addresses to CC.
- `confirmedNewRecipients` (`array`, optional): Recipient addresses that match no CRM person record but that the user supplied or confirmed verbatim.
- `from` (`string`, optional): Address to draft from. Only set this when the user explicitly asks to draft from a specific alias; otherwise omit to use the connected account's primary address.
- `replacesDraftId` (`string`, optional): Nylas draft ID of a previous draft in this conversation that this call is revising. When set, the existing draft is updated in place instead of creating a duplicate.
- `replyToMessageId` (`string`, optional): Short Nylas message_id of the inbound email being replied to. Set this when drafting a reply on an existing thread. Do not pass a Clarify record _id or a Nylas draft id here.

Example input: `{"body":"<body>","subject":"<subject>","to":[]}`

### `clarifymcp_create_or_update_fields`

Create Or Update Fields · Write

Create new custom fields or update existing fields on any Clarify entity (person, company, deal, or custom object).

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `entity` (`string`, required): The entity type to operate on (e.g. person, company, deal, or a custom object identifier like c_my_object).
- `fields` (`array`, required): Array of field definitions to create or update on the entity.

Example input: `{"entity":"<entity>","fields":[]}`

### `clarifymcp_create_or_update_list`

Create Or Update List · Write

Create or update a dynamic list — a saved view whose membership is defined by a SQL query.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `entity` (`string`, required): The entity type to operate on (e.g. person, company, deal, or a custom object identifier like c_my_object).
- `description` (`string`, optional): AI context description for this object type — helps the AI understand when to use it.
- `emoji` (`string`, optional): A single emoji to display alongside the list name.
- `list_id` (`string`, optional): The ID of an existing list (saved view). Use get_lists to find available list IDs.
- `sql` (`string`, optional): SQL query to execute. For query_data use PostgreSQL syntax; for query_analytics use ClickHouse SQL.
- `title` (`string`, optional): The display name of the list.

Example input: `{"entity":"<entity>"}`

### `clarifymcp_find_leads`

Find Leads · Write

Search Clarify's built-in prospect database of 28M+ companies and 175M+ people to find new leads.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `entity` (`string`, required): The entity type to operate on (e.g. person, company, deal, or a custom object identifier like c_my_object). One of: `tam_company`, `tam_person`.
- `search_label` (`string`, required): A descriptive label for this lead search (e.g. SF SaaS Companies 50+ employees).
- `sql` (`string`, required): SQL query to execute. For query_data use PostgreSQL syntax; for query_analytics use ClickHouse SQL.
- `search_identifiers` (`string`, optional): Optional: provide a prior searchId and versionId to operate on an existing search.

Example input: `{"entity":"tam_company","search_label":"<search_label>","sql":"<sql>"}`

### `clarifymcp_import_leads`

Import Leads · Write

Import leads from a find_leads search result into your Clarify workspace.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `searchEmoji` (`string`, required): A single emoji representing the theme of the search.
- `searchId` (`string`, required): The ID of the lead search returned by find_leads.
- `searchTitle` (`string`, required): A descriptive title for the search based on its filters.
- `sourceEntity` (`string`, required): The lead entity type to import from — tam_company or tam_person. One of: `tam_company`, `tam_person`.
- `count` (`integer`, optional): Number of leads to import. Omit to import all leads in the search.
- `extraFields` (`array`, optional): Additional TAM field names to import beyond the default fields.
- `versionId` (`string`, optional): The version ID of the search. Use the versionId from a prior find_leads result when available.

Example input: `{"searchEmoji":"<searchEmoji>","searchId":"<searchId>","searchTitle":"<searchTitle>","sourceEntity":"tam_company"}`

### `clarifymcp_import_meeting_transcript`

Import Meeting Transcript · Write

Import a meeting transcript from an external source (Granola, Notion, or Circleback) and attach it to a Clarify meeting.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `meeting_id` (`string`, required): The Clarify meeting ID to attach the transcript to.
- `source` (`string`, required): The transcript source provider. One of: `granola`, `notion`, `circleback`.
- `source_id` (`string`, required): The ID of the transcript in the source system. For Granola: meeting UUID. For Notion: page URL or UUID. For Circleback: numeric meeting ID, not the URL slug.

Example input: `{"meeting_id":"<meeting_id>","source":"granola","source_id":"<source_id>"}`

### `clarifymcp_respond_to_calendar_event`

Respond To Calendar Event · Write

RSVP (accept, decline, or tentatively accept) to a calendar event invite.

Read only: no. Destructive: no. Idempotent (safe to retry): yes.

Inputs:

- `event_id` (`string`, required): The Nylas event ID (from get_calendar_events) to respond to.
- `status` (`string`, required): RSVP status: yes (accept), no (decline), or maybe (tentative). One of: `yes`, `no`, `maybe`.

Example input: `{"event_id":"<event_id>","status":"yes"}`

### `clarifymcp_send_email`

Send Email · Write

Send an email immediately through the user's connected email account.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `body` (`string`, required): Email body as plain text (converted to rich text; supports bullet/numbered lists, bold section labels, blank-line paragraph breaks, and markdown links).
- `subject` (`string`, required): Email subject line.
- `to` (`array`, required): Email addresses to send to.
- `bcc` (`array`, optional): Email addresses to BCC.
- `cc` (`array`, optional): Email addresses to CC.
- `confirmedNewRecipients` (`array`, optional): Recipient addresses that match no CRM person record but that the user supplied or confirmed verbatim.
- `from` (`string`, optional): Address to send from. Only set this when the user explicitly asks to send from a specific alias; otherwise omit to use the connected account's primary address.
- `replyToMessageId` (`string`, optional): Short Nylas message_id of the inbound email being replied to. Set this when sending a reply on an existing thread. Do not pass a Clarify record _id or a Nylas draft id here.

Example input: `{"body":"<body>","subject":"<subject>","to":[]}`

### `clarifymcp_submit_feedback`

Submit Feedback · Write

Submit a feature request or bug report about Clarify MCP tools.

Read only: no. Destructive: no. Idempotent (safe to retry): no.

Inputs:

- `feedback` (`string`, required): The feature request or feedback message describing what is missing or broken.
- `category` (`string`, optional): Category for your feedback. Accepted values: missing_tool, bug, improvement, other. One of: `feature_request`, `bug_report`, `improvement`, `other`.

Example input: `{"feedback":"<feedback>"}`

### `clarifymcp_create_or_update_agent`

Create Or Update Agent · Destructive

Create or update an autonomous agent: its triggers, instructions, model tier, allowed tools, and MCP connectors.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `agentId` (`string`, optional): The ID of an existing agent to update. Omit to create a new agent.
- `description` (`string`, optional): Short description of the agent (up to 300 characters). Required when creating a new agent.
- `enabled` (`boolean`, optional): Whether the agent is enabled. Only applicable when updating an existing agent. New agents are created enabled.
- `instructions` (`string`, optional): The instructions that define how the agent behaves. Markdown up to 30,000 characters. Required when creating a new agent.
- `mcp_servers` (`object`, optional): MCP connector configuration keyed by server ID. Each server maps tool names to permissions. This is a full replacement; omit to keep existing servers unchanged.
- `model` (`string`, optional): Model tier the agent runs on. "fast" is cheaper and faster for simple, deterministic work. "smart" (default) is for multi-step reasoning and judgment. One of: `smart`, `fast`, `auto`.
- `name` (`string`, optional): Agent name (1-64 characters). Required when creating a new agent.
- `throttle` (`string`, optional): Caps how many times this agent may run per hour. Throttles are hourly only. Omit to leave unchanged; pass null to reset to the default of 100 runs/hour.
- `tools` (`object`, optional): Map of tool name to permission. Only listed tools are available to the agent. This is a full replacement; omit to keep existing tools unchanged.
- `triggers` (`array`, optional): Triggers that activate the agent. Each trigger specifies an event the agent responds to. An agent can have multiple triggers.
- `visibility` (`string`, optional): Controls agent run visibility. "public" lets anyone in the workspace see the agent's runs. "private" restricts runs to the creator only. Defaults to "private". One of: `public`, `private`.

Example input: `{}`

### `clarifymcp_create_or_update_calendar_event`

Create Or Update Calendar Event · Destructive

Create a new calendar event, or update an existing one by event_id.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `description` (`string`, optional): Event description. Maximum 8000 characters.
- `event_id` (`string`, optional): Existing Nylas event ID (from get_calendar_events) to update. Omit to create a new event.
- `location` (`string`, optional): Event location, maximum 255 characters. Omit to leave unchanged on update; passing an empty string clears the field.
- `notify_participants` (`boolean`, optional): Whether to send invite/update emails. Defaults to true on create, false on update.
- `participants` (`array`, optional): Email addresses to invite or update.
- `participants_mode` (`string`, optional): How to apply participants on update. 'add' (default) merges the listed emails into the existing attendee list. 'replace' substitutes the entire attendee list. One of: `add`, `replace`.
- `recurrence` (`array`, optional): Optional RRULE strings (RFC 5545) to make the event recurring. Update and delete operations apply to the whole series.
- `title` (`string`, optional): Required when creating; optional when updating. Maximum 1024 characters.
- `when` (`string`, optional): Required when creating. When updating, provide only if rescheduling.

Example input: `{}`

### `clarifymcp_create_or_update_campaign`

Create Or Update Campaign · Destructive

Create a new email campaign or update an existing one by its ID.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `campaign_name` (`string`, required): Name of the campaign. Required when creating a new campaign.
- `email_steps` (`array`, required): Array of email step definitions for the campaign sequence.
- `campaign_id` (`string`, optional): ID of an existing campaign to update. Omit to create a new campaign.
- `status` (`string`, optional): Campaign status — draft (default) or active. One of: `draft`, `active`.

Example input: `{"campaign_name":"<campaign_name>","email_steps":[]}`

### `clarifymcp_create_or_update_custom_object`

Create Or Update Custom Object · Destructive

Create a new custom object type or update an existing one in the Clarify workspace.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `description` (`string`, optional): AI context description for this object type — helps the AI understand when to use it.
- `entity` (`string`, optional): The entity type to operate on (e.g. person, company, deal, or a custom object identifier like c_my_object).
- `name` (`string`, optional): Display name for the custom object type. Will be normalized to a slug for the entity identifier.
- `plural` (`string`, optional): Plural label for the custom object type (e.g. Partnerships for a singular Partnership).

Example input: `{}`

### `clarifymcp_create_or_update_records`

Create Or Update Records · Destructive

Create new records or update existing ones in Clarify. Supports bulk operations of up to 25 records per call.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `entity` (`string`, required): The entity type to operate on (e.g. person, company, deal, or a custom object identifier like c_my_object).
- `records` (`array`, required): Array of records to create or update. Each item contains an attributes object with field values.

Example input: `{"entity":"<entity>","records":[]}`

### `clarifymcp_delete_agent`

Delete Agent · Destructive

Permanently delete an agent by its ID. Only the creator of an agent can delete it.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `agentId` (`string`, required): The ID of the agent to delete.

Example input: `{"agentId":"<agentId>"}`

### `clarifymcp_delete_calendar_event`

Cancel Calendar Event · Destructive

Cancel a calendar event the user owns or has edit access to.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `event_id` (`string`, required): The Nylas event ID (from get_calendar_events) to cancel.
- `notify_participants` (`boolean`, optional): Send cancellation notices to attendees. Default: true. Default: `true`.

Example input: `{"event_id":"<event_id>"}`

### `clarifymcp_delete_campaign`

Delete Campaign · Destructive

Permanently delete an email campaign by its ID.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `campaign_id` (`string`, required): The ID of the campaign. Use get_campaigns to list available campaigns and their IDs.

Example input: `{"campaign_id":"<campaign_id>"}`

### `clarifymcp_delete_custom_object`

Delete Custom Object · Destructive

Permanently delete a custom object type from the Clarify workspace by its entity identifier.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `entity` (`string`, required): The entity type to operate on (e.g. person, company, deal, or a custom object identifier like c_my_object).

Example input: `{"entity":"<entity>"}`

### `clarifymcp_delete_fields`

Delete Fields · Destructive

Permanently delete one or more custom fields from a Clarify entity by their field slugs.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `entity` (`string`, required): The entity type to operate on (e.g. person, company, deal, or a custom object identifier like c_my_object).
- `fieldNames` (`array`, required): Array of field slugs (snake_case) to delete from the entity.

Example input: `{"entity":"<entity>","fieldNames":[]}`

### `clarifymcp_delete_list`

Delete List · Destructive

Permanently delete a saved list (dynamic view) by its ID.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `entity` (`string`, required): The entity type to operate on (e.g. person, company, deal, or a custom object identifier like c_my_object).
- `list_id` (`string`, required): The ID of an existing list (saved view). Use get_lists to find available list IDs.

Example input: `{"entity":"<entity>","list_id":"<list_id>"}`

### `clarifymcp_delete_records`

Delete Records · Destructive

Permanently delete one or more records by their IDs. Supports bulk deletion of up to 25 records per call.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `entity` (`string`, required): The entity type to operate on (e.g. person, company, deal, or a custom object identifier like c_my_object).
- `record_ids` (`array`, required): Array of record IDs to delete. All must belong to the same entity type.

Example input: `{"entity":"<entity>","record_ids":[]}`

### `clarifymcp_manage_access`

Manage Access · Destructive

Grant, update, revoke, or read access grants on a list, meeting, or message, or reassign its owner.

Read only: no. Destructive: yes. Idempotent (safe to retry): yes.

Inputs:

- `action` (`string`, required): The access operation to perform: grant, update, revoke, read, or reassign. One of: `grant`, `update`, `revoke`, `read`, `reassign`.
- `target` (`string`, required): The object (or set of objects) to manage access for. Use mode:"direct" for a single list, meeting, or message by id, or mode:"related" to bulk-manage every message on an anchor record.
- `accessLevel` (`string`, optional): The access level to grant or update to. Required for grant and update. One of: `view`, `edit`.
- `all` (`boolean`, optional): Revoke only: when true, revoke every grant on the object. Mutually exclusive with grantees.
- `grantees` (`array`, optional): The grantees to act on. Required for grant and update. For revoke, provide either grantees or all=true.
- `newOwnerId` (`string`, optional): Reassign only: the user record id to make the new owner of the object.
- `objectIds` (`array`, optional): Reassign only: to reassign several objects of the same entity to newOwnerId at once, list the other object ids here (up to 50). target.objectId is always included.

Example input: `{"action":"grant","target":"<target>"}`

### `clarifymcp_merge_records`

Merge Records · Destructive

Merge two or more duplicate records into a single primary record, combining all data.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `entity` (`string`, required): The entity type to operate on (e.g. person, company, deal, or a custom object identifier like c_my_object).
- `primaryRecordId` (`string`, required): The ID of the record to keep after the merge — all data is merged into this record.
- `sourceRecordIds` (`array`, required): IDs of records to merge into the primary record. These records are deleted after merging.

Example input: `{"entity":"<entity>","primaryRecordId":"<primaryRecordId>","sourceRecordIds":[]}`

### `clarifymcp_update_campaign`

Update Campaign · Destructive

Update an existing email campaign: rename it, change its target list, sender, email steps, or send time windows.

Read only: no. Destructive: yes. Idempotent (safe to retry): no.

Inputs:

- `campaign_id` (`string`, required): Campaign ID to update. Get from get_campaigns tool.
- `email_steps` (`array`, optional): Email step operations (insert, remove, update). Each step must specify an operation.
- `from_name` (`string`, optional): Update sender display name for all emails in the campaign.
- `list_id` (`string`, optional): Target list ID. Get from get_lists tool.
- `new_name` (`string`, optional): New campaign name.
- `send_windows` (`string`, optional): Send time windows for the campaign. Pass null to disable windows or a { windows: { <day>: { start, end } | null } } object to configure them. Days are lowercase (sunday-saturday); start/end are "HH:mm" 24-hour strings. Omit to leave existing windows unchanged.

Example input: `{"campaign_id":"<campaign_id>"}`

## Related

Other CRM & Sales connectors ([all 104](/agentkit/connectors/?category=crm-sales)):

- [Insightly](/agentkit/connectors/insightly/): Scalekit connector, API key, 108 tools
- [HubSpot](/agentkit/connectors/hubspot/): Scalekit connector, OAuth, 457 tools
- [Salesforce](/agentkit/connectors/salesforce/): Scalekit connector, OAuth, 74 tools


---

## More Scalekit documentation

| Resource | What it contains | When to use it |
|----------|-----------------|----------------|
| [/llms.txt](/llms.txt) | Structured index with routing hints per product area | Start here — find which documentation set covers your topic before loading full content |
| [/llms-full.txt](/llms-full.txt) | Complete documentation for all Scalekit products in one file | Use when you need exhaustive context across multiple products or when the topic spans several areas |
| [sitemap-0.xml](https://docs.scalekit.com/sitemap-0.xml) | Full URL list of every documentation page | Use to discover specific page URLs you can fetch for targeted, page-level answers |
