> **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 Plain MCP server

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

**Authentication:** OAuth 2.1/DCR
**Categories:** Customer Support, Productivity
**Tools:** 427: 27 read, 335 write, 65 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=PLAINMCP)

## 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 Plain MCP connection

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

   Scalekit credentials are available for Plain 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 = 'plainmcp'
   const identifier = 'user_123'

   // Generate an authorization link for the user
   const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
   console.log('Authorize Plain 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: 'plainmcp_getcustomers',
     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 = "plainmcp"
   identifier = "user_123"

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

   # Make your first call
   result = actions.execute_tool(
       tool_input={},
       tool_name="plainmcp_getcustomers",
       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: 'plainmcp_getcustomerdetails',
  toolInput: {
    customerId: '<customerId>',
  },
  connector: 'plainmcp',
  identifier: 'user_123',
})
```

**Python**

```python
result = actions.execute_tool(
    tool_name="plainmcp_getcustomerdetails",
    tool_input={
        "customerId": "<customerId>",
    },
    connection_name="plainmcp",
    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.

### `plainmcp_getcustomerdetails`

GetCustomerDetails · Read-only

Fetch a customer's full profile including email, assignment, company, and timestamps.

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

Inputs:

- `customerId` (`string`, required): Plain customer ID (starts with c_). Get it from getCustomers or getCustomerDetails.

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

### `plainmcp_getcustomers`

GetCustomers · Read-only

Return a paginated list of all customers in the workspace.

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

Inputs:

- `cursor` (`string`, optional): No description.
- `first` (`string`, optional): No description. Default: `50`.
- `tenantIdentifiers` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_getcustomerthreads`

GetCustomerThreads · Read-only

Return all threads belonging to a specific customer, with optional status filtering.

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

Inputs:

- `customerId` (`string`, required): No description.
- `cursor` (`string`, optional): No description.
- `first` (`string`, optional): No description. Default: `10`.
- `statusDetails` (`string`, optional): No description.
- `statuses` (`string`, optional): No description.

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

### `plainmcp_gethelpcenterarticle`

GetHelpCenterArticle · Read-only

Fetch a single Help Center article by its ID.

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

Inputs:

- `id` (`string`, required): Unique identifier of the resource.

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

### `plainmcp_gethelpcenterarticlebyslug`

GetHelpCenterArticleBySlug · Read-only

Fetch a Help Center article by its URL slug.

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

Inputs:

- `helpCenterId` (`string`, required): Plain Help Center ID (starts with hc_). Get it from getHelpCenters.
- `slug` (`string`, required): URL slug of the Help Center article.

Example input: `{"helpCenterId":"<helpCenterId>","slug":"<slug>"}`

### `plainmcp_gethelpcenterarticlegroups`

GetHelpCenterArticleGroups · Read-only

Return all article groups for a Help Center.

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

Inputs:

- `helpCenterId` (`string`, required): No description.
- `cursor` (`string`, optional): No description.
- `first` (`string`, optional): No description. Default: `50`.

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

### `plainmcp_gethelpcenterarticles`

GetHelpCenterArticles · Read-only

Return a paginated list of articles in a Help Center.

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

Inputs:

- `helpCenterId` (`string`, required): No description.
- `cursor` (`string`, optional): No description.
- `first` (`string`, optional): No description. Default: `50`.

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

### `plainmcp_gethelpcenters`

GetHelpCenters · Read-only

Return all Help Centers in the workspace.

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

Inputs:

- `cursor` (`string`, optional): No description.
- `first` (`string`, optional): No description. Default: `50`.

Example input: `{}`

### `plainmcp_getlabels`

GetLabels · Read-only

Return all label types available in the workspace.

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

Inputs:

- `cursor` (`string`, optional): No description.
- `first` (`string`, optional): No description. Default: `50`.

Example input: `{}`

### `plainmcp_getmyassignedthreads`

GetMyAssignedThreads · Read-only

Return threads assigned to the authenticated user, with optional status and priority filters.

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

Inputs:

- `userId` (`string`, required): No description.
- `cursor` (`string`, optional): No description.
- `first` (`string`, optional): No description. Default: `10`.
- `priorities` (`string`, optional): No description.
- `statusDetails` (`string`, optional): No description.
- `statuses` (`string`, optional): No description.

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

### `plainmcp_getmyuser`

GetMyUser · Read-only

Return the profile of the currently authenticated workspace user.

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

Inputs: none.

Example input: `{}`

### `plainmcp_getmyworkspace`

GetMyWorkspace · Read-only

Return details about the current workspace including its ID and name.

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

Inputs: none.

Example input: `{}`

### `plainmcp_getsidekicksession`

GetSidekickSession · Read-only

Poll a Sidekick session: read its status, its newest messages, and any approval it is blocked on. Call this repeatedly after startSidekickSession or sendSidekickMessage.

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

Inputs:

- `discussionId` (`string`, required): No description.
- `before` (`string`, optional): No description.
- `last` (`string`, optional): No description. Default: `10`.

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

### `plainmcp_getsnippet`

GetSnippet · Read-only

Fetch a single snippet by ID, including soft-deleted snippets (where isDeleted is true). Use this when you already have a snippet ID from getSnippets or another tool.

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

Inputs:

- `snippetId` (`string`, required): Snippet ID (starts with sn_), from getSnippets or another tool.

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

### `plainmcp_getsnippets`

GetSnippets · Read-only

Fetch a paginated list of snippets from the workspace. Snippets are reusable reply templates that agents insert when composing replies. Soft-deleted snippets are excluded from this list.

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

Inputs:

- `cursor` (`string`, optional): No description.
- `first` (`string`, optional): No description. Default: `50`.

Example input: `{}`

### `plainmcp_gettenantdetails`

GetTenantDetails · Read-only

Fetch full details for a specific tenant by its ID.

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

Inputs:

- `tenantId` (`string`, required): Plain tenant ID (starts with t_). Get it from getCustomers.

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

### `plainmcp_gettenants`

GetTenants · Read-only

Return a paginated list of all tenants in the workspace.

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

Inputs:

- `cursor` (`string`, optional): No description.
- `first` (`string`, optional): No description. Default: `50`.

Example input: `{}`

### `plainmcp_getthreaddetails`

GetThreadDetails · Read-only

Fetch a thread's full details and timeline entries by thread ID.

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

Inputs:

- `threadId` (`string`, required): No description.
- `timelineCursor` (`string`, optional): No description.
- `timelineFirst` (`string`, optional): No description. Default: `50`.

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

### `plainmcp_getthreadfieldschemas`

GetThreadFieldSchemas · Read-only

Return all custom thread field schemas defined in the workspace.

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

Inputs:

- `cursor` (`string`, optional): No description.
- `first` (`string`, optional): No description. Default: `50`.

Example input: `{}`

### `plainmcp_getthreadknowledgesourcecitations`

GetThreadKnowledgeSourceCitations · Read-only

Fetch the knowledge sources cited by AI agent replies on a thread. Currently only Ari, Plain's AI support agent, produces citations. Correlate timelineEntryId with the timeline entry id values from getThreadDetails to see which reply cited which source. Returns an empty list when the thread has no citations.

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

Inputs:

- `threadId` (`string`, required): Plain thread ID (starts with th_) to fetch citations for.

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

### `plainmcp_getthreads`

GetThreads · Read-only

Return threads with flexible filtering by status, priority, assignee, customer, labels, or date range.

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

Inputs:

- `assignedToUser` (`string`, optional): No description.
- `createdAtAfter` (`string`, optional): No description.
- `createdAtBefore` (`string`, optional): No description.
- `cursor` (`string`, optional): No description.
- `customerIds` (`string`, optional): No description.
- `first` (`string`, optional): No description. Default: `10`.
- `isAssigned` (`string`, optional): No description.
- `labelTypeIds` (`string`, optional): No description.
- `priorities` (`string`, optional): No description.
- `slaStatuses` (`string`, optional): No description.
- `slaTypes` (`string`, optional): No description.
- `statusDetails` (`string`, optional): No description.
- `statuses` (`string`, optional): No description.
- `surveyResponse` (`string`, optional): No description.
- `tenantIdentifiers` (`string`, optional): No description.
- `threadFields` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_getuserbyemail`

GetUserByEmail · Read-only

Look up a workspace user by their email address.

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

Inputs:

- `email` (`string`, required): Email address of the user.

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

### `plainmcp_listsidekicksessions`

ListSidekickSessions · Read-only

List Sidekick sessions in the workspace, most recent activity first. Use this to resume a session from an earlier conversation, check whether a session landed after a timeout, or find sessions that need attention. Pass agentStatuses: [NEEDS_INPUT] for sessions blocked on a human approval decision, or agentStatuses: [IN_PROGRESS] for ones still working. statuses is the session's own lifecycle (OPEN/RESOLVED) and does not overlap with agentStatuses.

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

Inputs:

- `after` (`string`, optional): No description.
- `agentStatuses` (`string`, optional): No description.
- `createdByUserIds` (`string`, optional): No description.
- `first` (`string`, optional): No description. Default: `20`.
- `statuses` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_searchcustomers`

SearchCustomers · Read-only

Search customers by name or email and return a paginated list of matches.

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

Inputs:

- `search` (`string`, required): No description.
- `cursor` (`string`, optional): No description.
- `first` (`string`, optional): No description. Default: `50`.
- `tenantIdentifiers` (`string`, optional): No description.

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

### `plainmcp_searchtenants`

SearchTenants · Read-only

Search tenants by name and return matching results.

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

Inputs:

- `searchTerm` (`string`, required): No description.
- `cursor` (`string`, optional): No description.
- `first` (`string`, optional): No description. Default: `50`.

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

### `plainmcp_searchthreadlinkcandidates`

SearchThreadLinkCandidates · Read-only

Search a connected issue tracker for external entities that can be linked to a thread via createThreadLink. Scope the search to one issue tracker with sourceType (e.g. jira_issue, incidentio_incident, shortcut_story, rootly_incident, github_issue) and match against issue titles or identifiers with the free-text searchQuery. Requires a connected issue tracker integration for the given sourceType.

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

Inputs:

- `filters` (`string`, required): No description.
- `searchQuery` (`string`, required): Free text matched against titles or identifiers. For `github_issue`, include `repo:owner/repo`.
- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{"filters":"<filters>","searchQuery":"<searchQuery>"}`

### `plainmcp_searchthreads`

SearchThreads · Read-only

Search threads by text with optional filters for status, priority, assignee, customer, and labels.

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

Inputs:

- `searchQuery` (`string`, required): No description.
- `assignedToUser` (`string`, optional): No description.
- `cursor` (`string`, optional): No description.
- `customerIds` (`string`, optional): No description.
- `first` (`string`, optional): No description. Default: `50`.
- `labelTypeIds` (`string`, optional): No description.
- `priorities` (`string`, optional): No description.
- `statusDetails` (`string`, optional): No description.
- `statuses` (`string`, optional): No description.
- `tenantIdentifiers` (`string`, optional): No description.

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

### `plainmcp_acceptsuggestedlabeltypes`

Accept Suggested Label Types · Write

Accepts one or more pending suggested label types, creating a real label type for each and marking the suggestions as ACCEPTED. All ids must currently be PENDING. Fails the whole batch with error code `label_type_name_already_exists` if a suggestion's name matches an existing label type or another suggestion in the same batch. Requires the `labelType:create` and `labelType:read` permissions.

 Arguments:
 - input: AcceptSuggestedLabelTypesInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_account`

Account · Write

Fetches a single account by its Plain-assigned ID. Returns null if no matching account is found. Requires the `tenant:read` permission.

 Arguments:
 - accountId: ID!

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

Inputs:

- `accountId` (`string`, required): No description.

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

### `plainmcp_accountfieldschemas`

Account Field Schemas · Write

Returns the list of account field schemas defined in the workspace. Use the `source` and `isVisible` filters to narrow results. Supports cursor-based pagination.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - filters: AccountFieldSchemasFilter
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `filters` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_accounts`

Accounts · Write

Returns a paginated list of accounts in the workspace. Use the `filters` argument to narrow the results and `sortBy` to order them (by name ascending when omitted). Requires the `tenant:read` permission.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String
 - filters: AccountsFilter
 - sortBy: AccountsSort

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `filters` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.
- `sortBy` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_activethreadcluster`

Active Thread Cluster · Write

Returns the cluster that the given thread currently belongs to, or null if the thread has not been assigned to any cluster.
 Use this to show a customer-support agent which broader topic group a specific thread falls into.
 This API is in beta and may change without notice.

 Arguments:
 - threadId: ID!

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

Inputs:

- `threadId` (`string`, required): No description.

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

### `plainmcp_addadditionalassignees`

Add Additional Assignees · Write

Add one or more users or machine users as additional (secondary) assignees on a thread. Additional assignees are looped in but are not the primary person responsible. Requires the `thread:assign` and `thread:read` permissions.

 Arguments:
 - input: AddAdditionalAssigneesInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_addcustomertoaccounts`

Add Customer To Accounts · Write

Adds a customer to one or more accounts. The customer can be identified by their Plain ID, external ID, or email address.
 If the customer is already a member of a given account the operation is a no-op for that account.
 Requires the `customer:edit` and `customerTenantMembership:create` permissions.

 Arguments:
 - input: AddCustomerToAccountsInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_addcustomertocustomergroups`

Add Customer To Customer Groups · Write

Add a customer to one or more customer groups (up to 25 at once), identified by group ID, key, or external ID. Memberships that already exist are silently skipped, making this operation safe to call repeatedly. Returns only the newly created memberships. Requires `customerGroupMembership:create` permission.

 Arguments:
 - input: AddCustomerToCustomerGroupsInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_addcustomertotenants`

Add Customer To Tenants · Write

Adds a customer to one or more tenants. The customer can be identified by their Plain ID, external ID, or email address.
 If the customer is already a member of a given tenant the operation is a no-op for that tenant.
 Requires the `customer:edit` and `customerTenantMembership:create` permissions.
 Deprecated: Use addCustomerToAccounts instead

 Arguments:
 - input: AddCustomerToTenantsInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_addlabelstouser`

Add Labels To User · Write

Add one or more team labels to a Plain user (agent). Only label types with type `TEAM` may be applied to users. Label types already present on the user are silently skipped. Requires the `label:create` permission.

 Arguments:
 - input: AddLabelsToUserInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_addmemberstotier`

Add Members To Tier · Write

Adds one or more tenants or companies to a tier (up to 25 per call). Because each tenant or company can belong to only one tier at a time, adding a member that already belongs to another tier will move it to this tier. Requires the `tierMembership:read` and `tierMembership:create` permissions.

 Arguments:
 - input: AddMembersToTierInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_agentsandboxtoolpolicies`

Agent Sandbox Tool Policies · Write

The Sidekick Agent tool approval policies for the workspace: every catalog tool
 with its effective approval mode (per-workspace override merged over the
 factory default). Optionally filter to a single service (e.g. "plain").

 Arguments:
 - service: String

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

Inputs:

- `service` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_aifeedback`

Ai Feedback · Write

Paginated list of the feedback your team has submitted on Plain's AI features, such as a thumbs up or down on a Customer Agent reply, newest first. Use the optional `filters` argument to narrow results by feature, sentiment or submission time. Requires the `aiFeatureFeedback:read` permission.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - filters: AiFeedbackFilter
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `filters` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_aitonerules`

Ai Tone Rules · Write

Returns the workspace's AI tone rules, which guide how Plain's AI features phrase replies. Use the optional `isEnabled` filter to retrieve only active rules. Pagination is supported via standard `first`/`after` and `last`/`before` cursor arguments, though in practice all rules are returned in a single page. Requires the `aiToneRule:read` permission.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String
 - filters: AiToneRulesFilter

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `filters` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_autoresponder`

Autoresponder · Write

Fetch a single autoresponder by its ID. Returns null if no autoresponder with that ID exists.

 Arguments:
 - autoresponderId: ID!

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

Inputs:

- `autoresponderId` (`string`, required): No description.

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

### `plainmcp_autoresponders`

Autoresponders · Write

List all autoresponders in the workspace, ordered by their configured priority order. Supports cursor-based pagination.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_billingplans`

Billing Plans · Write

Returns the available billing plans that can be selected for self-serve checkout. Supports standard forward and backward pagination.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_broadcastrecipientunsubscribes`

Broadcast Recipient Unsubscribes · Write

Returns a paginated list of Slack channels that have opted out of broadcasts, newest first.
 Requires the `broadcast:read` permission and the broadcasts feature flag.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - searchQuery: String â Narrows to unsubscribes whose connected channel name contains this, or whose Slack workspace name contains this, matched case-insensitively and unanchored. Channel-name matches exclude disconnected channels; a workspace-name match returns every opted-out channel in that Slack workspace, including disconnected ones.
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.
- `searchQuery` (`string`, optional): Narrows to unsubscribes whose connected channel name contains this, or whose Slack workspace name contains this, matched case-insensitively and unanchored. Channel-name matches exclude disconnected channels; a workspace-name match returns every opted-out channel in that Slack workspace, including disconnected ones.

Example input: `{}`

### `plainmcp_broadcasts`

Broadcasts · Write

Returns a paginated list of the workspace's broadcasts, newest first. Soft-deleted
 broadcasts are excluded. Optionally narrow the results with `filters` (status). Supports standard
 forward and backward cursor pagination. Requires the `broadcast:read` permission.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - filters: BroadcastsFilter
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `filters` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_bulkjoinslackchannels`

Bulk Join Slack Channels · Write

Instructs the Plain Slack bot to join public Slack channels for the given workspace
 Slack channel integration. By default it joins every public channel matching an
 auto-join rule on the integration. Set `rule` to join only the public channels
 matching one rule, identified by its channel name prefix and suffix.

 Arguments:
 - input: BulkJoinSlackChannelsInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_bulkupdateconnectedslackchannels`

Bulk Update Connected Slack Channels · Write

Applies many connected-slack-channel updates in a single request. Each
 update is applied independently with the same semantics as
 `updateConnectedSlackChannel`; partial failures are reported per-item.

 Arguments:
 - input: BulkUpdateConnectedSlackChannelsInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_bulkupdateslackchannelsettings`

Bulk Update Slack Channel Settings · Write

Applies many Slack per-channel setting writes in a single request. Each
 update targets the `WORKSPACE_SLACK_CONNECTED_CHANNEL` scope and is
 written with the same semantics as `updateSetting`. The writes are
 attempted independently; partial failures are reported per-item.

 Arguments:
 - input: BulkUpdateSlackChannelSettingsInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_bulkupsertworkflowsteps`

Bulk Upsert Workflow Steps · Write

Atomically replace all steps in a workflow. Steps with a matching `stepId` are updated; steps without an ID (or with a new ID) are created; steps that existed before but are absent from the input are deleted.
 Optionally updates `startStepId` and the trigger configuration in the same call. Maximum 60 steps per workflow. Read `workflowBuilderGuide` first for the trigger events and every step payload.

 Arguments:
 - input: BulkUpsertWorkflowStepsInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_businesshoursoverride`

Business Hours Override · Write

Fetches a single business hours override by its ID, or null if no override with that ID exists. Requires the `businessHours:read` permission.

 Arguments:
 - businessHoursOverrideId: ID!

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

Inputs:

- `businessHoursOverrideId` (`string`, required): No description.

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

### `plainmcp_businesshoursoverrides`

Business Hours Overrides · Write

Returns a paginated list of business hours overrides across the workspace's schedules, sorted by start date. Filter by schedule, start date or end date. Requires the `businessHours:read` permission.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - filters: WorkspaceBusinessHoursOverridesFilter
 - sortBy: BusinessHoursOverridesSort
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `filters` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.
- `sortBy` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_businesshoursschedule`

Business Hours Schedule · Write

Fetches a single business hours schedule by its ID, or null if no schedule with that ID exists. Requires the `businessHours:read` permission.

 Arguments:
 - businessHoursScheduleId: ID!

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

Inputs:

- `businessHoursScheduleId` (`string`, required): No description.

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

### `plainmcp_businesshoursschedules`

Business Hours Schedules · Write

Returns a paginated list of the workspace's business hours schedules, sorted by name. Requires the `businessHours:read` permission.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_calculaterolechangecost`

Calculate Role Change Cost · Write

Calculates the billing cost delta of changing a user's role or seat type, including prorated and full-period amounts. Use this before making a role change to show the user an accurate cost preview.

 Arguments:
 - input: CalculateRoleChangeCostInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_changethreadcustomer`

Change Thread Customer · Write

Reassign a thread to a different customer. The original customer retains all their other threads. Requires the `thread:edit` permission.

 Arguments:
 - input: ChangeThreadCustomerInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_changethreaddiscussionstatus`

Change Thread Discussion Status · Write

Moves a discussion between OPEN and RESOLVED. Callable by a person, by the custom agent a discussion is bound to, or by the machine user that started a Sidekick Agent discussion.

 Arguments:
 - input: ChangeThreadDiscussionStatusInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_chatapp`

Chat App · Write

Fetch a single chat app by its ID. Returns null if no chat app with that ID exists in the workspace.
 Requires the `chatApp:read` permission. Deleting a chat app is done by the user in the Plain app. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/settings/chat/<chatAppId>` (never the `<workspaceId>` placeholder).

 Arguments:
 - chatAppId: ID!

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

Inputs:

- `chatAppId` (`string`, required): No description.

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

### `plainmcp_chatapps`

Chat Apps · Write

List all chat apps in the workspace. Supports cursor-based pagination.
 Requires the `chatApp:read` permission. Deleting a chat app is done by the user in the Plain app. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/settings/chat/<chatAppId>` (never the `<workspaceId>` placeholder).
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_chatappsecret`

Chat App Secret · Write

Check whether a signing secret exists for a chat app. Returns metadata about the secret (creation time,
 actor) but never the secret value itself â the raw secret is only returned once, at creation time via
 `createChatAppSecret`. Returns null if no secret has been created for the given chat app.
 Requires the `chatAppSecret:read` permission.

 Arguments:
 - chatAppId: ID!

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

Inputs:

- `chatAppId` (`string`, required): No description.

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

### `plainmcp_connecteddiscordchannels`

Connected Discord Channels · Write

Returns a paginated list of Discord channels synced from a specific guild. Use `refreshConnectedDiscordChannels` to pull the latest channel list from Discord before querying. Not connected yet? Connecting needs the user's approval in the provider. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/install/discord` (never the `<workspaceId>` placeholder), which takes them straight to Discord to approve, then read this again to confirm.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - discordGuildId: String!
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `discordGuildId` (`string`, required): No description.
- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

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

### `plainmcp_connectedmsteamschannels`

Connected Msteams Channels · Write

Returns a paginated list of Microsoft Teams channels that are connected to this workspace. Supports forward and backward cursor pagination. Not connected yet? Connecting needs the user's approval in the provider. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/install/ms-teams` (never the `<workspaceId>` placeholder), which takes them straight to Microsoft Teams to approve, then read this again to confirm.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_connectedslackchannel`

Connected Slack Channel · Write

Returns a single connected Slack channel by its Plain ID, or null if not found.

 Arguments:
 - connectedSlackChannelId: ID!

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

Inputs:

- `connectedSlackChannelId` (`string`, required): No description.

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

### `plainmcp_connectedslackchannels`

Connected Slack Channels · Write

Gets all slack channels for this workspace, which match the specified filters. To count or list
 the channels a broadcast would reach, use `broadcastSendTargetRecipients` instead: it leaves out
 channels that unsubscribed.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - filters: ConnectedSlackChannelsFilter
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `filters` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_createaccount`

Create Account · Write

Creates a new account. Fails with a validation error if an account already exists with the provided `externalId`.
 Use `upsertAccount` instead if you want to create or update an account idempotently.
 Requires the `tenant:create` permission.

 Arguments:
 - input: CreateAccountInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createaifeedback`

Create Ai Feedback · Write

Submit feedback on any Plain AI feature result. Pass a JSON-encoded object in the `feedback` field whose `type` discriminates the feature (`AI_AGENT`, `THREAD_CATCHUP`, `THREAD_CLUSTERS`, `TONE_RULE`, or `KNOWLEDGE_GAP`) and includes the relevant context fields and an optional `sentiment` (`POSITIVE`, `NEGATIVE`, or `NEUTRAL`).

 Arguments:
 - input: CreateAiFeedbackInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createaitonerule`

Create Ai Tone Rule · Write

Creates a single AI tone rule with the given category and description. Rules are enabled by default; pass `isEnabled: false` to create the rule in a disabled state. A workspace may have at most 7 simultaneously enabled rules across all categories. Requires the `aiToneRule:create` permission.

 Arguments:
 - input: CreateAiToneRuleInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createalltestthreads`

Create All Test Threads · Write

Create one test thread per scenario for the signed-in user, so they get a populated inbox in a
 single call rather than one `createTestThread` per scenario. Each thread comes from that
 scenario's own test customer, and its opening message is written shortly after this
 returns. Scenarios the caller already has a test thread for are skipped, so calling this again
 tops the set up rather than duplicating it, and a scenario that fails does not stop the rest.
 Use `testThreads` for the caller's full set. Requires the `thread:create` permission.

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

Inputs: none.

Example input: `{}`

### `plainmcp_createattachmentuploadurl`

Create Attachment Upload Url · Write

Generate a presigned upload URL for an attachment. Use the returned `uploadFormUrl` and
 `uploadFormData` fields to POST the file as multipart/form-data directly to storage. The
 upload URL expires after 2 hours; the resulting `attachment.id` can then be referenced in
 mutations such as `createThread`, `replyToEmail`, or `createNote`. Requires the
 `attachment:create` permission. Attachments that are never referenced in a message are
 automatically deleted after 24 hours.

 Arguments:
 - input: CreateAttachmentUploadUrlInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createautoresponder`

Create Autoresponder · Write

Create a new autoresponder that automatically sends a reply when a thread is created from a matching message source and satisfies all specified conditions. A workspace can have at most 25 autoresponders. Requires the `autoresponder:create` permission.

 Arguments:
 - input: CreateAutoresponderInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createbroadcast`

Create Broadcast · Write

Create a new broadcast: a message authored once and posted to many Slack
 channels at once. Creating one never sends it â a new broadcast is a DRAFT,
 and scheduling the real send is done by a human in the Plain app.

 Required input fields: `name`, `content`, `contentFormat`, `type`.

 - `name` identifies the broadcast internally and is never shown to
   recipients. It is what `searchBroadcasts` matches on.
 - `notificationTitle` is what recipients see in the notification the
   broadcast arrives as. It does leave Plain. Optional here, but the broadcast
   cannot be sent or tested until it is set.
 - `type` must be `SLACK`. It is fixed at creation: content is written against
   a channel's rendering rules, so a broadcast cannot be moved to another
   channel later.
 - `contentFormat` and `content` go together. From MCP, send
   `SLACK_BLOCK_KIT` and a JSON array of Slack blocks, as `chat.postMessage`
   would take. A one-paragraph body looks like this, passed as a string:
   "[{\"type\":\"section\",\"text\":{\"type\":\"mrkdwn\",\"text\":\"Hello\"}}]"
   Buttons need a `url` â interactive elements do nothing in a broadcast.
   Images must be publicly reachable. This format cannot be edited in the
   Plain app. `TIPTAP` is still accepted (a serialised Tiptap document) and
   is what the app composer writes; do not use it unless you are copying
   content already stored that way.
 - `isLinkUnfurlingEnabled` controls whether Slack expands links and media.
   Defaults to true, which is Slack's own behaviour.
 - `appendUnsubscribeLink` controls whether Plain appends an unsubscribe
   footer when this broadcast is delivered. Omit to inherit the workspace
   default from `getBroadcastUnsubscribeLinkSetting`; pass true or false to
   override that default for this broadcast only. It controls footer
   emission, not whether unsubscribes are honoured.
 - `senderType` is who the broadcast is sent as: `PLAIN_WORKSPACE` posts under
   the workspace's own name and logo and takes no `senderUserId`;
   `PLAIN_USER` posts as a Plain user and requires `senderUserId`. Get user
   IDs from `getMyUser` or `getUserByEmail`. Leave `senderEmailAddress` unset:
   it belongs to a future email channel, not to a Slack broadcast.
 - `sendTarget` is who the broadcast reaches, resolved to concrete channels at
   send time. `scope: ALL_RECIPIENTS` means every connected, enabled customer
   channel and rejects `filters`; `scope: MATCHING` requires `filters`. Omit
   `scope` to target only the channels named in `recipients`. Inside
   `filters`, dimensions AND together and values within a dimension OR, and
   it must constrain something â reaching everyone is `ALL_RECIPIENTS`, not an
   empty filter. `audienceIds` reference saved audiences
   (`getBroadcastAudiences`), which must be of the same type as the
   broadcast. Preview the live resolved set with
   `getBroadcastSendTargetRecipients`.

 Both the sender and the target can be left unset here and filled in later
 with `updateBroadcast`. Use `sendTestBroadcast` to post a test copy to
 channels you name before a human schedules the real send.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createbroadcastaudience`

Create Broadcast Audience · Write

Create a reusable broadcast audience: a named set of broadcast recipients,
 resolved to concrete Slack channels at send time rather than when saved.

 Required input fields: `name`, `type`, `filters`.

 - `name` identifies the audience internally and is never shown to recipients.
 - `type` must be `SLACK`. It is fixed at creation, and an audience can only
   be attached to a broadcast of the same type.
 - `filters` is what the audience selects. Dimensions on one node AND together
   and values within a dimension OR: `tierIds: [a, b]` means either tier,
   while `tierIds: [a]` plus `slackChannelNameContains: ["eng"]` means both
   must hold. An empty dimension cannot be written â omit it instead.
   - `tenantIds` / `tierIds` â get IDs from `getTenants` or `searchTenants`.
   - `tenantFields` â filter on a tenant field by its `externalFieldId`,
     supplying the value field matching the field's type.
   - `slackChannels` â channels pinned by ID, nothing re-resolves these, so an
     audience holding only these is a saved channel list.
   - `slackChannelNameContains` â unanchored, case-insensitive name
     substrings, ORed with each other and resolved at send time, so channels
     created or renamed later are picked up.
   - `and` / `or` / `not` hold further filters. `and` and `or` nest at most two
     levels deep. `not` may name a single dimension and nothing else.
   - `audienceIds` is rejected here: an audience cannot be defined in terms of
     another audience. It is only valid on a broadcast's own send target.
   - `filters: {}` â no rows at all â means every tenant, and is the only way
     to say so. Every nested node must constrain something.

 `filters` is validated against `type`, so a filter naming a dimension this
 type cannot resolve is rejected here rather than silently resolving to nobody
 at send time.

 Editing an audience later changes who every broadcast using it will reach on
 its next send.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createbusinesshoursoverride`

Create Business Hours Override · Write

Create an override that replaces a schedule's weekly hours from `startsOn` to `endsOn`, e.g. a holiday. Can't overlap another override on the same schedule. Requires the `businessHours:create` permission.

 Arguments:
 - input: CreateBusinessHoursOverrideInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createbusinesshoursschedule`

Create Business Hours Schedule · Write

Create a new named business hours schedule, optionally with its opening slots. Overlapping and adjacent slots are merged on write. Requires the `businessHours:create` permission.

 Arguments:
 - input: CreateBusinessHoursScheduleInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createchatapp`

Create Chat App · Write

Create a new chat app, which represents a source of chat messages (e.g. a specific in-product
 widget or integration). Optionally supply a `logo` using a previously uploaded workspace file ID.
 The logo must be a public, image-type workspace file.
 Requires the `chatApp:create` permission and the live-chat billing entitlement.

 Arguments:
 - input: CreateChatAppInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createcustomercardconfig`

Create Customer Card Config · Write

Creates a new customer card config. New configs are placed at the bottom of the list (order 100000) by default.

 A maximum of 25 card configs can be created per workspace. Returns a `too_many_customer_card_configs` error if the limit is reached. The `key` must be unique within the workspace and is used in the request payload sent to your API URL.

 Arguments:
 - input: CreateCustomerCardConfigInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createcustomerevent`

Create Customer Event · Write

Creates a customer event that appears in the timeline of every thread belonging to the customer.
 Use this to surface important product activity (e.g. a failed payment, a deleted API key) so
 your team has full context when helping the customer. The event layout is defined using Plain UI
 components. Requires the `customerEvent:create` permission.

 Arguments:
 - input: CreateCustomerEventInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createcustomergroup`

Create Customer Group · Write

Create a new customer group with a unique key, display name, and color. Use `upsertCustomerGroup` instead if you need idempotent create-or-update behaviour. Requires `customerGroup:create` permission.

 Arguments:
 - input: CreateCustomerGroupInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createcustomersurvey`

Create Customer Survey · Write

Creates a new customer survey (e.g. a CSAT survey) in the workspace. A survey is sent to the customer when a thread they're on is marked done and matches the survey's conditions, after `responseDelayMinutes`. Requires the `customerSurvey:create` permission and a billing entitlement for customer surveys. You must supply a template (currently only `csatTemplate` is supported) and can optionally specify targeting conditions, an enabled state, a send delay, and a per-customer cooldown interval.

 Arguments:
 - input: CreateCustomerSurveyInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createcustomrole`

Create Custom Role · Write

Creates a new custom role in the workspace. Custom roles inherit the Support permissions by default; set `permissionsPreset` to `VIEWER` for a view-only role that takes a viewer seat rather than a member seat. Thread visibility can be further limited using `upsertRoleScopes`. Requires the `roles:create` permission and the `custom_roles` billing entitlement.

 Arguments:
 - input: CreateCustomRoleInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createemailpreviewurl`

Create Email Preview Url · Write

Generates a short-lived URL that can be used to preview the rendered HTML of an email. Useful for displaying email content in external tools or dashboards.

 Arguments:
 - input: CreateEmailPreviewUrlInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createescalationpath`

Create Escalation Path · Write

Creates a new escalation path with the given name, optional description, and an ordered list of steps (up to 20).
 Each step routes the thread to either a specific user or the owners of a label type. Steps must not contain duplicates.
 Requires the `escalationPath:create` permission and the escalation paths feature entitlement.

 Arguments:
 - input: CreateEscalationPathInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createhelpcenter`

Create Help Center · Write

Create a help center with its names, description, type, subdomain, colour and logo. Requires the
 `helpCenter:edit` permission.
 Pass each field as its own argument, not wrapped in an `input` object.

 Custom JavaScript and sign-in can't be set here, because they run code on every public page or
 take a secret. The user sets them in the Plain app: call `getMyWorkspace` for this workspace's ID and
 give them the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/help-center/<helpCenterId>`
 (never the `<workspaceId>` placeholder).

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

Inputs:

- `description` (`string`, required): No description.
- `internalName` (`string`, required): No description.
- `publicName` (`string`, required): No description.
- `subdomain` (`string`, required): No description.
- `type` (`string`, required): No description.
- `color` (`string`, optional): No description.
- `logo` (`string`, optional): No description.

Example input: `{"description":"<description>","internalName":"<internalName>","publicName":"<publicName>","subdomain":"<subdomain>","type":"<type>"}`

### `plainmcp_createhelpcenterarticlegroup`

Create Help Center Article Group · Write

Create a new article group (folder) within a help center. Pass parentHelpCenterArticleGroupId to nest the group inside an existing group. Requires the helpCenter:edit permission.

 Arguments:
 - input: CreateHelpCenterArticleGroupInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createindexeddocument`

Create Indexed Document · Write

Manually add a single URL as an indexed document within an existing knowledge source. The document is fetched and queued for indexing asynchronously. Requires Plain AI to be enabled on the workspace; turn it on with `updateSetting` (code `plain_ai`, WORKSPACE scope, boolean `true`).

 Arguments:
 - input: CreateIndexedDocumentInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createissuetrackerissue`

Create Issue Tracker Issue · Write

Create a new issue in a connected issue tracker (Shortcut, Rootly, incident.io, or GitHub) and return a `ThreadLinkCandidate` that can immediately be used with `createThreadLink` to link it to a thread.
 The `fields` array must include all required fields for the chosen tracker (use `issueTrackerFields` to discover which fields are required and their allowed values).
 For GitHub, the acting user must have a personal GitHub user auth integration set up via `createGithubUserAuthIntegration`; the issue is created on their behalf.
 Requires the `threadLink:create` permission.

 Arguments:
 - input: CreateIssueTrackerIssueInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createknowledgesource`

Create Knowledge Source · Write

Create a new knowledge source that Plain AI will index and use when generating replies.
 Use type `SITEMAP` to crawl all URLs listed in a sitemap XML file, or type `URL` to index a
 single page. Requires Plain AI to be enabled on the workspace; turn it on with `updateSetting` (code `plain_ai`, WORKSPACE scope, boolean `true`).

 Arguments:
 - input: CreateKnowledgeSourceInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createmachineuser`

Create Machine User · Write

Creates a new machine user in the workspace. Each machine user can hold multiple API keys and optionally has a public-facing name shown to customers. Only one machine user of type AI_AGENT is allowed per workspace. Requires the `machineUser:create` permission.

 Arguments:
 - input: CreateMachineUserInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createmcpfeedback`

Create Mcp Feedback · Write

Report a problem or an idea about Plain's MCP tools to the Plain team. Call this when a tool fails unexpectedly, when you cannot do what the user asked with the available tools, or when you have a concrete idea that would make the tools more useful. Describe the problem in `comment` and name the tool in `toolName` if one was involved. Do not include customer data, personal information, or message content in `comment`. Requires the `aiFeatureFeedback:create` permission.

 Arguments:
 - input: CreateMcpFeedbackInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createmyfavoritepage`

Create My Favorite Page · Write

Saves a page as a favorite for the currently authenticated user. If the caller has already favorited a page with the same key, the existing record is returned unchanged (idempotent). Requires the `favoritePage:create` permission.

 Arguments:
 - input: CreateMyFavoritePageInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createsavedthreadsview`

Create Saved Threads View · Write

Creates a new saved threads view in the workspace. The view stores a named filter configuration (including sort order, grouping, layout, and display options) that can be applied when querying threads. Requires the savedThreadsView:create permission; depending on workspace settings, only admins or all members may be allowed to create views.

 Arguments:
 - input: CreateSavedThreadsViewInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createservicelevelagreement`

Create Service Level Agreement · Write

Create a service level agreement (SLA) for a tier. Each SLA commits your team to a time target and can be scoped by thread priority and/or label type. Provide exactly one of `firstResponseTimeMinutes` (time from thread creation to first reply), `nextResponseTimeMinutes` (time from each customer message to the next reply), `firstResolutionTimeMinutes` (time from thread creation to first Done), or `totalResolutionTimeMinutes` (time from thread creation to Done, including after reopen). A `nextResponseTimeMinutes` SLA can only be created if a `firstResponseTimeMinutes` SLA already exists on the same tier. Requires the `serviceLevelAgreement:create` permission.

 Arguments:
 - input: CreateServiceLevelAgreementInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createservicelevelagreementpolicy`

Create Service Level Agreement Policy · Write

Create an SLA policy together with its targets. A policy holds at most one target per type, and any combination of types is valid. Business hours schedules are chosen once per policy: every target that uses business hours must reference the same schedules, and a target with none is tracked 24/7. A policy only starts tracking once it is applied to a thread. Requires the `serviceLevelAgreement:create` permission.

 Arguments:
 - input: CreateServiceLevelAgreementPolicyInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createtask`

Create Task · Write

Create a new task in Plain.
 Only `title` is required. Optional fields:
   - `description`: longer context or instructions for the task.
   - `status`: TODO (default), IN_PROGRESS, DONE, or CANCELLED.
   - `priority`: 0 (urgent), 1 (high), 2 (normal, default), or 3 (low).
   - `accountId`: the account this task relates to.
   - `assignedTo`: provide either `userId` or `machineUserId`, not both.

 To link the new task to a thread, pass the returned task `id` to
 `createThreadLink` as `plainTask: { plainTaskId }`.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createtenant`

Create Tenant · Write

Creates a new tenant. Fails with a validation error if a tenant already exists with the provided `externalId`.
 Use `upsertTenant` instead if you want to create or update a tenant idempotently.
 Requires the `tenant:create` permission.
 Deprecated: Use createAccount instead

 Arguments:
 - input: CreateTenantInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createtestthread`

Create Test Thread · Write

Create a test thread for the signed-in user. Test threads come from a test customer rather
 than a real one. The scenario is picked for you and fixes the thread's title; its opening
 message is written shortly after this returns. They are listed by `testThreads` rather than
 `threads`, and only for the user who created them. Pass `channel: SLACK` to have the
 conversation happen in the workspace's Slack test channel instead of chat, so the caller sees a
 thread arrive the way a customer's Slack message does. Requires the `thread:create`
 permission.

 Arguments:
 - input: CreateTestThreadInput

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

Inputs:

- `input` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_createthreaddiscussion`

Create Thread Discussion · Write

Start a new discussion on a Plain thread. Supports Slack (posts a new thread in a connected Slack channel),
 Email (sends an outbound email chain), and Cursor workspace background agent discussions.
 The markdownContent field is sent as the opening message; for Slack discussions you may also supply
 slackBlocks (JSON-encoded Block Kit array) for rich Slack formatting while markdownContent serves as the
 Plain UI fallback. Prefer createDiscussion for new integrations.

 Arguments:
 - input: CreateThreadDiscussionInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createthreadevent`

Create Thread Event · Write

Creates a thread event that appears only in the timeline of the specified thread.
 Use this when an activity is specific to a single conversation rather than the customer
 as a whole. The event layout is defined using Plain UI components. Thread events are visible
 only to your team and are never shown to the customer. Requires the `threadEvent:create` and
 `threadEvent:read` permissions.

 Arguments:
 - input: CreateThreadEventInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createthreadfrommsteamsmessage`

Create Thread From Msteams Message · Write

Creates a thread from a message in a Microsoft Teams channel or chat that the Plain bot is a
 member of. This is the trigger for the `API_ONLY` value of the `ms_teams/ingestion_mode`
 workspace setting, and works in `AUTOMATIC` mode too. In a channel, the whole post the message
 belongs to becomes the thread. In a chat, the thread also includes the messages before and
 after this one, taken from the chat's 50 most recent messages. Thread creation runs asynchronously,
 so `thread` is only returned when the message was already on a thread. Requires the
 `thread:create` permission.

 Arguments:
 - input: CreateThreadFromMSTeamsMessageInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createthreadfromslackmessage`

Create Thread From Slack Message · Write

Creates a thread from a top-level message in a connected customer Slack channel, along with the
 replies Plain has already received for it. This is the trigger for the `API_ONLY` ingestion
 mode, and works in every other mode too. Ingestion runs asynchronously, so `thread` is
 returned only when the message had already been ingested. Requires the `thread:create`
 permission.

 This is not a way to import historic conversations: only replies Plain saw over the Slack
 events API are included, so a message from before the Plain bot joined the channel becomes a
 thread missing everything that was said before then.

 Arguments:
 - input: CreateThreadFromSlackMessageInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createtier`

Create Tier · Write

Creates a new tier. You can optionally add tenant and company members at creation time. Requires the `tier:create` permission.

 Arguments:
 - input: CreateTierInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createworkflow`

Create Workflow · Write

Create a new workflow. The workflow starts unpublished with no steps; use `bulkUpsertWorkflowSteps` to add steps and `updateWorkflow` to publish it.
 The `trigger` field must be a valid JSON-encoded trigger configuration. Read `workflowBuilderGuide` first for the trigger events and every step payload.

 Arguments:
 - input: CreateWorkflowInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createworkflowstep`

Create Workflow Step · Write

Add a single step to a workflow. For bulk changes to a workflow's step graph, prefer `bulkUpsertWorkflowSteps`. `workflowBuilderGuide` lists every step payload.

 Arguments:
 - input: CreateWorkflowStepInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createworkspacefiledownloadurl`

Create Workspace File Download Url · Write

Generate a fresh download URL for a workspace file. For PRIVATE files, returns a short-lived pre-signed URL (valid for 3 minutes); for PUBLIC files, returns a permanent CDN URL with no expiry. Call this whenever you need to give a user access to a file rather than caching URLs, as private URLs expire quickly.

 Arguments:
 - input: CreateWorkspaceFileDownloadUrlInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createworkspacefileuploadurl`

Create Workspace File Upload Url · Write

Begin a two-step file upload. Returns a pre-signed S3 form URL and form data fields that you POST the raw file bytes to directly from the client. The upload URL expires in 2 hours. Files must be 50 MB or smaller; certain executable file extensions (e.g. .exe, .bat) are rejected. Requires the `workspaceFile:create` permission.

 Arguments:
 - input: CreateWorkspaceFileUploadUrlInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createworkspaceslackintegrationfromauth`

Create Workspace Slack Integration From Auth · Write

Connect workspace Slack notifications using a Slack connection the workspace already has.
 There is no second OAuth install. Pass the id of an existing workspace Slack channel
 integration (`workspaceSlackChannelIntegrations`). Requires `workspaceSlackIntegration:create`.

 This does not choose the channel notifications post to, and it does not start posting.
 After it succeeds, set the `notification/slack/channel_id` setting on the new integration.
 Until that setting is present, Plain drops workspace Slack notifications for it.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_cursorrepositories`

Cursor Repositories · Write

Returns the list of GitHub repositories accessible via the given Cursor integration. Results are fetched live from the Cursor API and cached for up to 5 minutes. Requires the `workspaceCursorIntegration:read` permission.

 Arguments:
 - integrationId: ID!

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

Inputs:

- `integrationId` (`string`, required): No description.

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

### `plainmcp_customerbyemail`

Customer By Email · Write

Fetch a customer by their email address. Returns null if no customer with that email exists. Requires the `customer:read` permission.

 Arguments:
 - email: String!

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

Inputs:

- `email` (`string`, required): No description.

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

### `plainmcp_customerbyexternalid`

Customer By External Id · Write

Get a customer by its external ID. A customer's external ID is unique within a workspace.

 Arguments:
 - externalId: ID!

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

Inputs:

- `externalId` (`string`, required): No description.

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

### `plainmcp_customercardconfig`

Customer Card Config · Write

Returns a single customer card config by ID. Returns null if no config with the given ID exists. Deleting a card is done by the user in the Plain app. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/settings/customer-cards/<customerCardConfigId>` (never the `<workspaceId>` placeholder).

 Arguments:
 - customerCardConfigId: ID!

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

Inputs:

- `customerCardConfigId` (`string`, required): No description.

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

### `plainmcp_customercardconfigs`

Customer Card Configs · Write

Returns all customer card configs for the workspace, ordered by their `order` field. Deleting a card is done by the user in the Plain app. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/settings/customer-cards/<customerCardConfigId>` (never the `<workspaceId>` placeholder).

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

Inputs: none.

Example input: `{}`

### `plainmcp_customercardinstances`

Customer Card Instances · Write

Returns the current customer card instances for a customer, triggering a fresh load for any cards that are expired or in an error state.

 Cards that are cached and within their TTL are returned immediately as `CustomerCardInstanceLoaded`. Cards that need
 to be fetched are returned as `CustomerCardInstanceLoading`; subscribe to `customerCardInstanceChanges` to receive
 the result when loading completes. Pass `threadId` to provide thread context to your card API endpoint.

 A maximum of 25 card instances will be returned, due to only allowing 25 customer card configs.

 Arguments:
 - customerId: ID!
 - threadId: ID

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

Inputs:

- `customerId` (`string`, required): No description.
- `threadId` (`string`, optional): No description.

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

### `plainmcp_customergroup`

Customer Group · Write

Fetch a single customer group by its ID. Returns null if no group with the given ID exists in the workspace.

 Arguments:
 - customerGroupId: ID!

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

Inputs:

- `customerGroupId` (`string`, required): No description.

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

### `plainmcp_customergroups`

Customer Groups · Write

Fetch a paginated list of all customer groups in the workspace. Optionally filter by external IDs using the `filters` argument. Uses cursor-based pagination.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - filters: CustomerGroupsFilter
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `filters` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_customers`

Customers · Write

Fetch a paginated list of all customers in the workspace. Supports filtering by group membership,
 company, spam status and more via `filters`, and ordering via `sortBy`. Use cursor-based pagination
 (`first`/`after` or `last`/`before`) to page through large result sets. Requires the `customer:read` permission.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - filters: CustomersFilter
 - sortBy: CustomersSort
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `filters` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.
- `sortBy` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_customersurvey`

Customer Survey · Write

Fetches a single customer survey by its ID. Returns null if no survey with that ID exists.

 Arguments:
 - id: ID!

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

Inputs:

- `id` (`string`, required): No description.

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

### `plainmcp_customersurveys`

Customer Surveys · Write

Returns a paginated list of all customer surveys configured in the workspace, ordered by their display order. Use this to build management UIs or sync survey configurations.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_customrole`

Custom Role · Write

Returns a single custom role by its ID, or null if not found. Requires the `roles:read` permission. Changing a role's permissions or which threads it can see is done by the user in the Plain app. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/settings/roles/<customRoleId>` (never the `<workspaceId>` placeholder).

 Arguments:
 - customRoleId: ID!

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

Inputs:

- `customRoleId` (`string`, required): No description.

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

### `plainmcp_customroles`

Custom Roles · Write

Returns all custom roles defined in the workspace. Use this to list the custom roles you have created and inspect their scope definitions. Supports cursor-based pagination. Requires the `roles:read` permission. Changing a role's permissions or which threads it can see is done by the user in the Plain app. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/settings/roles/<customRoleId>` (never the `<workspaceId>` placeholder).
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_dismisssuggestedlabeltypes`

Dismiss Suggested Label Types · Write

Dismisses one or more pending suggested label types without creating label types. All ids must currently be PENDING. Requires the `labelType:create` permission.

 Arguments:
 - input: DismissSuggestedLabelTypesInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_duplicatebroadcast`

Duplicate Broadcast · Write

Copy an existing broadcast into a new DRAFT. Authoring fields (name prefixed
 with "Copy of", content, audience, sender, notification title, and related
 settings) are copied. Send history, schedule, recipients, and delivery stats
 are not â the copy is never scheduled or sent by this mutation.

 Returns the new draft's identity only. Call `getBroadcastDetails` with the
 returned id to read the copied content, sender, and audience.

 Requires `broadcast:create` and `broadcast:read`. Use `updateBroadcast` and
 `scheduleBroadcast` on the returned id if the draft should go out.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_editqueuedagentsessionmessage`

Edit Queued Agent Session Message · Write

Edits the text of a user message that is waiting in a Sidekick Agent AGENT_SESSION queue.
 Attachments are not editable in this flow â delete and re-send to change them. Rejects
 with `queued_agent_session_message_already_dispatched` if the agent has already
 picked the message up.

 Arguments:
 - input: EditQueuedAgentSessionMessageInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_emailsuppression`

Email Suppression · Write

Returns the suppression for a specific email address, or null when the address is not suppressed.

 Arguments:
 - emailAddress: String!

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

Inputs:

- `emailAddress` (`string`, required): No description.

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

### `plainmcp_enabledaitonerulestext`

Enabled Ai Tone Rules Text · Write

Returns all currently enabled AI tone rules serialised as a plain-text instruction string that is suitable for injecting into AI prompts. Returns `null` when no rules are enabled or the feature flag is off. Requires the `aiToneRule:read` permission.

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

Inputs: none.

Example input: `{}`

### `plainmcp_escalatethread`

Escalate Thread · Write

Advance a thread to the next step in its escalation path. The thread must already have an escalation path attached (via `updateThreadEscalationPath`) â if not, this call returns an error. Requires the `thread:edit` permission.

 Arguments:
 - input: EscalateThreadInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_escalationpath`

Escalation Path · Write

Fetches a single escalation path by its ID. Returns null if no escalation path with the given ID exists. Requires the `escalationPath:read` permission.

 Arguments:
 - id: ID!

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

Inputs:

- `id` (`string`, required): No description.

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

### `plainmcp_escalationpaths`

Escalation Paths · Write

Returns a paginated list of all escalation paths configured in the workspace. Requires the `escalationPath:read` permission.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_exportworkflowtemplate`

Export Workflow Template · Write

Build the files for publishing a workflow as a template; writes nothing. Requires the
 `workflowRule:create` permission.

 Arguments:
 - input: ExportWorkflowTemplateInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_forkthread`

Fork Thread · Write

Create a new thread by forking from a specific timeline entry in an existing thread. The forked thread starts at the chosen message, allowing you to split a conversation into a separate support case. Requires the `thread:create` permission.

 Arguments:
 - input: ForkThreadInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_generateaitonerulesfromdescription`

Generate Ai Tone Rules From Description · Write

Uses AI to generate a set of tone rules from a free-text description of the desired communication style (up to 5000 characters). The generated rules are saved to the workspace in a disabled state so you can review and selectively enable them. Returns the newly created rules. Requires the `aiToneRule:create` permission.

 Arguments:
 - input: GenerateAiToneRulesFromDescriptionInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_generatedreplies`

Generated Replies · Write

This API is in beta and may change without notice.
 Returns the current suggested reply candidates for a thread, scoped to the most recent inbound message from the customer or from a machine user. Suggestions submitted via `addGeneratedReply` are always included. Suggestions generated by Plain AI are excluded when suggested responses are disabled or not available for the workspace, or when an externally submitted suggestion exists for the same message. Returns an empty list if the thread has no such message or no suggestion is available. Requires the `generatedReply:read` permission.

 Arguments:
 - threadId: ID!
 - options: [GenerateReplyOption!]

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

Inputs:

- `threadId` (`string`, required): No description.
- `options` (`string`, optional): No description.

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

### `plainmcp_generatehelpcenterarticle`

Generate Help Center Article · Write

Use AI to generate one or more draft help center articles from the content of a support thread. Returns the generated articles in DRAFT status for review before publishing. Requires the helpCenter:edit permission.

 Arguments:
 - input: GenerateHelpCenterArticleInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_getbroadcastaudiencedetails`

Get Broadcast Audience Details · Write

Fetch a single broadcast audience by its ID, or null if no audience with
 that ID exists. Returns soft-deleted audiences (where `isDeleted` is true),
 so the record of what a past broadcast was sent to survives.

 In `filters`, dimensions on one node AND together and values within a
 dimension OR. `slackChannels` are channels pinned by ID; the
 `slackChannelNameContains` substrings are re-resolved at send time. An
 audience with no filters at all means every tenant. `type` is fixed at
 creation and must match the type of any broadcast the audience is attached
 to.

 Audience IDs start with `ba_`. Do not invent IDs â only use values returned
 by the MCP tools.

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

Inputs:

- `broadcastAudienceId` (`string`, required): No description.

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

### `plainmcp_getbroadcastaudiences`

Get Broadcast Audiences · Write

Fetch a paginated list of the workspace's broadcast audiences, newest first.
 An audience is a named, reusable set of broadcast recipients, resolved to
 concrete Slack channels at send time rather than when it was saved.
 Soft-deleted audiences are excluded.
 Pass `searchQuery` to narrow to audiences whose name contains it, matched
 case-insensitively and unanchored. The match happens in the database, so it
 finds audiences that are not on the current page.
 Use the `cursor` variable with the endCursor from the previous
 response's pageInfo to fetch the next page. The cursor is an opaque
 token: pass it back unchanged and do not construct, modify, or alter it.
 Set `first` to control page size (default 50).

 In `filters`, dimensions on one node AND together and values within a
 dimension OR: `tierIds: [a, b]` means either tier, while `tierIds: [a]` plus
 `slackChannelNameContains: ["eng"]` means both must hold. `slackChannels`
 are channels pinned by ID, so an audience holding only those is a saved
 channel list. `slackChannelNameContains` is re-resolved at send time, so it
 picks up channels created or renamed since. An audience with no filters at
 all means every tenant. An audience's own filters never contain
 `audienceIds` â an audience cannot be defined in terms of another one.

 Audience IDs start with `ba_`. Do not invent IDs â only use values returned
 by the MCP tools.

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

Inputs:

- `cursor` (`string`, optional): No description.
- `first` (`string`, optional): No description. Default: `50`.
- `searchQuery` (`string`, optional): Narrows to audiences whose name contains this, matched case-insensitively and unanchored. Searched in the database rather than on the page, so it finds audiences a client has not loaded.

Example input: `{}`

### `plainmcp_getbroadcastdetails`

Get Broadcast Details · Write

Fetch a single broadcast by its ID, including its authored content and who
 it is targeted at. Returns null if no broadcast with that ID exists, and
 returns soft-deleted broadcasts (where `isDeleted` is true).

 `content` is encoded as `contentFormat` says: `TIPTAP` is a serialised
 Tiptap JSON document (what the Plain app writes); `SLACK_BLOCK_KIT` is a
 JSON array of Slack blocks. Neither is plain text or markdown.

 `sendTarget` is who the broadcast reaches, resolved to concrete channels at
 send time rather than now. `scope: ALL_RECIPIENTS` means every connected,
 enabled customer channel and carries no `filters`; `scope: MATCHING` means
 only what `filters` selects. `recipients` are channels named outright and
 added to whatever `filters` resolves to; `excludeRecipients` are subtracted
 last. Inside `filters`, dimensions on one node AND together and values within
 a dimension OR. `audienceIds` reference saved audiences â read them with
 `getBroadcastAudienceDetails`. Preview the live resolved set with
 `getBroadcastSendTargetRecipients`.

 `appendUnsubscribeLink` is the per-broadcast override for whether Plain
 appends an unsubscribe footer when this broadcast is delivered. Null inherits
 the workspace default from `getBroadcastUnsubscribeLinkSetting`; true or
 false overrides that default for this broadcast only. It controls footer
 emission, not whether unsubscribes are honoured.

 `latestSend` is the most recent non-test send, and where progress lives. Use
 `getBroadcastSends` for the full send history, and
 `getBroadcastSendDeliveries` for the recipients of one send.

 Broadcast IDs start with `bc_`, audience IDs with `ba_`. Broadcast URL format:
 https://app.plain.com/workspace/{workspaceId}/broadcasts/{broadcastId}
 where {workspaceId} is fetched via `getMyWorkspace` (starts with `w_`).
 Do not invent IDs â only use values returned by the MCP tools.

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

Inputs:

- `broadcastId` (`string`, required): No description.

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

### `plainmcp_getbroadcastrecipientunsubscribes`

Get Broadcast Recipient Unsubscribes · Write

Fetch a paginated list of Slack channels that have opted out of broadcasts,
 newest first. Use this to answer "is this channel unsubscribed?" or to audit
 who will be skipped on the next send.

 An unsubscribe is global per channel: the channel is excluded from every
 broadcast audience until someone resubscribes it. That is a different reason
 for missing a send than "the filter never matched" â check this list (or
 `getBroadcastSendTargetRecipients` / `SKIPPED_UNSUBSCRIBED` deliveries) before
 concluding a filter is wrong.

 Optionally narrow with `searchQuery`: matched case-insensitively and
 unanchored against the connected channel's current name or the Slack
 workspace (team) name. A channel-name hit only includes currently connected
 channels. A workspace-name hit returns every opted-out channel in that
 Slack workspace, including disconnected ones (`connectedSlackChannel` null).
 Disconnected channels also appear when listing without a query. Omit
 `searchQuery` rather than passing an empty string.

 A search hit is not proof the named channel is unsubscribed. Inspect each
 row: treat it as that channel only when `connectedSlackChannel.name` matches
 (after stripping a leading `#`) or `slackChannelId` matches. Other rows are
 siblings from a workspace whose name contained the query â do not report
 those as the channel the user asked about.

 Use the `cursor` variable with the endCursor from the previous response's
 pageInfo to fetch the next page. The cursor is an opaque token: pass it
 back unchanged and do not construct, modify, or alter it. Set `first` to
 control page size (default 50).

 To remove an unsubscribe, call `resubscribeBroadcastRecipient` with the same
 `slackTeamId` + `slackChannelId`. To add one, call
 `unsubscribeBroadcastRecipient`.

 Unsubscribe IDs start with `bru_`. Do not invent IDs â only use values
 returned by the MCP tools.

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

Inputs:

- `cursor` (`string`, optional): No description.
- `first` (`string`, optional): No description. Default: `50`.
- `searchQuery` (`string`, optional): Narrows to unsubscribes whose connected channel name contains this, or whose Slack workspace name contains this, matched case-insensitively and unanchored. Channel-name matches exclude disconnected channels; a workspace-name match returns every opted-out channel in that Slack workspace, including disconnected ones.

Example input: `{}`

### `plainmcp_getbroadcasts`

Get Broadcasts · Write

Fetch a paginated list of the workspace's broadcasts, newest first.
 A broadcast is a message authored once and posted to many Slack channels
 at once. Soft-deleted broadcasts are excluded from this list.
 Optionally narrow the list with `statuses`, e.g. ["DRAFT"] for broadcasts
 still being written or ["SENT"] for ones already delivered. A broadcast's
 status comes from its latest real send, so no status reflects a test send.
 Omit `statuses` to list every status â an empty list is rejected.
 Use the `cursor` variable with the endCursor from the previous
 response's pageInfo to fetch the next page. The cursor is an opaque
 token: pass it back unchanged and do not construct, modify, or alter it.
 Set `first` to control page size (default 50).

 `appendUnsubscribeLink` is the per-broadcast override for the unsubscribe
 footer (null inherits `getBroadcastUnsubscribeLinkSetting`).

 `latestSend` is the most recent non-test send and is where progress lives â
 read `deliveryCounts` from it rather than counting deliveries.
 `skippedUnsubscribed` is channels matched at resolve time but not posted
 because they opted out; it is not part of `total`. Use `getBroadcastSends`
 for a broadcast's full send history, and `getBroadcastSendDeliveries` for
 the recipients of one send.

 Broadcast IDs start with `bc_`. Broadcast URL format:
 https://app.plain.com/workspace/{workspaceId}/broadcasts/{broadcastId}
 where {workspaceId} is fetched via `getMyWorkspace` (starts with `w_`).
 Do not invent IDs â only use values returned by the MCP tools.

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

Inputs:

- `cursor` (`string`, optional): No description.
- `first` (`string`, optional): No description. Default: `50`.
- `statuses` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_getbroadcastsenddeliveries`

Get Broadcast Send Deliveries · Write

Fetch the individual recipients of one broadcast send â which channel got the
 message, which did not, and why. Use this to answer "who missed it" or
 "did this channel get it".

 A delivery is one recipient's copy of the broadcast within one send. Narrow
 with `deliveryStatuses`, e.g. ["FAILED"], ["SENT"], or
 ["SKIPPED_UNSUBSCRIBED"]. `SKIPPED_UNSUBSCRIBED` means the channel matched the
 audience at send time but was not posted because it had opted out â that is a
 different reason for missing the message than a filter that never matched, or
 a `FAILED` delivery with a `failureReason`. Read `failureReason` for why a
 `FAILED` delivery did not land. Combine with `searchQuery` to find one
 recipient: matched case-insensitively and unanchored against the recorded
 Slack channel name, the Slack channel id, and the email address, so a
 delivery is found by whichever of those identifies it. The match happens in
 the database, so it finds deliveries that are not on the current page. Omit
 `searchQuery` rather than passing an empty string.
 `slackChannelName` is the name recorded when the send resolved, so it still
 names a channel that was later renamed or disconnected; it is null for
 deliveries from before the name was recorded.

 This reads the send named by `broadcastSendId`. Get the id from
 `getBroadcastSends`; use `isTest` to distinguish test from real sends there.
 An id belonging to another broadcast matches nothing.

 `cursor` and `first` page that send's deliveries. Use the endCursor from the
 previous response's `deliveries.pageInfo`; it stays valid because every page
 selects the same send. The cursor is an opaque token: pass it back unchanged
 and do not construct, modify, or alter it.

 `deliveryCounts` on the send is the unfiltered summary of the whole send.
 `skippedUnsubscribed` is not part of `total`. `deliveries.totalCount` is how
 many rows match `deliveryStatuses` and `searchQuery`. A broadcast with
 hundreds of recipients has hundreds of deliveries, so prefer the counts plus
 a `deliveryStatuses: ["FAILED"]` or `["SKIPPED_UNSUBSCRIBED"]` query over
 paging the whole list. `edges` is empty when the broadcast has no send with
 that id. For the full send history use `getBroadcastSends`. For the live
 opted-out list independent of any send, use
 `getBroadcastRecipientUnsubscribes`.

 Broadcast IDs start with `bc_`, send IDs with `bcs_`, delivery IDs with
 `bcsd_`. Do not invent IDs â only use values returned by the MCP tools.

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

Inputs:

- `broadcastId` (`string`, required): No description.
- `broadcastSendId` (`string`, required): No description.
- `cursor` (`string`, optional): No description.
- `deliveryStatuses` (`string`, optional): No description.
- `first` (`string`, optional): No description. Default: `50`.
- `searchQuery` (`string`, optional): No description.

Example input: `{"broadcastId":"<broadcastId>","broadcastSendId":"<broadcastSendId>"}`

### `plainmcp_getbroadcastsends`

Get Broadcast Sends · Write

Fetch the send history of one broadcast, newest first. Use this to answer
 "has this broadcast gone out, and how far did each run get".

 One send is one run of the broadcast. A broadcast that has been sent once and
 tested twice has three sends. Test sends post real messages and collect real
 deliveries, so check `isTest` before presenting an entry as a real send, or
 pass `isTest: false` to exclude them. `statuses` narrows to sends in
 particular states; `DRAFT` is not one of them, since it describes a broadcast
 with no send rather than a send. Omit a filter to leave that dimension
 unconstrained â an empty list is rejected.

 `deliveryCounts` is how far a send got, summarised across its recipients. It
 is one query per send regardless of how many recipients there are, so read it
 rather than counting recipients. `skippedUnsubscribed` is channels matched at
 resolve time but not posted because they opted out; it is recorded separately
 and is not part of `total`. For the individual recipients of one send â
 which channel got it, which failed and why, which were skipped as
 unsubscribed â use `getBroadcastSendDeliveries`.

 Use the `cursor` variable with the endCursor from the previous response's
 pageInfo to fetch the next page. The cursor is an opaque token: pass it
 back unchanged and do not construct, modify, or alter it. Set `first` to
 control page size (default 20).

 Broadcast IDs start with `bc_`, send IDs with `bcs_`. Do not invent IDs â
 only use values returned by the MCP tools.

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

Inputs:

- `broadcastId` (`string`, required): No description.
- `cursor` (`string`, optional): No description.
- `first` (`string`, optional): No description. Default: `20`.
- `isTest` (`string`, optional): No description.
- `statuses` (`string`, optional): No description.

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

### `plainmcp_getbroadcastsendtargetrecipients`

Get Broadcast Send Target Recipients · Write

Preview who a broadcast send target resolves to right now â the live
 filter-to-recipient count, not a past send. Use this to answer "how many
 channels would get this?" and "why is the count zero?" before a human
 schedules the real send.

 Point-in-time: the number moves as tenants, tiers, tenant fields and
 connected channels change. Resolved through the same path a send uses, so
 it is what would actually be delivered to rather than an estimate assembled
 another way. Unsubscribed channels are excluded from `count` the same way a
 real send excludes them.

 Required input: `type` (must be `SLACK`) and `sendTarget`.

 - `sendTarget.scope: ALL_RECIPIENTS` means every connected, enabled customer
   channel and rejects `filters`. `scope: MATCHING` requires `filters`.
   Omit `scope` to target only channels named in `recipients`.
 - Inside `filters`, dimensions on one node AND together and values within a
   dimension OR. `audienceIds` reference saved audiences
   (`getBroadcastAudiences`).
 - `recipients` are channels named outright and added to whatever `filters`
   resolves to; `excludeRecipients` are subtracted last.

 When `count` is zero, read `emptyReason` before guessing â and treat an opt-out
 as a real possibility even when the reason is not `ALL_RECIPIENTS_UNSUBSCRIBED`:
 - `NO_TENANTS_MATCHED` â the filter itself matched no tenants.
 - `NO_RECIPIENTS_RESOLVED` â nothing reachable remained. That includes
   disabled / disconnected channels, and also every pin-by-id match
   (`filters.slackChannels` or named `recipients`) having opted out. Name /
   tenant filters usually surface the same opt-out as
   `ALL_RECIPIENTS_UNSUBSCRIBED` instead. Before telling the user a named
   channel is unreachable, call `getBroadcastRecipientUnsubscribes` (or
   resubscribe and re-preview) â an opt-out is not a broken connection.
 - `EXCLUDED_BY_AUDIENCE` â something matched, then the target's own
   exclusions removed all of it.
 - `ALL_RECIPIENTS_UNSUBSCRIBED` â something matched, and every channel it
   would have reached has opted out. That is not a broken filter; list the
   opted-out channels with `getBroadcastRecipientUnsubscribes` and restore
   one with `resubscribeBroadcastRecipient` if appropriate.

 `recipients` pages the channels that remain after unsubscribes are excluded.
 Use `searchQuery` to find one by name without changing `count`. Use the
 `cursor` variable with the endCursor from the previous response's pageInfo
 to fetch the next page. The cursor is an opaque token: pass it back
 unchanged and do not construct, modify, or alter it.

 For a broadcast that has already sent, prefer `getBroadcastSendDeliveries`
 with `deliveryStatuses: ["SKIPPED_UNSUBSCRIBED"]` and the send's
 `deliveryCounts.skippedUnsubscribed` â those record what happened at send
 time rather than a live preview.

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

Inputs:

- `input` (`string`, required): No description.
- `cursor` (`string`, optional): No description.
- `first` (`string`, optional): No description. Default: `50`.
- `searchQuery` (`string`, optional): No description.

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

### `plainmcp_getbroadcastunsubscribelinksetting`

Get Broadcast Unsubscribe Link Setting · Write

Read whether this workspace appends an unsubscribe link to outgoing
 broadcasts by default.

 This is emission-only: it controls whether the footer link is rendered on
 delivered messages. It does not enable or disable unsubscribes themselves â
 channels can still be opted out via `unsubscribeBroadcastRecipient` or the
 public link, and audience resolution always honours existing unsubscribes
 regardless of this setting.

 Precedence when a broadcast is delivered:
 1. If the broadcast has an explicit `appendUnsubscribeLink` override, that
    value wins for that broadcast only.
 2. Otherwise this workspace default applies.

 Null on the broadcast means "inherit this setting". The default for a new
 workspace is false (no footer). Read a broadcast's own override with
 `getBroadcastDetails`.

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

Inputs: none.

Example input: `{}`

### `plainmcp_getknowledgegapdetails`

Get Knowledge Gap Details · Write

Fetch a specific knowledge gap by its ID, including its task and the threads
 where customers hit it. Each signal's `threadId` is a thread where Ari could
 not answer the customer; pass it to `getThreadDetails` to read the question.
 Use `signalsCursor` with the endCursor from the previous response's signals
 pageInfo to fetch more signals. The cursor is an opaque token: pass it back
 unchanged and do not construct, modify, or alter it.

 To close a gap: check `searchKnowledgeSources` for existing content, draft or
 improve it (e.g. via `upsertHelpCenterArticle`), then set the gap's task to
 DONE with `updateTask`. If the gap is not worth addressing, set the task to
 CANCELLED instead.

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

Inputs:

- `knowledgeGapId` (`string`, required): No description.
- `signalsCursor` (`string`, optional): No description.
- `signalsFirst` (`string`, optional): No description. Default: `25`.

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

### `plainmcp_getknowledgegaps`

Get Knowledge Gaps · Write

Fetch knowledge gaps: questions customers ask that Ari, Plain's AI agent,
 could not answer from the workspace's knowledge sources. Each gap is detected
 from Ari replies and has a task raised for it; the gap's status follows that
 task's status.
 By default, returns only open gaps (TODO, which includes IN_PROGRESS tasks),
 most frequently hit first. To include all gaps, pass statuses: null. To see
 the most recently hit gaps, pass sortBy: { field: LAST_SEEN_AT, direction: DESC }.
 To scope to a time window, pass `lastSeenAt` with ISO 8601 bounds, e.g.
 { after: "2026-10-12T00:00:00Z" } for gaps hit at least once since then.
 `signals.totalCount` is how many times customers have hit the gap, all time,
 even when `lastSeenAt` is set.
 Use the `cursor` variable with the endCursor from the previous
 response's pageInfo to fetch the next page. The cursor is an opaque
 token: pass it back unchanged and do not construct, modify, or alter it.
 Set `first` to control page size (default 25).

 Pass a gap's `id` to `getKnowledgeGapDetails` for the threads that hit it.

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

Inputs:

- `cursor` (`string`, optional): No description.
- `first` (`string`, optional): No description. Default: `25`.
- `lastSeenAt` (`string`, optional): No description.
- `sortBy` (`string`, optional): No description.
- `statuses` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_getknowledgesources`

Get Knowledge Sources · Write

Fetch the workspace's knowledge sources: the sitemaps and single URLs that
 Plain indexes for Ari and other AI features.
 Each source's `status` shows whether it is pending, indexed (with `indexedAt`),
 or failed (with a `reason`). Sitemaps also include counts of their crawled
 pages by status, so a sitemap can be indexed overall while some pages failed.
 Use the `cursor` variable with the endCursor from the previous
 response's pageInfo to fetch the next page. The cursor is an opaque
 token: pass it back unchanged and do not construct, modify, or alter it.
 Set `first` to control page size (default 25).

 To pick up changes to a source's content without waiting for the automatic
 weekly reindex, pass its `id` to `reindexKnowledgeSource`.

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

Inputs:

- `cursor` (`string`, optional): No description.
- `first` (`string`, optional): No description. Default: `25`.

Example input: `{}`

### `plainmcp_getmsteamsmembersforchannel`

Get Msteams Members For Channel · Write

Fetches the current members of a Microsoft Teams channel directly from the Teams API. Requires a workspace MS Teams integration and calls Microsoft Graph; use this to populate member lists when resolving customers for a channel.

 Arguments:
 - msTeamsChannelId: ID!
 - msTeamsTeamId: ID!

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

Inputs:

- `msTeamsChannelId` (`string`, required): No description.
- `msTeamsTeamId` (`string`, required): No description.

Example input: `{"msTeamsChannelId":"<msTeamsChannelId>","msTeamsTeamId":"<msTeamsTeamId>"}`

### `plainmcp_getmyassignedtasks`

Get My Assigned Tasks · Write

Fetch tasks assigned to a specific user in Plain.
 Pass the authenticated user's ID (from `getMyUser`, starts with `u_`) as `userId`.
 By default, returns only open tasks (TODO and IN_PROGRESS), highest priority first.
 To include all tasks regardless of status, pass statuses: null.
 To filter by specific statuses, pass an array like statuses: [TODO, DONE].
 Use the `cursor` variable with the endCursor from the previous
 response's pageInfo to fetch the next page. The cursor is an opaque
 token: pass it back unchanged and do not construct, modify, or alter it.
 Set `first` to control page size (default 25).

 Task URL format: https://app.plain.com/workspace/{workspaceId}/tasks/{ref}/
 where {ref} is the task `ref` field on each result (e.g. `T-123`) and
 {workspaceId} is fetched via `getMyWorkspace` (starts with `w_`). Do not
 invent IDs. Only use values returned by the MCP tools.

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

Inputs:

- `userId` (`string`, required): No description.
- `cursor` (`string`, optional): No description.
- `first` (`string`, optional): No description. Default: `25`.
- `statuses` (`string`, optional): No description.

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

### `plainmcp_gettaskdetails`

Get Task Details · Write

Fetch detailed information about a specific task by its ID.
 If you only have the human-readable ref shown in the Plain app (e.g. `T-123`),
 use `getTaskDetailsByRef` instead.
 Returns the task's status, priority, account, assignee, the threads linked to
 it, and the entities that raised it (e.g. a knowledge gap).
 Use `threadLinksCursor` with the endCursor from the previous response's
 threadLinks pageInfo to fetch more linked threads. The cursor is an opaque
 token: pass it back unchanged and do not construct, modify, or alter it.
 Linked threads only carry a `threadId`; pass it to `getThreadDetails` for the
 thread's title, status, and context. Thread URL format:
 https://app.plain.com/workspace/{workspaceId}/thread/{threadId}/ where
 {workspaceId} is fetched via `getMyWorkspace` (starts with `w_`).

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

Inputs:

- `taskId` (`string`, required): No description.
- `threadLinksCursor` (`string`, optional): No description.
- `threadLinksFirst` (`string`, optional): No description. Default: `25`.

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

### `plainmcp_gettaskdetailsbyref`

Get Task Details By Ref · Write

Fetch detailed information about a specific task by its human-readable ref,
 as displayed in the Plain app (e.g. `T-123`).
 Returns the task's status, priority, account, assignee, the threads linked to
 it, and the entities that raised it (e.g. a knowledge gap).
 Use `threadLinksCursor` with the endCursor from the previous response's
 threadLinks pageInfo to fetch more linked threads. The cursor is an opaque
 token: pass it back unchanged and do not construct, modify, or alter it.
 Linked threads only carry a `threadId`; pass it to `getThreadDetails` for the
 thread's title, status, and context. Thread URL format:
 https://app.plain.com/workspace/{workspaceId}/thread/{threadId}/ where
 {workspaceId} is fetched via `getMyWorkspace` (starts with `w_`).

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

Inputs:

- `ref` (`string`, required): No description.
- `threadLinksCursor` (`string`, optional): No description.
- `threadLinksFirst` (`string`, optional): No description. Default: `25`.

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

### `plainmcp_gettasks`

Get Tasks · Write

Fetch a paginated list of tasks in the workspace.
 By default, returns only open tasks (TODO and IN_PROGRESS), most recently
 updated first. To include all tasks regardless of status, pass statuses: null.
 Narrow results with `assignedToUserIds` (user IDs, starting with `u_`),
 `isAssigned`, or `accountIds`. Change ordering with `sortBy`, e.g.
 { field: PRIORITY, direction: ASC } (lower priority numbers are more urgent).
 For tasks assigned to the authenticated user, prefer `getMyAssignedTasks`.
 Use the `cursor` variable with the endCursor from the previous
 response's pageInfo to fetch the next page. The cursor is an opaque
 token: pass it back unchanged and do not construct, modify, or alter it.
 Set `first` to control page size (default 25).

 Task URL format: https://app.plain.com/workspace/{workspaceId}/tasks/{ref}/
 where {ref} is the task `ref` field on each result (e.g. `T-123`) and
 {workspaceId} is fetched via `getMyWorkspace` (starts with `w_`). Do not
 invent IDs. Only use values returned by the MCP tools.

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

Inputs:

- `accountIds` (`string`, optional): No description.
- `assignedToUserIds` (`string`, optional): No description.
- `cursor` (`string`, optional): No description.
- `first` (`string`, optional): No description. Default: `25`.
- `isAssigned` (`string`, optional): No description.
- `sortBy` (`string`, optional): No description.
- `statuses` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_githubuserauthintegration`

Github User Auth Integration · Write

Returns the GitHub user authentication integration for the currently authenticated user, or null if no integration exists.

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

Inputs: none.

Example input: `{}`

### `plainmcp_helpcenter`

Help Center · Write

Fetch a single help center by ID. Returns null if not found.

 Arguments:
 - id: ID!

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

Inputs:

- `id` (`string`, required): No description.

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

### `plainmcp_helpcenterarticle`

Help Center Article · Write

Fetch a single help center article by ID. Returns null if not found. Deleting an article is done by the user in the Plain app. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/help-center/<helpCenterId>/articles/<articleId>` (never the `<workspaceId>` placeholder).

 Arguments:
 - id: ID!

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

Inputs:

- `id` (`string`, required): No description.

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

### `plainmcp_helpcenterarticlebyslug`

Help Center Article By Slug · Write

Fetch an article by its URL slug within a specific help center. Slugs are unique per help center. Returns null if no article matches.

 Arguments:
 - helpCenterId: ID!
 - slug: String!

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

Inputs:

- `helpCenterId` (`string`, required): No description.
- `slug` (`string`, required): No description.

Example input: `{"helpCenterId":"<helpCenterId>","slug":"<slug>"}`

### `plainmcp_helpcenterarticlegroup`

Help Center Article Group · Write

Fetch a single article group by ID. Returns null if not found.

 Arguments:
 - id: ID!

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

Inputs:

- `id` (`string`, required): No description.

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

### `plainmcp_helpcenterarticlegroupbyslug`

Help Center Article Group By Slug · Write

Fetch an article group by its URL slug within a specific help center. Returns null if no group matches.

 Arguments:
 - helpCenterId: ID!
 - slug: String!

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

Inputs:

- `helpCenterId` (`string`, required): No description.
- `slug` (`string`, required): No description.

Example input: `{"helpCenterId":"<helpCenterId>","slug":"<slug>"}`

### `plainmcp_helpcenterindex`

Help Center Index · Write

Fetch the navigation index for a help center by its ID: every heading, article group and
 article in sidebar order, with its type, id, parent and title. Returns null if not found.

 A large help center's index is returned in one response, so this keeps to what an index
 needs. Read an article's slug, description or content with `helpCenterArticle`.

 To change the index, pass the returned `hash` to `updateHelpCenterIndex` with every item
 as `{ type, entityId: id, parentId, title }`. The call fails if the index changed since
 you read it; read it again and reapply your change.

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

Inputs:

- `id` (`string`, required): No description.

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

### `plainmcp_helpcenters`

Help Centers · Write

List all help centers in the workspace. Supports cursor-based pagination and optional filtering. Custom JavaScript, sign-in, access, the type and the subdomain of an existing help center are set by the user in the Plain app. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/help-center/<helpCenterId>` (never the `<workspaceId>` placeholder), or `â¦/help-center/create` for a new help center that needs them.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String
 - filters: HelpCentersFilter

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `filters` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_importjobdefinition`

Import Job Definition · Write

Fetch the import job definition for a connected service integration. Pass isEnabled: true to return only the currently active definition, or isEnabled: false to return any definition regardless of enabled state. Returns null if no matching definition exists.

 Arguments:
 - serviceIntegrationKey: String!
 - isEnabled: Boolean

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

Inputs:

- `serviceIntegrationKey` (`string`, required): No description.
- `isEnabled` (`string`, optional): No description.

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

### `plainmcp_importjobs`

Import Jobs · Write

List import jobs, optionally filtered by service integration key or import job definition ID. Each
 job is a single sync run of an import job definition, with a run per entity type showing its
 progress, status and timing.

 Each job carries its whole run history, so a page holds 10 jobs unless you pass a different
 `first`. Page on with `after`.

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

Inputs:

- `after` (`string`, optional): No description.
- `filters` (`string`, optional): No description.
- `first` (`string`, optional): No description. Default: `10`.

Example input: `{}`

### `plainmcp_indexeddocuments`

Indexed Documents · Write

List indexed documents across your workspace, newest first. Use the `knowledgeSourceId` filter to retrieve only the documents belonging to a specific knowledge source, and the `statuses` filter to retrieve only documents with a given ingestion status.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String
 - filters: IndexedDocumentsFilter

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `filters` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_interpolationvariables`

Interpolation Variables · Write

List the static variables that can be interpolated with `{{ key }}` in snippets, auto-responses, bulk replies and workflow actions, with a label and group for building a picker. Thread field variables are not included; derive them from the thread field schemas as `threadField.<key>`. Requires the `workspace:read` permission.

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

Inputs: none.

Example input: `{}`

### `plainmcp_issuetrackerfields`

Issue Tracker Fields · Write

Fetch the configurable fields for a connected issue tracker (e.g. Shortcut, Rootly, incident.io, GitHub).
 Pass previously selected field values in `selectedFields` so that dependent fields (such as labels that depend on a chosen repository) are populated correctly.
 Returns the list of fields the caller must or may provide when calling `createIssueTrackerIssue`.
 Requires the `threadLinkCandidate:search` permission.

 Arguments:
 - issueTrackerType: String! â One of `github_issue`, `shortcut_issue`, `incidentio_incident` or `rootly_incident`.
 - selectedFields: [SelectedIssueTrackerField!]!

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

Inputs:

- `issueTrackerType` (`string`, required): One of `github_issue`, `shortcut_issue`, `incidentio_incident` or `rootly_incident`.
- `selectedFields` (`array`, required): No description.

Example input: `{"issueTrackerType":"<issueTrackerType>","selectedFields":[]}`

### `plainmcp_knowledgesource`

Knowledge Source · Write

Fetch a single knowledge source by its ID. Returns null if no knowledge source with the given ID exists.

 Arguments:
 - knowledgeSourceId: ID!

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

Inputs:

- `knowledgeSourceId` (`string`, required): No description.

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

### `plainmcp_knowledgesourcecitationsbythread`

Knowledge Source Citations By Thread · Write

Returns the knowledge sources cited by AI agent replies across a thread, each linked to the timeline entry it was cited in and carrying a snapshot title (and best-effort url) plus the live cited document when it still exists. Returns an empty list when the thread has no citations or is not visible to the caller. Requires the `thread:read` and `timeline:read` permissions.

 Arguments:
 - threadId: ID!

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

Inputs:

- `threadId` (`string`, required): No description.

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

### `plainmcp_knowledgesources`

Knowledge Sources · Write

List all knowledge sources in the workspace. Use the `type` filter to retrieve only sitemap or single-URL sources.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String
 - filters: KnowledgeSourcesFilter

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `filters` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_labeltype`

Label Type · Write

Returns a single label type by its ID. Returns null if no label type with that ID exists. Requires the `labelType:read` permission. A team's assignment settings, such as its round-robin capacity, come from `teamSettings`.

 Arguments:
 - labelTypeId: ID!

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

Inputs:

- `labelTypeId` (`string`, required): No description.

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

### `plainmcp_labeltypebyexternalid`

Label Type By External Id · Write

Returns a label type by its external ID. Returns null if no match is found. External IDs are unique within a workspace and are set when creating or updating a label type. Requires the `labelType:read` permission.

 Arguments:
 - externalId: ID!

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

Inputs:

- `externalId` (`string`, required): No description.

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

### `plainmcp_linearappintegration`

Linear App Integration · Write

The workspace-level Linear app integration, if one has been authorised. Not connected yet? Connecting needs the user's approval in the provider. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/install/linear` (never the `<workspaceId>` placeholder), which takes them straight to Linear to approve, then read this again to confirm.

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

Inputs: none.

Example input: `{}`

### `plainmcp_lockthread`

Lock Thread · Write

Lock a thread to prevent further replies or changes by non-admin users. Use this when a resolution is final and you want to freeze the conversation. Requires the `thread:edit` permission.

 Arguments:
 - input: LockThreadInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_machineuser`

Machine User · Write

Fetches a single machine user by ID. Returns null if no machine user with the given ID exists in
 the workspace. Its API keys and their permissions come from `machineUserApiKeys`, which needs the
 `apiKey:read` permission.

 Deleting a machine user, and creating, changing or deleting its API keys, are done by the user in
 the Plain app, so a key's secret never passes through an agent. Call `getMyWorkspace` for this
 workspace's ID and give the user the full link with that ID in it,
 `https://app.plain.com/workspace/w_â¦/settings/machine-users/<machineUserId>`, or `â¦/api-keys/add`
 and `â¦/api-keys/<apiKeyId>` under it for keys (never the `<workspaceId>` placeholder).

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

Inputs:

- `machineUserId` (`string`, required): No description.

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

### `plainmcp_machineuserapikeys`

Machine User Api Keys · Write

Lists a machine user's API keys with each key's permissions. Requires the `apiKey:read`
 permission.

 Creating, changing and deleting API keys are done by the user in the Plain app, so a key's
 secret never passes through an agent. Call `getMyWorkspace` for this workspace's ID and give the
 user the full link with that ID in it,
 `https://app.plain.com/workspace/w_â¦/settings/machine-users/<machineUserId>/api-keys/add`, or
 `â¦/api-keys/<apiKeyId>` for an existing key (never the `<workspaceId>` placeholder), then read
 this again to confirm.

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

Inputs:

- `machineUserId` (`string`, required): No description.
- `after` (`string`, optional): No description.
- `first` (`string`, optional): No description. Default: `50`.

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

### `plainmcp_machineusers`

Machine Users · Write

Returns a paginated list of all machine users in the workspace. Use the optional `filters.type` argument to restrict results to a specific machine user type (e.g. API_USER or AI_AGENT). Deleting a machine user, and creating, changing or deleting its API keys, are done by the user in the Plain app, so a key's secret never passes through an agent. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/settings/machine-users/<machineUserId>` (never the `<workspaceId>` placeholder), or `â¦/api-keys/add` and `â¦/api-keys/<apiKeyId>` under it for keys.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - filters: MachineUsersFilter
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `filters` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_markcustomerasspam`

Mark Customer As Spam · Write

Flag a customer as spam. This hides their threads from the inbox and excludes
 them from metrics. Marking a customer that is already marked as spam returns
 a `customer_already_marked_as_spam` error.

 Pass the customer `id` (starts with `c_`) as `customerId`. Use `getCustomers`,
 `searchCustomers`, or `getCustomerDetails` to discover it.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_markthreaddiscussionread`

Mark Thread Discussion Read · Write

Clear the unread flag on a discussion. Use this when the user has viewed a discussion so that the
 isUnread indicator is reset. Returns the updated discussion.

 Arguments:
 - input: MarkThreadDiscussionReadInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_moveworkflow`

Move Workflow · Write

Move a workflow so it sits directly after another, or to the front of the list when `afterWorkflowId` is null. Only the moved workflow changes.

 Arguments:
 - input: MoveWorkflowInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_mybillingrota`

My Billing Rota · Write

Returns the current billing rota for the workspace, listing which users are actively on-rota and which are off-rota. The rota is used to track which users currently consume an active eng-rota seat.

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

Inputs: none.

Example input: `{}`

### `plainmcp_mybillingsubscription`

My Billing Subscription · Write

Returns the current workspace billing subscription, including plan, status, trial info, feature entitlements, and credit balances. Returns null if the workspace has no billing account.

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

Inputs: none.

Example input: `{}`

### `plainmcp_myemailsignature`

My Email Signature · Write

Returns the email signature configured for the currently authenticated user, or null if none has been set.

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

Inputs: none.

Example input: `{}`

### `plainmcp_myfavoritepages`

My Favorite Pages · Write

Returns the favorite pages saved by the currently authenticated user, ordered by most recently created first. Each user's favorites are independent â this query only returns pages belonging to the caller.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_myinternalnotifications`

My Internal Notifications · Write

Returns a paginated list of internal notifications for the currently authenticated user.
 Use the optional `filters` argument to narrow results by read status or creation time.
 Supports forward and backward cursor-based pagination via `first`/`after` and `last`/`before`.
 Only available to human users â machine users will receive a forbidden error.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - filters: InternalNotificationsFilter
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `filters` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_mylinearintegration`

My Linear Integration · Write

Returns the current user's Linear integration, or null if no integration has been set up.

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

Inputs: none.

Example input: `{}`

### `plainmcp_mymsteamsintegration`

My Msteams Integration · Write

Returns the Microsoft Teams integration for the currently authenticated user, or null if the user has not connected their account.

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

Inputs: none.

Example input: `{}`

### `plainmcp_mypermissions`

My Permissions · Write

Returns the full list of permission strings granted to the currently authenticated user or machine user in this workspace. Useful for inspecting what actions the caller is authorized to perform.

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

Inputs: none.

Example input: `{}`

### `plainmcp_myslackintegration`

My Slack Integration · Write

Returns the current user's personal Slack notifications integration, or null if none is connected.

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

Inputs: none.

Example input: `{}`

### `plainmcp_myuseraccount`

My User Account · Write

Returns the UserAccount for the currently authenticated user, or null if no account has been created yet. Useful during onboarding to check whether account setup is complete.

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

Inputs: none.

Example input: `{}`

### `plainmcp_myworkspaceinvites`

My Workspace Invites · Write

Returns all pending workspace invites sent to the currently authenticated user's email address. Use this to let a user see and act on workspaces they have been invited to join.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_myworkspaces`

My Workspaces · Write

Returns all workspaces the currently authenticated human user belongs to, paginated. Not available to machine users. Use this to let users switch between workspaces.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_permissions`

Permissions · Write

Returns the complete list of all permission strings defined in Plain, sorted alphabetically. Use this to discover valid permission values when building role or API key management UIs. Requires the `permission:read` permission.

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

Inputs: none.

Example input: `{}`

### `plainmcp_refreshconnecteddiscordchannels`

Refresh Connected Discord Channels · Write

Syncs the list of Discord channels for a guild from the Discord API into Plain. Call this after channels are added or renamed in Discord so that `connectedDiscordChannels` reflects the latest state.

 Arguments:
 - input: RefreshConnectedDiscordChannelsInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_reindexknowledgesource`

Reindex Knowledge Source · Write

Reindex a knowledge source now instead of waiting for the automatic weekly
 reindex, e.g. after its pages were updated to fill a knowledge gap or after a
 failed index. Pass the source's `id` from `getKnowledgeSources`, or a search
 result's `knowledgeSourceId` from `searchKnowledgeSources`.
 Indexing runs in the background: the source returns as pending, and
 `getKnowledgeSources` shows when it is indexed or failed. For sitemaps, only
 new or changed pages are reprocessed, and pages no longer in the sitemap are
 removed. Requires Plain AI to be enabled on the workspace.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_relatedthreads`

Related Threads · Write

Find threads that are semantically similar to the given thread, ranked by relevance. Each result includes the thread and a distance score (lower means more similar). Useful for surfacing related support history or finding duplicate issues. Requires the `thread:read` permission.

 Arguments:
 - threadId: ID!

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

Inputs:

- `threadId` (`string`, required): No description.

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

### `plainmcp_reloadcustomercardinstance`

Reload Customer Card Instance · Write

Forces a fresh load of a customer card instance, bypassing the cache.

 Use this when you know your external data has changed and you want to immediately fetch updated card content from your API URL. The response will be a `CustomerCardInstanceLoading`; subscribe to `customerCardInstanceChanges` to receive the loaded or errored result.

 Arguments:
 - input: ReloadCustomerCardInstanceInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_reorderautoresponders`

Reorder Autoresponders · Write

Set new order values for one or more autoresponders. You must pass a unique `order` integer and a unique autoresponder ID for each entry; duplicate IDs or duplicate order values are rejected. Only the autoresponders included in the input are repositioned â others are left unchanged. Requires the `autoresponder:edit` permission.

 Arguments:
 - input: ReorderAutorespondersInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_reordercustomercardconfigs`

Reorder Customer Card Configs · Write

Updates the display order of one or more customer card configs.

 Only the configs listed in the input are updated; other configs keep their current order. This allows you to swap two configs or move a single card without specifying the full list. Duplicate order values are permitted and ties are broken by ID.

 Arguments:
 - input: ReorderCustomerCardConfigsInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_reordercustomersurveys`

Reorder Customer Surveys · Write

Updates the display order of one or more customer surveys in a single call. Pass an array of survey ID / order-index pairs; only surveys whose order actually changes are updated. Duplicate survey IDs in the input are rejected. Requires the `customerSurvey:edit` permission.

 Arguments:
 - input: ReorderCustomerSurveysInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_replytoemail`

Reply To Email · Write

Replies to an existing email in a thread, threading the response correctly in email clients. Use inReplyToEmailId to identify the email being replied to. Supports CC and BCC recipients (up to 49 combined) and file attachments. Requires the email:create and email:read permissions.

 Arguments:
 - input: ReplyToEmailInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_resolvecustomerformsteamschannel`

Resolve Customer For Msteams Channel · Write

Finds or creates a Plain customer associated with the Microsoft Teams users in the given channel, using the workspace's connected MS Teams integration. Useful for bootstrapping a support thread from a Teams channel conversation.

 Arguments:
 - input: ResolveCustomerForMSTeamsChannelInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_resolvecustomerforslackchannel`

Resolve Customer For Slack Channel · Write

Finds or creates a Plain customer associated with a Slack channel, using the Slack users in that channel to identify the customer. Useful for bootstrapping threads from Slack channels.

 Arguments:
 - input: ResolveCustomerForSlackChannelInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_resubscribebroadcastrecipient`

Resubscribe Broadcast Recipient · Write

Remove an unsubscribe so a Slack channel can receive broadcasts again.
 Idempotent: resubscribing a channel that was never unsubscribed is a no-op
 and returns `unsubscribe: null` with no error.

 Required input fields: `type`, `slackTeamId`, `slackChannelId`.

 - `type` must be `SLACK`. A channel id is only unique within its Slack team,
   so both `slackTeamId` and `slackChannelId` are required together.
 - When an unsubscribe existed, the response's `unsubscribe` field is the
   record that was removed (for confirmation). When nothing was opted out,
   `unsubscribe` is null and `error` is also null.

 After a successful resubscribe, the channel returns to normal audience
 resolution: if a filter or named recipient would have included it, it will
 again. Confirm with `getBroadcastSendTargetRecipients` or
 `getBroadcastRecipientUnsubscribes` rather than assuming.

 Prefer confirming the channel identity with the user before calling this.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_roles`

Roles · Write

Returns the roles available in the workspace: the built-in roles (Owner, Admin, Support,
 Viewer, None) and any custom roles. Requires the `roles:read` permission.

 Each role's permission list, often hundreds of entries, is left out so every role fits on one
 page. A custom role's preset and thread scopes come from `customRole`.

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

Inputs:

- `after` (`string`, optional): No description.
- `filters` (`string`, optional): No description.
- `first` (`string`, optional): No description. Default: `50`.

Example input: `{}`

### `plainmcp_savedthreadsview`

Saved Threads View · Write

Fetches a single saved threads view by its ID. Returns null if no view with the given ID exists in the workspace.

 Arguments:
 - savedThreadsViewId: ID!

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

Inputs:

- `savedThreadsViewId` (`string`, required): No description.

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

### `plainmcp_savedthreadsviews`

Saved Threads Views · Write

Returns all saved threads views for the workspace, ordered by creation time. Use this to list the views available in your workspace. Supports forward and backward cursor pagination.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_schedulebroadcast`

Schedule Broadcast · Write

Queues a broadcast to be sent, moving it from `DRAFT` to `SCHEDULED`. Calling this again on a
 broadcast that has not started sending changes when it will go out; once the send has started it
 is rejected. The broadcast must have a sender and at least one channel. A null `scheduledAt`
 clears the schedule instead, returning the broadcast to `DRAFT`. Requires the
 `broadcast:send` and `broadcast:read` permissions.

 Arguments:
 - input: ScheduleBroadcastInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_searchaccounts`

Search Accounts · Write

Searches accounts by name or domain (case-insensitive partial match), or by external ID (exact match).
 The search term must be at least 2 characters long. Returns a paginated list of results.
 Requires the `tenant:read` permission.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - searchQuery: AccountsSearchQuery!
 - filters: AccountsFilter
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `searchQuery` (`string`, required): No description.
- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `filters` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

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

### `plainmcp_searchbroadcasts`

Search Broadcasts · Write

Search broadcasts by name. The search is case-insensitive, matches on any
 part of the name, ignores accents, and requires at least 2 characters.
 A broadcast's `name` is internal only â it is never shown to recipients,
 so it is safe to search on and to show back to the user. Soft-deleted
 broadcasts are excluded.
 Optionally narrow the results with `statuses`, applied on top of the name
 match. Omit it to search every status â an empty list is rejected.
 Use the `cursor` variable with the endCursor from the previous
 response's pageInfo to fetch the next page. The cursor is an opaque
 token: pass it back unchanged and do not construct, modify, or alter it.
 Set `first` to control page size (default 50).

 Broadcast IDs start with `bc_`. Broadcast URL format:
 https://app.plain.com/workspace/{workspaceId}/broadcasts/{broadcastId}
 where {workspaceId} is fetched via `getMyWorkspace` (starts with `w_`).
 Do not invent IDs â only use values returned by the MCP tools.

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

Inputs:

- `searchQuery` (`string`, required): No description.
- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `filters` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

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

### `plainmcp_searchknowledgesources`

Search Knowledge Sources · Write

Semantic search across the workspace's knowledge: indexed documents (URLs and
 sitemaps added as knowledge sources) and help center articles that Plain's AI
 is allowed to use. This is the same knowledge Ari draws from, but not Ari's
 exact retrieval, so a result here does not guarantee Ari would have found it.
 Searches up to `pageSize` matching chunks (default 3, max 50), then returns
 one result per source, ordered by its most relevant chunk. Each result contains
 all indexed text from that source, so fewer than `pageSize` results may return
 and responses grow quickly; only raise `pageSize` if the first results miss.
 Narrow results with `types` (INDEXED_DOCUMENT, HELP_CENTER_ARTICLE) or
 `labelTypeIds` (unlabelled content may also be included).

 When working a knowledge gap, search its title and description before writing
 new content: no relevant result means the content is missing; a relevant
 result means it exists but Ari missed it or it is out of date, so improve the
 existing source rather than creating a duplicate. After updating an indexed
 document's page, pass its `knowledgeSourceId` to `reindexKnowledgeSource` so
 Ari picks up the change.

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

Inputs:

- `searchQuery` (`string`, required): No description.
- `options` (`string`, optional): No description.
- `pageSize` (`string`, optional): No description.

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

### `plainmcp_searchplainhelpcenter`

Search Plain Help Center · Write

Perform a semantic (vector) search across Plain's own public help center (help.plain.com).
 Available to every workspace's Sidekick Agent so it can answer questions about how Plain itself works.
 Read-only and hard-restricted to Plain's public product documentation; it never returns the
 caller's own data or any other workspace's content. Returns up to `pageSize` results
 (default 10, max 50) ranked by relevance.

 Arguments:
 - searchQuery: String!
 - pageSize: Int

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

Inputs:

- `searchQuery` (`string`, required): No description.
- `pageSize` (`string`, optional): No description.

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

### `plainmcp_searchslackusers`

Search Slack Users · Write

Searches for slack users in a slack channel based on a search term.
 The search term can be part of either the slack's handle or full name.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - slackTeamId: String!
 - slackChannelId: String!
 - searchQuery: String!
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `searchQuery` (`string`, required): No description.
- `slackChannelId` (`string`, required): No description.
- `slackTeamId` (`string`, required): No description.
- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{"searchQuery":"<searchQuery>","slackChannelId":"<slackChannelId>","slackTeamId":"<slackTeamId>"}`

### `plainmcp_searchthreadslackusers`

Search Thread Slack Users · Write

Searches for slack users in a thread based on a search term.
 The search term can be part of either the slack's handle or full name.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - threadId: ID!
 - searchQuery: String!
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `searchQuery` (`string`, required): No description.
- `threadId` (`string`, required): No description.
- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{"searchQuery":"<searchQuery>","threadId":"<threadId>"}`

### `plainmcp_sendbulkemail`

Send Bulk Email · Write

Sends the same email body to multiple threads at once (up to 100 thread IDs per call). Useful for broadcasting updates to a set of customers, for example notifying affected users of an incident.

 Arguments:
 - input: SendBulkEmailInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_sendchat`

Send Chat · Write

Send a chat message from a support agent (or machine user) to a customer on a CHAT-channel thread.
 Either `text` or at least one `attachmentIds` entry must be provided. If `threadId` is omitted a new
 thread is created; if supplied the message is appended to the existing thread. An optional `timestamp`
 (ISO 8601, must be in the past) allows backdating messages when backfilling historical data.
 Requires the `chat:create` permission and the live-chat billing entitlement.

 Arguments:
 - input: SendChatInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_senddiscordmessage`

Send Discord Message · Write

Sends an outbound Discord message on a thread. Requires both a workspace-level Discord channel integration and a personal user auth integration for the sending user. The message is posted into the Discord thread associated with the Plain thread.

 Arguments:
 - input: SendDiscordMessageInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_sendmsteamsmessage`

Send Msteams Message · Write

Sends a Microsoft Teams message on a thread. The thread must be associated with a connected MS Teams channel and the workspace must have an active MS Teams integration.

 Arguments:
 - input: SendMSTeamsMessageInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_sendnewemail`

Send New Email · Write

Sends a new outbound email to a customer, creating a new thread by default. Use threadId to attach the email to an existing thread instead. Supports CC and BCC recipients (up to 49 combined), file attachments, and an optional alternate from address. Requires the email:create and email:read permissions.

 Arguments:
 - input: SendNewEmailInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_sendslackmessage`

Send Slack Message · Write

Sends a Slack message on a thread. The message appears in the thread's associated Slack channel as a reply or new message.

 Arguments:
 - input: SendSlackMessageInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_sendtestbroadcast`

Send Test Broadcast · Write

Send a test copy of a broadcast to Slack channels you name, so you can see
 what recipients will get before the real audience does.

 This posts real messages into real channels. Everyone in the channels you
 name will see it. It carries a notice at the top marking it as a test, and it
 goes out through the same pipeline and under the broadcast's own sender, so
 what arrives is what any channel would have received. Confirm the channel
 list with the user before calling this.

 - `channels` takes between 1 and 10 `{ slackTeamId, slackChannelId }` pairs.
   A channel ID is only unique within its Slack team, so both are needed.
   Every channel must already be connected to this workspace, and naming the
   same channel twice posts to it once.
 - The channels are independent of the broadcast's own audience, which is left
   untouched. The broadcast needs a sender and a notification title, but it
   does not need any channels of its own â testing is what you do before
   choosing them.
 - A test send never changes the broadcast's `status`, and never locks or
   unlocks editing. Only available while the broadcast can still be edited:
   once its real send has started, it can no longer be tested.

 The response includes the test send's id. Pass it to
 `getBroadcastSendDeliveries` to see whether each channel got it.

 This does not schedule the real send. Queuing a broadcast to its actual
 audience is done by a human in the Plain app.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_sendthreaddiscussionmessage`

Send Thread Discussion Message · Write

Send a reply to an existing Slack or email discussion. The message is posted in the original channel
 (as a Slack thread reply or email reply) and recorded in Plain. For Slack discussions you may optionally
 provide slackBlocks, set unfurlLinks, or broadcast the reply into the parent channel via replyBroadcast
 (replyBroadcast cannot be combined with attachmentIds). Prefer sendDiscussionMessage for new integrations.

 Arguments:
 - input: SendThreadDiscussionMessageInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_serviceauthorization`

Service Authorization · Write

Fetch a single completed service authorization by its ID. Returns null if not found or if the authorization is still pending.

 Arguments:
 - serviceAuthorizationId: ID!

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

Inputs:

- `serviceAuthorizationId` (`string`, required): No description.

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

### `plainmcp_serviceauthorizations`

Service Authorizations · Write

List all completed service authorizations for the workspace. Only authorizations with status CONNECTED or REINSTALL_REQUIRED are returned; pending authorizations are excluded.
 Optionally filter by serviceIntegrationKey. Supports cursor-based pagination. Requires the `serviceAuthorization:read` permission. Not connected yet? Connecting needs the user's approval in the provider. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/settings/integrations` (never the `<workspaceId>` placeholder), then read this again to confirm.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String
 - filters: ServiceAuthorizationsFilter

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `filters` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_servicelevelagreementpolicies`

Service Level Agreement Policies · Write

Returns the SLA policies in the workspace, sorted by name. Pass `filters` to narrow by name or by the target types a policy holds. Supports cursor-based pagination. Requires the `serviceLevelAgreement:read` permission. Deleting a policy is done by the user in the Plain app. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/settings/slas/<policy id>` (never the `<workspaceId>` placeholder).
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - filters: ServiceLevelAgreementPoliciesFilter
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `filters` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_servicelevelagreementpolicy`

Service Level Agreement Policy · Write

Returns a single SLA policy by its Plain ID. Returns null if no policy with that ID exists. Requires the `serviceLevelAgreement:read` permission. Deleting a policy is done by the user in the Plain app. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/settings/slas/<policy id>` (never the `<workspaceId>` placeholder).

 Arguments:
 - serviceLevelAgreementPolicyId: ID!

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

Inputs:

- `serviceLevelAgreementPolicyId` (`string`, required): No description.

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

### `plainmcp_setcustomeraccounts`

Set Customer Accounts · Write

Replaces the full set of account memberships for a customer in a single call.
 Any accounts not included in the input are removed; any new ones are added.
 Use this when syncing account membership from your own system rather than tracking individual add/remove changes.
 Requires the `customer:edit`, `customerTenantMembership:create`, and `customerTenantMembership:delete` permissions.

 Arguments:
 - input: SetCustomerAccountsInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_setcustomertenants`

Set Customer Tenants · Write

Replaces the full set of tenant memberships for a customer in a single call.
 Any tenants not included in the input are removed; any new ones are added.
 Use this when syncing tenant membership from your own system rather than tracking individual add/remove changes.
 Requires the `customer:edit`, `customerTenantMembership:create`, and `customerTenantMembership:delete` permissions.
 Deprecated: Use setCustomerAccounts instead

 Arguments:
 - input: SetCustomerTenantsInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_setslackautojoinrules`

Set Slack Auto Join Rules · Write

Replaces all auto-join rules for a workspace slack channel integration.
 The provided rules become the complete set of rules for the integration.

 Arguments:
 - input: SetSlackAutoJoinRulesInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_setupaccountfieldschemamapping`

Setup Account Field Schema Mapping · Write

Maps an account field schema to a built-in Plain concept such as `TIER`, enabling automatic tier assignment based on the field's value. Only one schema can be mapped to a given concept at a time.

 Arguments:
 - input: SetupAccountFieldSchemaMappingInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_setuptenantfieldschemamapping`

Setup Tenant Field Schema Mapping · Write

Maps a tenant field schema to a built-in Plain concept such as `TIER`, enabling automatic tier assignment based on the field's value. Only one schema can be mapped to a given concept at a time.
 Deprecated: Use setupAccountFieldSchemaMapping instead

 Arguments:
 - input: SetupTenantFieldSchemaMappingInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_sharethreadtouserinslack`

Share Thread To User In Slack · Write

Sends a direct Slack message to a Plain user sharing a link to the given thread. Useful for notifying a teammate about a thread directly in Slack.

 Arguments:
 - input: ShareThreadToUserInSlackInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_sidekickcreditbalance`

Sidekick Credit Balance · Write

The workspace's current Sidekick (Plain) credit balance: the monthly allowance grant/used/remaining and when it resets, plus any purchased top-up remaining. Use it to answer how many credits are left. Requires the `billing:read` permission.

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

Inputs: none.

Example input: `{}`

### `plainmcp_sidekickcreditusagebyday`

Sidekick Credit Usage By Day · Write

Credit usage for the workspace, bucketed by the UTC day each billable item resolved, over the given date range. Covers Sidekick sessions and work done by the workspace's own agents. Use it to show a per-day breakdown of credit consumption. Requires the `billing:read` permission.

 Arguments:
 - input: SidekickCreditUsageByDayInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_sidekickcustomskill`

Sidekick Custom Skill · Write

A single workspace custom skill, including its instructions, for editing.

 Arguments:
 - id: ID!

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

Inputs:

- `id` (`string`, required): No description.

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

### `plainmcp_sidekickgithubaccessiblerepos`

Sidekick Github Accessible Repos · Write

Returns every GitHub repository the Sidekick Agent integration (identified by serviceAuthorizationId) can currently see via its OAuth token. Use this list to let users pick which repos Sidekick Agent should focus on before calling updateSidekickGithubConfig.

 Arguments:
 - serviceAuthorizationId: ID!

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

Inputs:

- `serviceAuthorizationId` (`string`, required): No description.

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

### `plainmcp_sidekickgithubserviceconfig`

Sidekick Github Service Config · Write

Returns the Sidekick Agent GitHub configuration for a workspace: which repositories are selected for Sidekick Agent to use and any workspace-level or per-repo operating instructions. Returns null when no configuration has been saved yet.

 Arguments:
 - serviceAuthorizationId: ID!

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

Inputs:

- `serviceAuthorizationId` (`string`, required): No description.

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

### `plainmcp_sidekickposthogserviceconfig`

Sidekick Posthog Service Config · Write

Returns the Sidekick Agent PostHog configuration for a workspace, including any operating instructions and the default project the agent queries. Returns null when no configuration has been saved yet.

 Arguments:
 - serviceAuthorizationId: ID!

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

Inputs:

- `serviceAuthorizationId` (`string`, required): No description.

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

### `plainmcp_sidekickserviceconfig`

Sidekick Service Config · Write

Returns the Sidekick Agent configuration for a connected service (Datadog, Sentry, Grafana, Linear, Notion, incident.io, Attio, HubSpot, Jira, Granola, LaunchDarkly, Grain or Cursor), identified by its serviceAuthorizationId. Includes any operating instructions that guide how Sidekick Agent uses the integration. Returns null when no configuration has been saved yet. GitHub and PostHog have their own configuration shapes â use sidekickGithubServiceConfig / sidekickPosthogServiceConfig instead.

 Arguments:
 - serviceAuthorizationId: ID!

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

Inputs:

- `serviceAuthorizationId` (`string`, required): No description.

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

### `plainmcp_sidekicksettings`

Sidekick Settings · Write

Returns workspace-level Sidekick Agent settings, including the custom prompt that is appended to every Sidekick Agent session's system prompt and the tools selected during onboarding. Always returns an object. customPrompt is null when not configured. preferredIntegrations is empty when none are selected.

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

Inputs: none.

Example input: `{}`

### `plainmcp_sidekickskills`

Sidekick Skills · Write

Every skill available to Sidekick Agent in this workspace: Plain's system skills
 plus the workspace's custom skills, each with its effective enabled state.

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

Inputs: none.

Example input: `{}`

### `plainmcp_slackautojoinrules`

Slack Auto Join Rules · Write

Gets the auto-join rules for a workspace slack channel integration.
 Rules that have not yet been saved through `setSlackAutoJoinRules` are
 read from the legacy prefix/suffix settings and have a null id.

 Arguments:
 - integrationId: ID!

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

Inputs:

- `integrationId` (`string`, required): No description.

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

### `plainmcp_slackuser`

Slack User · Write

Returns a Slack user within a specific channel, looked up by their Slack user ID. Returns null if the user is not found in that channel.

 Arguments:
 - slackTeamId: String!
 - slackChannelId: String!
 - slackUserId: ID!

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

Inputs:

- `slackChannelId` (`string`, required): No description.
- `slackTeamId` (`string`, required): No description.
- `slackUserId` (`string`, required): No description.

Example input: `{"slackChannelId":"<slackChannelId>","slackTeamId":"<slackTeamId>","slackUserId":"<slackUserId>"}`

### `plainmcp_snippet`

Snippet · Write

Fetches a single snippet by its ID, or null if no snippet with that ID exists. Returns soft-deleted snippets (where `isDeleted` is true). Requires the `snippet:read` permission.

 Arguments:
 - snippetId: ID!

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

Inputs:

- `snippetId` (`string`, required): No description.

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

### `plainmcp_subscriptioneventtypes`

Subscription Event Types · Write

List every event type that can be subscribed to on a webhook target. Each entry includes the event type identifier and a human-readable description. Use this to discover valid values for `eventSubscriptions` when creating or updating a webhook target. Requires the `subscriptionEventTypes:read` permission.

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

Inputs: none.

Example input: `{}`

### `plainmcp_suggestedlabeltypes`

Suggested Label Types · Write

Returns the PENDING AI-suggested label types awaiting review, most recently created first. Requires the `suggestedLabelType:read` permission.

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

Inputs: none.

Example input: `{}`

### `plainmcp_suggestedslackteammates`

Suggested Slack Teammates · Write

Suggests teammates to invite to Plain, sourced from the members of the
 workspace's connected Slack discussion channels. Only members of the
 workspace's own Slack team are included (Slack Connect guests are excluded),
 and anyone (matched by email, case-insensitive) who is already a member of
 this workspace or has a pending invite to it is excluded. Returns an empty
 list when there are no connected, enabled discussion channels for the
 given slackTeamId (e.g. a Slack Connect channel integration).

 Arguments:
 - slackTeamId: String!

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

Inputs:

- `slackTeamId` (`string`, required): No description.

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

### `plainmcp_syncuserworkinghours`

Sync User Working Hours · Write

Replace a user's working hours schedule in full. When `isEnabled` is true, the user's status is automatically switched to ONLINE at the start of each slot and to OFFLINE or AWAY (depending on workspace settings) at the end. Omit `userId` to configure the currently authenticated user's own schedule.

 Arguments:
 - input: SyncUserWorkingHoursInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_tasks`

Tasks · Write

Fetch a paginated list of tasks in the workspace. Use `filters` to narrow results by status, assignee, company, or tenant. Use `sortBy` to order by priority, status, or creation/update time. Requires the `task:read` permission.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String
 - filters: TasksFilter
 - sortBy: TasksSort

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `filters` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.
- `sortBy` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_teamsettings`

Team Settings · Write

Fetch the settings for a team (label type of kind TEAM) identified by its label type ID. Returns null if no settings have been configured yet for the team.

 Arguments:
 - labelTypeId: ID!

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

Inputs:

- `labelTypeId` (`string`, required): No description.

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

### `plainmcp_tenant`

Tenant · Write

Fetches a single tenant by its Plain-assigned ID. Returns null if no matching tenant is found. Requires the `tenant:read` permission.
 Deprecated: Use account instead

 Arguments:
 - tenantId: ID!

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

Inputs:

- `tenantId` (`string`, required): No description.

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

### `plainmcp_tenantfieldschemas`

Tenant Field Schemas · Write

Returns the list of tenant field schemas defined in the workspace. Use the `source` and `isVisible` filters to narrow results. Supports cursor-based pagination.
 Deprecated: Use accountFieldSchemas instead
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - filters: TenantFieldSchemasFilter
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `filters` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_tenants`

Tenants · Write

Returns a paginated list of tenants in the workspace. Use the `filters` argument to narrow the results and `sortBy` to order them (by name ascending when omitted). Requires the `tenant:read` permission.
 Deprecated: Use accounts instead
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String
 - filters: TenantsFilter
 - sortBy: TenantsSort

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `filters` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.
- `sortBy` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_testthreads`

Test Threads · Write

The signed-in user's own test threads, oldest first. They are excluded from `threads`, so this
 is the only query that lists them. Requires the `thread:read` permission.

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

Inputs: none.

Example input: `{}`

### `plainmcp_threadbyexternalid`

Thread By External Id · Write

Fetch a thread by the external ID you assigned it, scoped to a specific customer. Because `externalId` is only unique per-customer, both `customerId` and `externalId` are required. Returns null if no match. Requires the `thread:read` permission.

 Arguments:
 - customerId: ID!
 - externalId: ID!

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

Inputs:

- `customerId` (`string`, required): No description.
- `externalId` (`string`, required): No description.

Example input: `{"customerId":"<customerId>","externalId":"<externalId>"}`

### `plainmcp_threadbymsteamsmessage`

Thread By Msteams Message · Write

Resolves a Microsoft Teams message to the Plain thread its conversation is on. If the message's
 thread was closed and the conversation continued in a successor thread, returns the open
 successor; if there is no open successor, returns the closed thread, which has `lockedAt`
 set. Returns null if Plain has not ingested the message. For a channel post, pass the root
 post's ID.

 After `createThreadFromMSTeamsMessage` returns no thread, poll this query until it returns a
 thread whose `lockedAt` is null. While the first thread is being created it returns null;
 while a successor to a closed thread is being created it returns the closed thread. Requires
 the `thread:read` permission.

 Arguments:
 - msTeamsMessageId: ID! â The Teams message ID, as provided by Teams in the activity's `id`.

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

Inputs:

- `msTeamsMessageId` (`string`, required): The Teams message ID, as provided by Teams in the activity's `id`.

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

### `plainmcp_threadbyref`

Thread By Ref · Write

Fetch a thread by its human-readable ref (e.g. `T-1234`). Useful when the ref is more convenient to store than the internal ID. Returns null if no match. Requires the `thread:read` permission.

 Arguments:
 - ref: String!

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

Inputs:

- `ref` (`string`, required): No description.

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

### `plainmcp_threadbyslackmessage`

Thread By Slack Message · Write

Resolves a Slack message to the Plain thread it belongs to, using the same channel ID and
 message timestamp as `createThreadFromSlackMessage`. Returns null if no thread is associated
 with the given Slack message. Requires the `thread:read` permission.

 Arguments:
 - slackChannelId: String! â The Slack channel the message is in, as provided by Slack (e.g. C0123ABCD).
 - slackMessageTimestamp: String! â The Slack `ts` of the message.

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

Inputs:

- `slackChannelId` (`string`, required): The Slack channel the message is in, as provided by Slack (e.g. C0123ABCD).
- `slackMessageTimestamp` (`string`, required): The Slack `ts` of the message.

Example input: `{"slackChannelId":"<slackChannelId>","slackMessageTimestamp":"<slackMessageTimestamp>"}`

### `plainmcp_threadbyslackpermalink`

Thread By Slack Permalink · Write

Resolves a Slack message permalink to the Plain thread it belongs to. Returns null if no thread is associated with the given Slack message.

 Arguments:
 - slackPermalink: String!

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

Inputs:

- `slackPermalink` (`string`, required): No description.

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

### `plainmcp_threadcluster`

Thread Cluster · Write

Fetches a single thread cluster by its ID. Returns null if no cluster with that ID exists in the current workspace.
 This API is in beta and may change without notice.

 Arguments:
 - id: ID!

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

Inputs:

- `id` (`string`, required): No description.

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

### `plainmcp_threadclusters`

Thread Clusters · Write

Returns all AI-generated thread clusters for the current workspace, sorted by thread count descending.
 Clusters group semantically similar threads together so you can spot trends and recurring issues at a glance.
 The optional `variant` argument selects which clustering model run to return; omit it to receive the default variant.
 This API is in beta and may change without notice.

 Arguments:
 - variant: String

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

Inputs:

- `variant` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_threadclusterspaginated`

Thread Clusters Paginated · Write

Returns a paginated list of AI-generated thread clusters for the current workspace.
 Use `filters` to narrow results by company, tenant, or clustering variant.
 Supports standard cursor-based pagination via `first`/`after` and `last`/`before`.
 Requires the `thread:read` permission.
 This API is in beta and may change without notice.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String
 - filters: ThreadClustersFilter

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `filters` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_threaddiscussion`

Thread Discussion · Write

Fetch a single discussion by its ID. Returns null if no discussion with the given ID exists.

 Arguments:
 - threadDiscussionId: ID!

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

Inputs:

- `threadDiscussionId` (`string`, required): No description.

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

### `plainmcp_threadfieldschema`

Thread Field Schema · Write

Fetches a single thread field schema by its ID. Returns null if no schema with the given ID exists. Selecting the `createdBy`/`updatedBy` actor down to its `user` additionally requires the `user:read` permission.

 Arguments:
 - threadFieldSchemaId: ID!

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

Inputs:

- `threadFieldSchemaId` (`string`, required): No description.

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

### `plainmcp_threadheatmapmetric`

Thread Heatmap Metric · Write

Fetch a heatmap metric for threads with filter support, distributing thread activity across a
 7-day Ã 24-hour grid. Unlike the legacy `heatmapMetric`, this query uses the unified
 `ThreadMetricFilters` input for consistent filtering by label, tier, assignee, and more.
 Requires `metrics:read`; filtering `assignedToUser` to anyone other than the caller
 additionally requires `metricsAgent:read`.

 Arguments:
 - input: ThreadHeatmapMetricInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_threadlinkgroups`

Thread Link Groups · Write

Returns a paginated list of thread link groups, each representing a distinct external entity (e.g. a Linear issue or Jira ticket) that is linked to one or more threads. Use this to build views that aggregate threads by a shared linked issue. Supports filtering by status, specific group IDs, company, or tier.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String
 - filters: ThreadLinkGroupFilter

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `filters` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_threadsbyexternalid`

Threads By External Id · Write

Fetch all threads that share the given external ID, returned as a paginated connection. Unlike `threadByExternalId`, this is not scoped to a customer: because `externalId` is only unique per-customer, the same external ID can appear on threads belonging to different customers, and this query returns all of them. Returns an empty connection if there are no matches. Requires the `thread:read` permission.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - externalId: ID!
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `externalId` (`string`, required): No description.
- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

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

### `plainmcp_threadsinglevaluemetric`

Thread Single Value Metric · Write

Fetch an aggregate (single-value) metric for threads with rich filter and group-by support.
 Returns one value per group bucket for the specified date range and `SingleValueMetricName`, making
 it suitable for summary dashboards or leaderboard-style breakdowns by assignee, tier, or label
 type. Requires `metrics:read`; grouping by assignee or filtering `assignedToUser` to anyone
 other than the caller additionally requires `metricsAgent:read`.

 Arguments:
 - input: ThreadSingleValueMetricInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_threadslackuser`

Thread Slack User · Write

Returns a Slack user associated with the given thread, looked up by their Slack user ID. Returns null if the user is not found in that thread's Slack context.

 Arguments:
 - threadId: ID!
 - slackUserId: ID!

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

Inputs:

- `slackUserId` (`string`, required): No description.
- `threadId` (`string`, required): No description.

Example input: `{"slackUserId":"<slackUserId>","threadId":"<threadId>"}`

### `plainmcp_threadtimeseriesmetric`

Thread Time Series Metric · Write

Fetch a time-series metric for threads with rich filter and group-by support.
 Choose a `TimeSeriesMetricName` (e.g. `threads_created_count`, `threads_first_response_time__p50`), specify a
 mandatory date range and bucketing interval, and optionally group results by assignee, company,
 tier, label type, and more. This is the preferred reporting query when you need server-side
 filtering across thread attributes. Requires `metrics:read`; grouping by assignee or filtering
 `assignedToUser` to anyone other than the caller additionally requires `metricsAgent:read`.

 Arguments:
 - input: ThreadTimeSeriesMetricInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_tier`

Tier · Write

Returns a single tier by its Plain ID. Returns null if no tier with that ID exists. Requires the `tier:read` permission. Deleting a tier is done by the user in the Plain app. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/settings/tiers/<tierId>` (never the `<workspaceId>` placeholder).

 Arguments:
 - tierId: ID!

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

Inputs:

- `tierId` (`string`, required): No description.

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

### `plainmcp_tiers`

Tiers · Write

Returns all tiers in the workspace, sorted by creation date. Supports cursor-based pagination. Requires the `tier:read` permission. Deleting a tier is done by the user in the Plain app. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/settings/tiers/<tierId>` (never the `<workspaceId>` placeholder).
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_timelineentries`

Timeline Entries · Write

Returns a paginated list of all timeline entries for a customer, ordered from oldest to newest.
 Timeline entries include every event, message, note, and automated activity that has occurred
 across all of the customer's threads. Supports cursor-based pagination via `first`/`after`
 and `last`/`before` arguments.
 Trimmed copy of the generated tool: the full selection is over 130k characters, so this
 selects the same timeline entry fields as getThreadDetails.

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

Inputs:

- `customerId` (`string`, required): No description.
- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

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

### `plainmcp_timelineentry`

Timeline Entry · Write

Fetches a single timeline entry by its ID within a customer's timeline. Returns null if the entry does not exist.
 Trimmed copy of the generated tool: the full selection is over 130k characters, so this
 selects the same timeline entry fields as getThreadDetails.

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

Inputs:

- `customerId` (`string`, required): No description.
- `timelineEntryId` (`string`, required): No description.

Example input: `{"customerId":"<customerId>","timelineEntryId":"<timelineEntryId>"}`

### `plainmcp_toggleslackmessagereaction`

Toggle Slack Message Reaction · Write

Adds or removes a reaction from a slack message timeline entry.

 Arguments:
 - input: ToggleSlackMessageReactionInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_triggerworkflow`

Trigger Workflow · Write

Manually trigger a workflow against a specific thread. Returns the resulting WorkflowExecution so you can track the run's status and step results.

 Arguments:
 - input: TriggerWorkflowInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_unmarkcustomerasspam`

Unmark Customer As Spam · Write

Clear the spam flag from a customer, restoring their threads to the inbox and
 metrics. The `markedAsSpamAt` timestamp is cleared.

 Pass the customer `id` (starts with `c_`) as `customerId`. Use `getCustomers`,
 `searchCustomers`, or `getCustomerDetails` to discover it.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_unsubscribebroadcastrecipient`

Unsubscribe Broadcast Recipient · Write

Record that a Slack channel should not receive further broadcasts.
 Idempotent: unsubscribing a channel that is already unsubscribed is a no-op
 and returns the existing record.

 Required input fields: `type`, `slackTeamId`, `slackChannelId`.

 - `type` must be `SLACK`. A channel id is only unique within its Slack team,
   so both `slackTeamId` and `slackChannelId` are required together.
 - The channel does not need to still be connected to this workspace. An
   unsubscribe for a disconnected channel is still recorded and will apply if
   the channel is connected again later.
 - This does not recall messages already posted. It only affects future
   audience resolution and future sends.

 An unsubscribe is global per channel â there are no per-broadcast or
 per-category unsubscribes. After this call, the channel is excluded from
 every broadcast until `resubscribeBroadcastRecipient` removes the record.

 Prefer confirming the channel identity with the user before calling this.
 To list who is already opted out, use `getBroadcastRecipientUnsubscribes`.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updateaccounttier`

Update Account Tier · Write

Sets the tier for a single account, identified by its Plain ID or external ID. Pass a null `tierIdentifier` to remove the account from its current tier. Use `addMembersToTier` when you need to move multiple accounts at once. Requires the `tierMembership:read` and `tierMembership:create` permissions.

 Arguments:
 - input: UpdateAccountTierInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updateaitonerules`

Update Ai Tone Rules · Write

Updates up to 10 AI tone rules in a single call. Each update item must include the rule ID and at least one field to change (`description` or `isEnabled`). Enabling a rule that would push the total number of enabled rules above 7 returns an error. Returns the full updated rule objects. Requires the `aiToneRule:edit` permission.

 Arguments:
 - input: UpdateAiToneRulesInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updateautoresponder`

Update Autoresponder · Write

Update one or more fields on an existing autoresponder. Only fields provided in the input are changed; omitted fields retain their current values. Requires the `autoresponder:edit` permission.

 Arguments:
 - input: UpdateAutoresponderInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatebroadcast`

Update Broadcast · Write

Update one or more fields of an existing broadcast. Only `broadcastId` is
 required; every other field is optional and omitting it leaves that field
 unchanged. `type` cannot be changed.

 Most fields use a wrapper input: pass `{ value: ... }` to set it, or omit the
 field entirely to leave it alone. `notificationTitle`, `senderUserId` and
 `senderEmailAddress` accept `{ value: null }` to clear them.

 - `content` is encoded as `contentFormat` says, so set `contentFormat`
   alongside it whenever the encoding of the new body differs from the stored
   one. From MCP, send `SLACK_BLOCK_KIT` and a JSON array of Slack blocks. A
   one-paragraph body looks like this, passed as a string:
   "[{\"type\":\"section\",\"text\":{\"type\":\"mrkdwn\",\"text\":\"Hello\"}}]"
   Buttons need a `url`; images must be publicly reachable; this format
   cannot be edited in the Plain app. Switching format without matching
   `content` is rejected. If the stored body is `TIPTAP` and you are only
   tweaking it, read it with `getBroadcastDetails` and send `TIPTAP` again â
   replacing it with Block Kit is a wholesale rewrite.
 - `notificationTitle` is what recipients see in the notification. Clearing it
   leaves a broadcast that cannot be sent.
 - `senderType` is `PLAIN_WORKSPACE` (posts as the workspace, no
   `senderUserId`) or `PLAIN_USER` (requires `senderUserId`). Either half can
   be set on its own as long as the resulting pair is coherent. Leave
   `senderEmailAddress` unset: it belongs to a future email channel, not to a
   Slack broadcast.
 - `appendUnsubscribeLink` uses `{ value: true }`, `{ value: false }`, or
   `{ value: null }` to clear the override so the broadcast inherits the
   workspace default from `getBroadcastUnsubscribeLinkSetting` again. Omit
   the field to leave the override unchanged. It controls footer emission,
   not whether unsubscribes are honoured.
 - `sendTarget` replaces the current target wholesale rather than merging into
   it, so read the existing one with `getBroadcastDetails` and send the full
   shape you want. `scope: ALL_RECIPIENTS` rejects `filters`; `scope: MATCHING`
   requires them. Preview the live resolved set with
   `getBroadcastSendTargetRecipients`.

 A broadcast that is already scheduled has to stay sendable, so clearing its
 sender or its target is rejected. Once its send has started it cannot be
 edited at all.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatebroadcastaudience`

Update Broadcast Audience · Write

Update a broadcast audience's name, filters, or both. Only
 `broadcastAudienceId` is required; omitting a field leaves it unchanged.

 - `name` uses a wrapper input: pass `{ value: "..." }` to set it.
 - `filters` replaces the stored filters wholesale rather than merging into
   them, so read the current ones with `getBroadcastAudienceDetails` and send
   the full shape you want. They are validated against the audience's existing
   `type`, which cannot be changed.

 Editing an audience changes who every broadcast using it will reach on its
 next send, including broadcasts someone else wrote â check
 `getBroadcastDetails` on the broadcasts that reference it before widening or
 narrowing an audience.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatebusinesshoursoverride`

Update Business Hours Override · Write

Update an override's name, dates or slots. Omitted fields are left unchanged. Requires the `businessHours:edit` permission.

 Arguments:
 - input: UpdateBusinessHoursOverrideInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatebusinesshoursschedule`

Update Business Hours Schedule · Write

Update a business hours schedule's name, its slots, or both. Omitted fields are left unchanged; passing an empty `slots` array clears the schedule's business hours. Overlapping and adjacent slots are merged on write. Requires the `businessHours:edit` permission.

 Arguments:
 - input: UpdateBusinessHoursScheduleInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatechatapp`

Update Chat App · Write

Update the name or logo of an existing chat app. Only the fields provided in the input are changed.
 Requires the `chatApp:edit` permission.

 Arguments:
 - input: UpdateChatAppInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updateconnecteddiscordchannel`

Update Connected Discord Channel · Write

Updates settings for a connected Discord channel, such as enabling or disabling it. Disabled channels will not receive new messages from Plain.

 Arguments:
 - input: UpdateConnectedDiscordChannelInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updateconnectedslackchannel`

Update Connected Slack Channel · Write

Updates the settings of a connected Slack channel, such as its channel type (customer or discussion) or whether it is enabled.

 Arguments:
 - input: UpdateConnectedSlackChannelInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatecustomercardconfig`

Update Customer Card Config · Write

Partially updates a customer card config. Only fields that are provided in the input will be changed; omitted fields are left unchanged.

 Updating `apiUrl` or `apiHeaders` requires the `customerCardConfigApiDetails:edit` permission. Changing the `key` must still result in a unique key within the workspace.

 Arguments:
 - input: UpdateCustomerCardConfigInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatecustomergroup`

Update Customer Group · Write

Update the name, key, color, or external ID of an existing customer group. At least one field must be provided in the input. Requires `customerGroup:edit` permission.

 Arguments:
 - input: UpdateCustomerGroupInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatecustomersurvey`

Update Customer Survey · Write

Updates an existing customer survey. At least one field must be provided. Partial updates are supported â only the fields you include are changed. Requires the `customerSurvey:edit` permission.

 Arguments:
 - input: UpdateCustomerSurveyInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updateescalationpath`

Update Escalation Path · Write

Updates an existing escalation path. All fields are optional â only the fields provided will be changed.
 If `steps` is provided, it replaces the full list of steps; omit it to leave the current steps unchanged.
 Returns an error if the escalation path does not exist. Requires the `escalationPath:edit` permission.

 Arguments:
 - input: UpdateEscalationPathInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updategeneratedreply`

Update Generated Reply · Write

Record teammate feedback (thumbs up / thumbs down and an optional comment) on a generated reply. Use this to signal whether a suggestion was helpful so Plain can improve future suggestions. Requires the `generatedReply:edit` permission.

 Arguments:
 - input: UpdateGeneratedReplyInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatehelpcenter`

Update Help Center · Write

Update a help center's names, description, colour, logo or whether chat is on. Only the
 arguments you pass are changed. Requires the `helpCenter:edit` permission.
 Pass each field as its own argument, not wrapped in an `input` object.

 Custom JavaScript, sign-in, access, the type and the subdomain can't be changed here, because
 they run code on every public page, take a secret, or change who can see the help center and
 where. The user changes them in the Plain app: call `getMyWorkspace` for this workspace's ID and give
 them the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/help-center/<helpCenterId>`
 (never the `<workspaceId>` placeholder).

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

Inputs:

- `helpCenterId` (`string`, required): No description.
- `color` (`string`, optional): No description.
- `description` (`string`, optional): No description.
- `internalName` (`string`, optional): No description.
- `isChatEnabled` (`string`, optional): No description.
- `logo` (`string`, optional): No description.
- `publicName` (`string`, optional): No description.

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

### `plainmcp_updatehelpcenterarticlegroup`

Update Help Center Article Group · Write

Update the name of an existing article group. Requires the helpCenter:edit permission.

 Arguments:
 - input: UpdateHelpCenterArticleGroupInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatehelpcentercustomdomainname`

Update Help Center Custom Domain Name · Write

Set or clear the custom domain name for a help center. After setting, use verifyHelpCenterCustomDomainName to confirm DNS propagation. Requires the helpCenter:edit permission.

 Arguments:
 - input: UpdateHelpCenterCustomDomainNameInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatehelpcenterindex`

Update Help Center Index · Write

Replace the navigation index (sidebar order and hierarchy) of a help center in a single call.
 You must supply the hash returned by the helpCenterIndex query â if the index has changed since
 you read it, the call will fail so you can re-fetch and re-apply your changes.
 Requires the helpCenter:edit permission.

 Arguments:
 - input: UpdateHelpCenterIndexInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updateimportjobdefinition`

Update Import Job Definition · Write

Disable the active import job definition for a service integration. This is the only supported update â pass isEnabled: false to stop future sync runs. Returns an error if no enabled definition exists for the given service.

 Arguments:
 - input: UpdateImportJobDefinitionInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updateinternalnotifications`

Update Internal Notifications · Write

Marks one or more internal notifications as read, unread, or archived.
 Pass the notification IDs to update along with the desired `readAt` and/or `archivedAt` timestamps.
 Set `readAt` to null to mark a notification as unread; set `archivedAt` to a timestamp to archive it.
 Returns the updated notifications. Requires the `user:read` permission.

 Arguments:
 - input: UpdateInternalNotificationsInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatemachineuser`

Update Machine User · Write

Updates the name, description, or avatar of an existing machine user. At least one of `fullName`, `publicName`, `description`, or `avatar` must be provided. Requires the `machineUser:edit` permission.

 Arguments:
 - input: UpdateMachineUserInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatemyuser`

Update My User · Write

Updates profile fields (display name, short name, or avatar) for the currently authenticated human user. Only the fields provided are changed; omitted fields are left unchanged. Not available to machine users.

 Arguments:
 - input: UpdateMyUserInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatenote`

Update Note · Write

Updates the text, markdown, or attachments of an existing note. Requires the `note:edit` permission.

 Arguments:
 - input: UpdateNoteInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updaterolepriorityorder`

Update Role Priority Order · Write

Sets the order in which roles win when a user is given more than one through SSO or directory sync. Custom roles can be placed anywhere below the admin role and above the none role. Requires the `roles:edit` permission.

 Arguments:
 - input: UpdateRolePriorityOrderInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatesavedthreadsview`

Update Saved Threads View · Write

Updates an existing saved threads view. All fields in the input are optional; only the fields you provide will be changed. Depending on workspace settings, only the view's creator or workspace admins may be allowed to edit a view they did not create.

 Arguments:
 - input: UpdateSavedThreadsViewInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updateservicelevelagreement`

Update Service Level Agreement · Write

Update an existing SLA's time target, priority or label filter, business-hours setting, or breach actions. An SLA belongs to a tier or to an SLA policy: read a tier's SLAs with `tier` and a policy's with `serviceLevelAgreementPolicy`, though the SLA's ID alone is enough to update it. You cannot change an SLA's type after creation. Use the field-level wrapper inputs (e.g. `{ "value": 60 }`) for the fields you want to change and omit the rest. Requires the `serviceLevelAgreement:edit` permission.

 Arguments:
 - input: UpdateServiceLevelAgreementInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updateservicelevelagreementpolicy`

Update Service Level Agreement Policy · Write

Update an SLA policy and its targets. Pass the full set of targets you want the policy to have: a target of an existing type is updated in place, so live SLA trackers are unaffected, a new type is added, and a type you leave out is removed along with its trackers. Requires the `serviceLevelAgreement:edit` permission.

 Arguments:
 - input: UpdateServiceLevelAgreementPolicyInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatesetting`

Update Setting · Write

Create or overwrite a named setting at the given scope. Provide exactly one value field in `SettingValueInput` (boolean, string, number, or stringArray) that matches the expected type for the setting code. Returns the stored setting on success. To clear a value and revert to the scope hierarchy default, use `deleteSetting` instead.

 Arguments:
 - input: UpdateSettingInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatesnippet`

Update Snippet · Write

Updates one or more fields of an existing snippet. Each field uses a wrapper input â pass `{ value: "..." }` to set it or omit it entirely to leave it unchanged. To remove the snippet's `path` (un-group it) pass `{ value: null }`. Requires the `snippet:edit` permission.

 Arguments:
 - input: UpdateSnippetInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatetask`

Update Task · Write

Update an existing task in Plain.
 Only the fields you include are changed; omitted fields are left as is.
   - `status`: TODO, IN_PROGRESS, DONE, or CANCELLED.
   - `priority`: 0 (urgent), 1 (high), 2 (normal), or 3 (low).
   - `accountId`: the account this task relates to.
   - `assignedTo`: provide either `userId` or `machineUserId`, not both.
     Pass `assignedTo: null` to unassign the task.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatetenanttier`

Update Tenant Tier · Write

Sets the tier for a single tenant, identified by its Plain ID or external ID. Pass a null `tierIdentifier` to remove the tenant from its current tier. Use `addMembersToTier` when you need to move multiple tenants at once. Requires the `tierMembership:read` and `tierMembership:create` permissions.
 Deprecated: Use updateAccountTier instead

 Arguments:
 - input: UpdateTenantTierInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatethreadaccount`

Update Thread Account · Write

Move a thread to a different account, or pass `accountIdentifier: null` to detach it from its current account. Requires the `thread:edit` permission.

 Arguments:
 - input: UpdateThreadAccountInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatethreadagentstatus`

Update Thread Agent Status · Write

Update the AI agent status of a thread (`IN_PROGRESS`, `HANDED_OFF`, or `HANDLED`). Use this to signal that an AI agent has taken over, handed off to a human, or fully resolved the thread. Requires the `thread:edit` permission.

 Arguments:
 - input: UpdateThreadAgentStatusInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatethreadchannelassociationaccountmembershippolicy`

Update Thread Channel Association Account Membership Policy · Write

Changes how accounts are assigned for an existing thread channel association. Requires the `threadChannelAssociation:edit` permission.

 Arguments:
 - input: UpdateThreadChannelAssociationAccountMembershipPolicyInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatethreadchannelassociationtenantmembershippolicy`

Update Thread Channel Association Tenant Membership Policy · Write

Changes how tenants are assigned for an existing thread channel association. Requires the `threadChannelAssociation:edit` permission.
 Deprecated: Use updateThreadChannelAssociationAccountMembershipPolicy instead

 Arguments:
 - input: UpdateThreadChannelAssociationTenantMembershipPolicyInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatethreadescalationpath`

Update Thread Escalation Path · Write

Attach a thread to a specific escalation path, or pass `escalationPathId: null` to detach it. An escalation path defines the sequence of users or teams the thread escalates through if nobody responds in time. Requires the `thread:edit` permission.

 Arguments:
 - input: UpdateThreadEscalationPathInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatethreadexternalid`

Update Thread External Id · Write

Update the external ID of a thread. Pass `externalId: null` to clear it. Requires the `thread:edit` permission.

 Arguments:
 - input: UpdateThreadExternalIdInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatethreadservicelevelagreementpolicy`

Update Thread Service Level Agreement Policy · Write

Assign an SLA policy to a thread. A policy takes precedence over the thread's tier when selecting SLAs. Pass `serviceLevelAgreementPolicyId: null` to detach the policy and fall back to the tier's SLAs. Requires the `thread:edit` permission.

 Arguments:
 - input: UpdateThreadServiceLevelAgreementPolicyInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatethreadsuggestedactionstatus`

Update Thread Suggested Action Status · Write

Accept or dismiss a specific AI-suggested action on a thread's catchup summary. Pass the `suggestedActionId` from the thread's `catchupDetail` and the new `status`. Requires the `thread:edit` permission.

 Arguments:
 - input: UpdateThreadSuggestedActionStatusInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatethreadtenant`

Update Thread Tenant · Write

Move a thread to a different tenant, or pass `tenantIdentifier: null` to detach it from its current tenant. Requires the `thread:edit` permission.
 Deprecated: Use updateThreadAccount instead

 Arguments:
 - input: UpdateThreadTenantInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatethreadtier`

Update Thread Tier · Write

Assign a thread to a tier, which governs the SLAs applied to it. Pass `tierIdentifier: null` to detach the thread from its current tier. Requires the `thread:edit` permission.

 Arguments:
 - input: UpdateThreadTierInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatetier`

Update Tier · Write

Updates the name, color, external ID, default priority, or default flag of an existing tier. Only the fields you provide are changed. Requires the `tier:update` permission.

 Arguments:
 - input: UpdateTierInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updateuserdefaultsavedthreadsview`

Update User Default Saved Threads View · Write

Sets or clears the default saved threads view for a specific user. Pass null for savedViewId to remove the default. This controls which thread view the user sees when they first open the inbox.

 Arguments:
 - input: UpdateUserDefaultSavedThreadsViewInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updateworkflow`

Update Workflow · Write

Update a workflow's name, trigger configuration, entry step, or published status. To change where a workflow sits in the list, use `moveWorkflow`. Read `workflowBuilderGuide` first for the trigger events and every step payload.

 Arguments:
 - input: UpdateWorkflowInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updateworkflowstep`

Update Workflow Step · Write

Update a single workflow step's configuration, transitions, or canvas position. Replacing `transitions` is a full replacement of the array. `workflowBuilderGuide` lists every step payload.

 Arguments:
 - input: UpdateWorkflowStepInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_upsertaccount`

Upsert Account · Write

Creates a new account or updates an existing one identified by `externalId` or `accountId`.
 Use this to keep Plain's account records in sync with the groups or organisations in your own product.
 The `result` field on the output indicates whether a record was created or updated.
 Requires the `tenant:create` and `tenant:edit` permissions.

 Arguments:
 - input: UpsertAccountInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_upsertaccountfield`

Upsert Account Field · Write

Sets or updates a field value for a specific account. Identify the target field using `accountFieldIdentifier` (account ID + external field ID) and pass exactly one value argument matching the schema's `type` (e.g. `stringValue`, `numberValue`, `booleanValue`, `arrayValue`, `dateValue`, `userReferenceValues`, or `accountReferenceValues`). Requires the `tenantField:create`, `tenantField:update`, and `tenantFieldSchema:read` permissions. Identifying the account by `externalId` also requires the `tenant:read` permission.

 Arguments:
 - input: UpsertAccountFieldInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_upsertaccountfieldschema`

Upsert Account Field Schema · Write

Creates or updates one or more account field schemas in a single call. Each schema is identified by the combination of `source` and `externalFieldId` â if a schema with that pair already exists it is updated, otherwise a new one is created. Requires the `tenantFieldSchema:create`, `tenantFieldSchema:update`, and `tenantFieldSchema:delete` permissions.

 Arguments:
 - input: UpsertAccountFieldSchemaInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_upsertcustomergroup`

Upsert Customer Group · Write

Create or update a customer group identified by `customerGroupId`, `customerGroupKey`, or `externalId`. If a matching group is found it is updated and the result is `UPDATED`; if data is unchanged the result is `NOOP`; otherwise a new group is created and the result is `CREATED`. Note: using `customerGroupId` as the identifier returns an error if the group does not exist. Requires `customerGroup:create` and `customerGroup:edit` permissions.

 Arguments:
 - input: UpsertCustomerGroupInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_upsertmyemailsignature`

Upsert My Email Signature · Write

Creates or updates the email signature for the currently authenticated user. The signature is appended automatically to outbound emails sent by that user.

 Arguments:
 - input: UpsertMyEmailSignatureInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_upsertteamsettings`

Upsert Team Settings · Write

Create or update the settings for a team (label type of kind TEAM). If settings do not yet exist for the given team, they are created with defaults (round-robin disabled, max capacity 5); otherwise the existing settings are updated with the supplied values. The labelTypeId must refer to a label type of type TEAM â passing any other label type ID returns a validation error. Requires the `labelType:edit` permission.

 Arguments:
 - input: UpsertTeamSettingsInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_upserttenantfieldschema`

Upsert Tenant Field Schema · Write

Creates or updates one or more tenant field schemas in a single call. Each schema is identified by the combination of `source` and `externalFieldId` â if a schema with that pair already exists it is updated, otherwise a new one is created. Requires `tenantFieldSchema:create` or `tenantFieldSchema:edit` permission.
 Deprecated: Use upsertAccountFieldSchema instead

 Arguments:
 - input: UpsertTenantFieldSchemaInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_user`

User · Write

Fetch a single workspace member by their ID. Returns null if no user with that ID exists. Requires the `user:read` permission. Changing a member's role is done by the user in the Plain app. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/settings/members/<userId>` (never the `<workspaceId>` placeholder).

 Arguments:
 - userId: ID!

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

Inputs:

- `userId` (`string`, required): No description.

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

### `plainmcp_userauthdiscordchannelintegration`

User Auth Discord Channel Integration · Write

Returns the current user's personal Discord authentication for a specific guild, or null if the user has not connected their Discord account to that guild.

 Arguments:
 - discordGuildId: String!

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

Inputs:

- `discordGuildId` (`string`, required): No description.

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

### `plainmcp_userauthdiscordchannelintegrations`

User Auth Discord Channel Integrations · Write

Returns a paginated list of all personal Discord authentication integrations for the current user across all guilds.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_userauthslackintegration`

User Auth Slack Integration · Write

Returns the current user's user-auth Slack integration for the given Slack workspace, or null if not connected. Used for integrations that send messages as the user rather than as a bot.

 Arguments:
 - slackTeamId: String!

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

Inputs:

- `slackTeamId` (`string`, required): No description.

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

### `plainmcp_userauthslackintegrationbythreadid`

User Auth Slack Integration By Thread Id · Write

Returns the current user's user-auth Slack integration for the Slack workspace associated with the given thread, or null if not connected.

 Arguments:
 - threadId: ID!

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

Inputs:

- `threadId` (`string`, required): No description.

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

### `plainmcp_userbyemail`

User By Email · Write

Fetch a workspace member by their email address. Returns null if no match is found.

 Deleted users are also returned â check the `isDeleted`, `deletedAt`, and `deletedBy` fields to determine whether the user has been removed. Requires the `user:read` permission.

 Arguments:
 - email: String!

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

Inputs:

- `email` (`string`, required): No description.

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

### `plainmcp_users`

Users · Write

List all human members of the workspace, with optional filters to narrow results by role assignability. Supports cursor-based pagination. Requires the `user:read` permission. Inviting people and changing their roles are done by the user in the Plain app. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/settings/members/add` (never the `<workspaceId>` placeholder), or `â¦/settings/members/<userId>` to change a member's role.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - filters: UsersFilter
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `filters` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_userslackchannelmemberships`

User Slack Channel Memberships · Write

Returns the Slack channels the current user belongs to within the given Slack workspace. Useful for populating channel pickers in UI integrations.

 Arguments:
 - slackTeamId: String!

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

Inputs:

- `slackTeamId` (`string`, required): No description.

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

### `plainmcp_verifyhelpcentercustomdomainname`

Verify Help Center Custom Domain Name · Write

Trigger a DNS verification check for the custom domain configured on the help center. Returns an error if the expected TXT record is not yet visible. Requires the helpCenter:edit permission.

 Arguments:
 - input: VerifyHelpCenterCustomDomainNameInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_webhooktarget`

Webhook Target · Write

Fetch a single webhook target by its ID. Returns null if no target with that ID exists in the workspace. Requires the `webhookTarget:read` permission. Creating, changing and deleting webhook targets are done by the user in the Plain app, because a webhook sends workspace events to an outside URL. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/settings/webhooks/<webhookTargetId>` (never the `<workspaceId>` placeholder), or `â¦/settings/webhooks/add` for a new one.

 Arguments:
 - webhookTargetId: ID!

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

Inputs:

- `webhookTargetId` (`string`, required): No description.

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

### `plainmcp_webhooktargets`

Webhook Targets · Write

List all webhook targets registered in the workspace, paginated. Returns every endpoint Plain is configured to deliver events to. Requires the `webhookTarget:read` permission. Creating, changing and deleting webhook targets are done by the user in the Plain app, because a webhook sends workspace events to an outside URL. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/settings/webhooks/add` (never the `<workspaceId>` placeholder), or `â¦/settings/webhooks/<webhookTargetId>` for an existing one.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_webhookversions`

Webhook Versions · Write

List all available webhook schema versions. Use this to discover which versions you can pin a webhook target to, and to check whether a version you are already using has been deprecated. Requires the `webhookTarget:read` permission.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_workflow`

Workflow · Write

Get a workflow by id. Returns null if no workflow with the given ID exists.
 Workflows are the step-based automation model that supports conditions, actions, and wait steps connected in a graph.

 Arguments:
 - workflowId: ID!

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

Inputs:

- `workflowId` (`string`, required): No description.

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

### `plainmcp_workflowbuilderguide`

Workflow Builder Guide · Write

How to build or edit a workflow with these tools, as markdown: the trigger events, every condition and action payload with its fields, how steps connect, and how to publish and link to the result. Read it before creating or changing a workflow. Requires the `workflowRule:read` permission.

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

Inputs: none.

Example input: `{}`

### `plainmcp_workflowcapabilities`

Workflow Capabilities · Write

Returns which blocks (condition/action/wait steps) are available for a workflow of the given
 trigger type. The builder UI sources its palette from this so the allow-list lives in the
 backend, not hardcoded in the UI. E.g. SCHEDULE workflows have no thread, so they allow no
 conditions/waits and only a restricted set of action types. Read `workflowBuilderGuide` first for the trigger events and every step payload.

 Arguments:
 - triggerType: WorkflowTriggerType!

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

Inputs:

- `triggerType` (`string`, required): No description.

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

### `plainmcp_workflowexecution`

Workflow Execution · Write

Get a single workflow execution by id. Returns null if no execution with the given ID exists.
 Use this to inspect the status, timing, and per-step results of a specific run.

 Arguments:
 - workflowExecutionId: ID!

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

Inputs:

- `workflowExecutionId` (`string`, required): No description.

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

### `plainmcp_workflowexecutions`

Workflow Executions · Write

List executions for a specific workflow, paginated. Use this to audit the run history of a workflow and check for failures.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - workflowId: ID!
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `workflowId` (`string`, required): No description.
- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

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

### `plainmcp_workflowexecutionsbyentity`

Workflow Executions By Entity · Write

List workflow executions filtered by the entity they ran against (e.g. a specific thread), paginated.
 Useful for showing all automation that has fired on a given thread. Optionally narrow further by workflow ID or execution status.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - filters: WorkflowExecutionByEntityFilter!
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `filters` (`string`, required): No description.
- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

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

### `plainmcp_workflowexecutionsforworkspace`

Workflow Executions For Workspace · Write

List executions across every workflow in the workspace, newest first, paginated. Use this for a
 workspace-wide view of what automation has been doing, or narrow it with `filters` â by workflow,
 by the entity a run fired against, or by state. Executions that have not started yet sort to the top.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - filters: WorkflowExecutionsFilter
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `filters` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_workflows`

Workflows · Write

List workflows in the workspace, paginated. Use `filters` to narrow results by trigger type
 (MANUAL, EVENTS or SCHEDULE), published status, the events an `events` trigger listens for,
 or the entities their steps reference (e.g. every workflow applying a given SLA policy).
 Ordered by `position` ascending unless `sortBy` says otherwise.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String
 - filters: WorkflowsFilter
 - sortBy: WorkflowsSort

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `filters` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.
- `sortBy` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_workflowsharelink`

Workflow Share Link · Write

Fetch a workflow share link by its token. Returns null if no share link with the given token exists.

 Arguments:
 - token: String!

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

Inputs:

- `token` (`string`, required): No description.

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

### `plainmcp_workflowtemplate`

Workflow Template · Write

Null if no template with that ID is published. Deprecated templates still resolve here, which is
 what keeps existing install links working.
 Needs an authenticated caller and nothing more.

 Arguments:
 - templateId: ID!

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

Inputs:

- `templateId` (`string`, required): No description.

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

### `plainmcp_workflowtemplategallery`

Workflow Template Gallery · Write

Published templates for the gallery, metadata only â deprecated ones are already absent because the
 templates repo omits them. Use `workflowTemplate` for one with its workflows.
 Needs an authenticated caller and nothing more: templates are one published document, identical
 for every workspace, so there is nothing to scope by permission.

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

Inputs: none.

Example input: `{}`

### `plainmcp_workspace`

Workspace · Write

Fetch a workspace by its ID. Returns null if the workspace does not exist or the caller does not have access to it.

 Arguments:
 - workspaceId: ID!

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

Inputs:

- `workspaceId` (`string`, required): No description.

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

### `plainmcp_workspacechatsettings`

Workspace Chat Settings · Write

Returns the workspace-level chat settings, including whether the live-chat channel is enabled for this workspace.

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

Inputs: none.

Example input: `{}`

### `plainmcp_workspacediscordchannelintegration`

Workspace Discord Channel Integration · Write

Fetches a single workspace Discord channel integration by its ID. Returns null if no integration with that ID exists. Not connected yet? Connecting needs the user's approval in the provider. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/install/discord` (never the `<workspaceId>` placeholder), which takes them straight to Discord to approve, then read this again to confirm.

 Arguments:
 - integrationId: ID!

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

Inputs:

- `integrationId` (`string`, required): No description.

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

### `plainmcp_workspacediscordchannelintegrations`

Workspace Discord Channel Integrations · Write

Returns a paginated list of all Discord server (guild) channel integrations connected to this workspace. Not connected yet? Connecting needs the user's approval in the provider. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/install/discord` (never the `<workspaceId>` placeholder), which takes them straight to Discord to approve, then read this again to confirm.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_workspaceemailsettings`

Workspace Email Settings · Write

Returns the workspace's email settings, including whether email is enabled, any custom domain configuration, and BCC addresses. Changing these settings, including the support email domain, its forwarding and alternate addresses, is done by the user in the Plain app, because they decide where mail is sent from and to. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/settings/email` (never the `<workspaceId>` placeholder).

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

Inputs: none.

Example input: `{}`

### `plainmcp_workspaceinvites`

Workspace Invites · Write

Returns all pending invites for the current workspace. Use this to view outstanding invitations and their status from an admin perspective. Inviting someone is done by the user in the Plain app. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/settings/members/add` (never the `<workspaceId>` placeholder).
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_workspacemsteamsintegration`

Workspace Msteams Integration · Write

Returns the workspace-level Microsoft Teams integration, or null if none has been created yet. Not connected yet? Connecting needs the user's approval in the provider. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/install/ms-teams` (never the `<workspaceId>` placeholder), which takes them straight to Microsoft Teams to approve, then read this again to confirm.

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

Inputs: none.

Example input: `{}`

### `plainmcp_workspacesetup`

Workspace Setup · Write

Returns how far this workspace has progressed through setup: channels, teammates, label
 types, tiers, automation and Sidekick Agent tools. These are the same steps as the Onboarding
 checklist the user sees in the Plain app. Connecting the email channel
 and inviting teammates are done by the user in the Plain app. Get this workspace's ID and give
 the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/settings/email`
 or `https://app.plain.com/workspace/w_â¦/settings/members/add` (never the `<workspaceId>`
 placeholder).

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

Inputs: none.

Example input: `{}`

### `plainmcp_workspaceslackchannelintegration`

Workspace Slack Channel Integration · Write

Returns a single workspace Slack channel integration by ID, or null if not found. Not connected yet? Connecting needs the user's approval in the provider. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/install/slack` (never the `<workspaceId>` placeholder), which takes them straight to Slack to approve, then read this again to confirm.

 Arguments:
 - integrationId: ID!

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

Inputs:

- `integrationId` (`string`, required): No description.

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

### `plainmcp_workspaceslackchannelintegrations`

Workspace Slack Channel Integrations · Write

Returns a paginated list of all workspace Slack channel integrations for this workspace. Not connected yet? Connecting needs the user's approval in the provider. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/install/slack` (never the `<workspaceId>` placeholder), which takes them straight to Slack to approve, then read this again to confirm.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_workspaceslackintegration`

Workspace Slack Integration · Write

Returns a single workspace-level Slack notifications integration by ID, or null if not found. A Slack channel integration's ID (from `workspaceSlackChannelIntegrations`) returns null here; to connect notifications through one, use `createWorkspaceSlackIntegrationFromAuth`. Not connected yet? Connecting needs the user's approval in the provider. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/settings/slack` (never the `<workspaceId>` placeholder), then read this again to confirm.

 Arguments:
 - integrationId: ID!

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

Inputs:

- `integrationId` (`string`, required): No description.

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

### `plainmcp_workspaceslackintegrations`

Workspace Slack Integrations · Write

Returns a paginated list of all workspace-level Slack notifications integrations for this workspace. For the Slack teams connected for support channels, use `workspaceSlackChannelIntegrations`. To connect notifications through a Slack channel integration the workspace already has, use `createWorkspaceSlackIntegrationFromAuth`. Not connected yet? Connecting needs the user's approval in the provider. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/settings/slack` (never the `<workspaceId>` placeholder), then read this again to confirm.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_workspaceslacksidekickintegration`

Workspace Slack Sidekick Integration · Write

Returns the current workspace's Slack Sidekick Agent integration, or null if Sidekick Agent has not been installed. Requires the workspaceSlackSidekickIntegration:read permission. Not connected yet? Connecting needs the user's approval in the provider. Get this workspace's ID and give the user the full link with that ID in it, `https://app.plain.com/workspace/w_â¦/settings/slack` (never the `<workspaceId>` placeholder), then read this again to confirm.

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

Inputs: none.

Example input: `{}`

### `plainmcp_addgeneratedreply`

AddGeneratedReply · Destructive

Add an AI-generated reply to a thread in Plain.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_addlabels`

AddLabels · Destructive

Add one or more labels to a thread.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_archivelabeltype`

ArchiveLabelType · Destructive

Archive a label type so it can no longer be applied to threads.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_assignthread`

AssignThread · Destructive

Assign a thread to a user or machine user.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_bulkupsertthreadfields`

BulkUpsertThreadFields · Destructive

Create or update multiple thread field values in a single call.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_changethreadpriority`

ChangeThreadPriority · Destructive

Update the priority of a thread. Valid priorities are 0 (urgent) through 3 (low).

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createlabeltype`

CreateLabelType · Destructive

Create a new label type that can be applied to threads.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createnote`

CreateNote · Destructive

Add an internal note to a thread, visible only to workspace members.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createsnippet`

CreateSnippet · Destructive

Create a new snippet (reusable reply template) in the workspace. name is what agents search for when inserting the snippet; text is the plain-text body (required). Optionally provide markdown for rich-text channels, and path (alphanumeric only) to place the snippet in a folder in the Plain app. Snippet bodies may include template variables such as {{ customer.email }}, {{ customer.fullName }}, {{ user.publicName }}, {{ thread.ref }}.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createthread`

CreateThread · Destructive

Open a new support thread for an existing customer. Does not send a message — follow up with replyToThread if needed.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createthreadfieldschema`

CreateThreadFieldSchema · Destructive

Create a new custom thread field schema for the workspace.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_createthreadlink`

CreateThreadLink · Destructive

Link a thread to an external entity (e.g. a Linear issue, Jira issue, incident.io incident, or another Plain thread/task). Provide threadId plus exactly one way to identify the link target: linearIssue, jiraIssue, plainThread, plainTask, or sourceId+sourceType (use searchThreadLinkCandidates to discover sourceId for a given sourceType).

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_deleteaitonerules`

Delete Ai Tone Rules · Destructive

Permanently deletes one or more AI tone rules by ID. If any supplied ID does not exist the entire operation fails and no rules are deleted. Requires the `aiToneRule:delete` permission.

 Arguments:
 - input: DeleteAiToneRulesInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_deletealltestthreads`

Delete All Test Threads · Destructive

Permanently delete every test thread belonging to the signed-in user.

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

Inputs: none.

Example input: `{}`

### `plainmcp_deleteautoresponder`

Delete Autoresponder · Destructive

Permanently delete an autoresponder. The deleted autoresponder is returned in the response. Requires the `autoresponder:delete` permission.

 Arguments:
 - input: DeleteAutoresponderInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_deletebroadcast`

Delete Broadcast · Destructive

Soft-delete a broadcast. Deleted broadcasts are excluded from
 `getBroadcasts` and `searchBroadcasts` but remain fetchable by ID with
 `getBroadcastDetails`, where `isDeleted` is true â so the record of what was
 sent survives.

 Deleting a broadcast whose send is already underway does not recall the
 messages it has already posted.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_deletebroadcastaudience`

Delete Broadcast Audience · Destructive

Soft-delete a broadcast audience. Deleted audiences are excluded from
 `getBroadcastAudiences` but stay fetchable by ID with
 `getBroadcastAudienceDetails`, so the record of what a past broadcast was
 sent to survives.

 Rejected with `cannot_delete_broadcast_audience` while a broadcast targeting
 the audience is scheduled or being sent, because past `SCHEDULED` its author
 can no longer edit the reference away.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_deletebusinesshoursoverride`

Delete Business Hours Override · Destructive

Delete an override. The schedule's weekly hours apply to its dates again. Requires the `businessHours:delete` permission.

 Arguments:
 - input: DeleteBusinessHoursOverrideInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_deletebusinesshoursschedule`

Delete Business Hours Schedule · Destructive

Delete a business hours schedule and the slots belonging to it. Requires the `businessHours:delete` permission.

 Arguments:
 - input: DeleteBusinessHoursScheduleInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_deletecustomergroup`

Delete Customer Group · Destructive

Permanently delete a customer group by ID. This will fail if the group still has members â remove all customers from the group first. Requires `customerGroup:delete` permission.

 Arguments:
 - input: DeleteCustomerGroupInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_deletecustomersurvey`

Delete Customer Survey · Destructive

Permanently deletes a customer survey. Returns an error if the survey does not exist. Requires the `customerSurvey:delete` permission.

 Arguments:
 - input: DeleteCustomerSurveyInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_deletedthreads`

Deleted Threads · Destructive

Paginated list of threads that have been deleted. Only threads deleted after the deletion audit log was enabled for your workspace are included. Useful for auditing or syncing deletions to an external system. Requires the `thread:read` permission.
 Pages of 100 can be too big to read: ask for 50 at a time with `first`, then page on with `after`.

 Arguments:
 - filters: DeletedThreadsFilter
 - first: Int
 - after: String
 - last: Int
 - before: String

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

Inputs:

- `after` (`string`, optional): No description.
- `before` (`string`, optional): No description.
- `filters` (`string`, optional): No description.
- `first` (`string`, optional): No description.
- `last` (`string`, optional): No description.

Example input: `{}`

### `plainmcp_deleteescalationpath`

Delete Escalation Path · Destructive

Permanently deletes an escalation path by ID. Returns an error if the escalation path does not exist.
 Threads that were attached to this escalation path will lose their escalation path association.
 Requires the `escalationPath:delete` permission.

 Arguments:
 - input: DeleteEscalationPathInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_deletehelpcenterarticlegroup`

Delete Help Center Article Group · Destructive

Delete an article group. Articles that belonged to the group are not deleted â they become ungrouped. To remove articles entirely, use deleteHelpCenterArticle. Requires the helpCenter:edit permission.

 Arguments:
 - input: DeleteHelpCenterArticleGroupInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_deleteknowledgesource`

Delete Knowledge Source · Destructive

Delete a knowledge source and remove it from Plain AI's index. This is idempotent â deleting a knowledge source that does not exist returns no error.

 Arguments:
 - input: DeleteKnowledgeSourceInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_deletemyfavoritepage`

Delete My Favorite Page · Destructive

Removes a favorite page for the currently authenticated user. If the specified favorite page does not exist or belongs to a different user, the mutation succeeds silently with no error. Requires the `favoritePage:delete` permission.

 Arguments:
 - input: DeleteMyFavoritePageInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_deletesavedthreadsview`

Delete Saved Threads View · Destructive

Permanently deletes a saved threads view. Returns an error if the view does not exist. Depending on workspace settings, only the view's creator or workspace admins may be allowed to delete a view they did not create.

 Arguments:
 - input: DeleteSavedThreadsViewInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_deleteservicelevelagreement`

Delete Service Level Agreement · Destructive

Delete an SLA from a tier. A first-response-time SLA cannot be deleted while a next-response-time SLA still exists on the same tier â delete the next-response SLA first. Returns the deleted SLA on success. Requires the `serviceLevelAgreement:delete` permission.

 Arguments:
 - input: DeleteServiceLevelAgreementInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_deletesnippet`

Delete Snippet · Destructive

Soft-deletes a snippet. Deleted snippets are hidden from the snippet picker but remain fetchable by ID with `isDeleted: true`, preserving the history of replies that referenced them. Requires the `snippet:delete` permission.

 Arguments:
 - input: DeleteSnippetInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_deletetestthread`

Delete Test Thread · Destructive

Permanently delete one of the signed-in user's own test threads. Other threads are reported as not found.

 Arguments:
 - input: DeleteTestThreadInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_deletethreadfield`

Delete Thread Field · Destructive

Removes a stored thread field value from a thread, identified by thread ID and field key. Has no effect if the field has no value. Requires the `threadField:delete` permission.

 Arguments:
 - input: DeleteThreadFieldInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_deletethreadfieldschema`

DeleteThreadFieldSchema · Destructive

Permanently delete a custom thread field schema by key.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_deletethreadlink`

DeleteThreadLink · Destructive

Remove a link between a thread and an external entity. Pass the threadLinkId of the link to delete (the id returned by createThreadLink or listed under a thread's links in getThreadDetails).

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_deleteworkflow`

Delete Workflow · Destructive

Permanently delete a workflow and all its steps. Existing executions are retained for audit purposes.

 Arguments:
 - input: DeleteWorkflowInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_deleteworkflowstep`

Delete Workflow Step · Destructive

Delete a single step from a workflow. You are responsible for updating any steps that reference this step in their transitions.

 Arguments:
 - input: DeleteWorkflowStepInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_getattachmentdownloadurl`

GetAttachmentDownloadUrl · Destructive

Generate a short-lived download URL for an attachment on a thread. Use attachment IDs returned by getThreadDetails. The returned downloadUrl expires after 3 minutes. Requires the attachment:download permission.

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

Inputs:

- `attachmentId` (`string`, required): Attachment ID from a thread's timeline entries (e.g. NoteEntry, ChatEntry, EmailEntry), returned by getThreadDetails.

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

### `plainmcp_markthreadasdone`

MarkThreadAsDone · Destructive

Mark a thread as done, moving it out of the active queue.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_markthreadastodo`

MarkThreadAsTodo · Destructive

Mark a thread as todo, returning it to the active queue.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_mergethread`

MergeThread · Destructive

Merge one Plain thread into another (a MERGED_INTO native thread link). The child thread is merged into the parent thread; on success the child thread is marked as done. For a non-merging association between threads or to an external entity, use createThreadLink instead.

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

Inputs:

- `childThreadId` (`string`, required): Thread ID (starts with th_) of the thread to merge in. This thread will be marked as done.
- `parentThreadId` (`string`, required): Thread ID (starts with th_) of the thread to merge into.

Example input: `{"childThreadId":"<childThreadId>","parentThreadId":"<parentThreadId>"}`

### `plainmcp_movelabeltype`

MoveLabelType · Destructive

Reorder a label type within the workspace label list.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_removeaccountfieldschemamapping`

Remove Account Field Schema Mapping · Destructive

Removes the mapping between an account field schema and a built-in Plain concept, disabling any automatic behaviour (such as tier assignment) driven by that field.

 Arguments:
 - input: RemoveAccountFieldSchemaMappingInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_removeadditionalassignees`

Remove Additional Assignees · Destructive

Remove one or more additional assignees from a thread. Does not affect the primary assignee. Requires the `thread:unassign` and `thread:read` permissions.

 Arguments:
 - input: RemoveAdditionalAssigneesInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_removecustomerfromaccounts`

Remove Customer From Accounts · Destructive

Removes a customer from one or more accounts. The customer can be identified by their Plain ID, external ID, or email address.
 If the customer is not currently a member of a specified account the operation is a no-op for that account.
 Requires the `customer:edit` and `customerTenantMembership:delete` permissions.

 Arguments:
 - input: RemoveCustomerFromAccountsInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_removecustomerfromcustomergroups`

Remove Customer From Customer Groups · Destructive

Remove a customer from one or more customer groups (up to 25 at once), identified by group ID, key, or external ID. Returns an error if the customer is not currently a member of any of the specified groups. Requires `customerGroupMembership:delete` permission.

 Arguments:
 - input: RemoveCustomerFromCustomerGroupsInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_removecustomerfromtenants`

Remove Customer From Tenants · Destructive

Removes a customer from one or more tenants. The customer can be identified by their Plain ID, external ID, or email address.
 If the customer is not currently a member of a specified tenant the operation is a no-op for that tenant.
 Requires the `customer:edit` and `customerTenantMembership:delete` permissions.
 Deprecated: Use removeCustomerFromAccounts instead

 Arguments:
 - input: RemoveCustomerFromTenantsInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_removelabels`

RemoveLabels · Destructive

Remove one or more labels from a thread.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_removelabelsfromuser`

Remove Labels From User · Destructive

Remove one or more labels from a Plain user (agent) by label ID. Returns the remaining labels still applied to the user after the removal. Requires the `label:delete` permission.

 Arguments:
 - input: RemoveLabelsFromUserInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_removemembersfromtier`

Remove Members From Tier · Destructive

Removes one or more tenants or companies from their current tier (up to 25 per call). After removal the member has no tier. Requires the `tierMembership:read` and `tierMembership:delete` permissions.

 Arguments:
 - input: RemoveMembersFromTierInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_removetenantfieldschemamapping`

Remove Tenant Field Schema Mapping · Destructive

Removes the mapping between a tenant field schema and a built-in Plain concept, disabling any automatic behaviour (such as tier assignment) driven by that field.
 Deprecated: Use removeAccountFieldSchemaMapping instead

 Arguments:
 - input: RemoveTenantFieldSchemaMappingInput!

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_reorderthreadfieldschemas`

ReorderThreadFieldSchemas · Destructive

Change the display order of custom thread field schemas.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_replytothread`

ReplyToThread · Destructive

Send a reply to the last message in a thread via email, Slack, or chat.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_resolvesidekickapproval`

ResolveSidekickApproval · Destructive

Approve or deny a Sidekick tool-call approval request. ASK THE USER BEFORE CALLING THIS - show them the justification and every requested call from getSidekickSession's approval-request entry, and wait for an explicit instruction. Approving authorises Sidekick's own credentials (usually broader than the user's), not the user's own action. Denying is always safe and only reduces what Sidekick may do.

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

Inputs:

- `decision` (`string`, required): No description.
- `leaseId` (`string`, required): No description.
- `reviewerNote` (`string`, optional): No description.

Example input: `{"decision":"<decision>","leaseId":"<leaseId>"}`

### `plainmcp_sendsidekickmessage`

SendSidekickMessage · Destructive

Send a follow-up message into an existing Sidekick session. Use this to answer a question from Sidekick, redirect it, or give it the next task in the same session. This tool returns as soon as the message is accepted - poll getSidekickSession for the reply.

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

Inputs:

- `discussionId` (`string`, required): Sidekick session handle (starts with thdis_) returned by startSidekickSession.
- `markdownContent` (`string`, required): The follow-up message to send into the session.

Example input: `{"discussionId":"<discussionId>","markdownContent":"<markdownContent>"}`

### `plainmcp_snoozethread`

SnoozeThread · Destructive

Snooze a thread until a specified date and time.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_startsidekicksession`

StartSidekickSession · Destructive

Start a new Sidekick (Plain's AI agent) session and return the handle used by every other Sidekick tool. Runs asynchronously; poll getSidekickSession with the returned discussion id to follow progress and collect the reply. On a timeout do NOT retry blindly - call listSidekickSessions first to check whether the first attempt landed.

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

Inputs:

- `markdownContent` (`string`, required): No description.
- `additionalContext` (`string`, optional): No description.
- `threadId` (`string`, optional): No description.

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

### `plainmcp_unarchivelabeltype`

UnarchiveLabelType · Destructive

Restore an archived label type so it can be applied to threads again.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_unassignthread`

UnassignThread · Destructive

Remove the current assignee from a thread.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatelabeltype`

UpdateLabelType · Destructive

Update the name or color of an existing label type.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatethreadfieldschema`

UpdateThreadFieldSchema · Destructive

Update the label or options of an existing thread field schema.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_updatethreadtitle`

UpdateThreadTitle · Destructive

Update the title of an existing thread.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_upsertcustomer`

UpsertCustomer · Destructive

Create or update a customer by external ID, email, or customer ID.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_upserthelpcenterarticle`

UpsertHelpCenterArticle · Destructive

Create or update a Help Center article by slug.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_upserttenant`

UpsertTenant · Destructive

Create or update a tenant by external ID or tenant ID.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_upserttenantfield`

UpsertTenantField · Destructive

Set or update a custom field value on a tenant.

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

Inputs:

- `input` (`string`, required): No description.

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

### `plainmcp_upsertthreadfield`

UpsertThreadField · Destructive

Set or update a custom field value on a thread.

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

Inputs:

- `input` (`string`, required): No description.

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

## Related

Other Customer Support connectors ([all 21](/agentkit/connectors/?category=customer-support)):

- [Crisp](/agentkit/connectors/crisp/): Scalekit connector, API key, 50 tools
- [Intercom](/agentkit/connectors/intercom/): Scalekit connector, OAuth, 113 tools
- [Freshdesk](/agentkit/connectors/freshdesk/): Scalekit connector, Username and password, 34 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 |
