> For the complete documentation index, see [llms.txt](https://docs.podigee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-tools/private-feeds.md). Agents can also search and read this documentation through its [MCP server](https://docs.podigee.com/~gitbook/mcp).

# Private feed tools

Reference for the MCP tools that make a show private and manage the listeners of its private feed.

These Model Context Protocol (MCP) tools manage private feeds. A private show has a feed that only invited listeners can subscribe to. The tools make a show private or public again, invite listeners, list them, activate, deactivate or delete them, and send a password reset email. Listeners only hear a private show. They are not team members: to invite someone to work on a show or the account, use `find_in_podigee` (see [Account and help tools](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-tools/account-and-help.md)). Every MCP client gets the full JSON input and output schemas of each tool from `tools/list`.

In the Required column, a value such as "For the preview" or "For the apply" is a rule of the call. The JSON schema can show the field as optional.

| Tool                           | What it does                                                                                                | Scopes                                                            | Read-only or write |
| ------------------------------ | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- | ------------------ |
| `manage_feed_access`           | Reads the feed and listeners of a show, makes a show private or public, and invites or changes one listener | `mcp:listeners:read`, `mcp:listeners:write`, `mcp:podcasts:write` | Write              |
| `create_listener`              | Previews, then invites or creates a listener                                                                | `mcp:listeners:write`                                             | Write              |
| `list_listeners`               | Lists the listeners of private shows                                                                        | `mcp:listeners:read`                                              | Read-only          |
| `update_listener_status`       | Activates, deactivates or deletes a listener                                                                | `mcp:listeners:write`                                             | Write              |
| `send_listener_password_reset` | Previews, then sends a password reset email to a listener                                                   | `mcp:listeners:write`                                             | Write              |

Rules for all tools on this page:

* Listener email addresses and names are personal data. Show them only to the person who manages the show. A private feed address gives access to the show: do not post it.
* The person must be able to edit the show. Otherwise a change fails with `forbidden`.
* A change uses a preview and a confirm. The confirm, idempotency and expiry rules, and the 15-second wait before a delete confirm, are in [Preview and confirm changes](https://docs.podigee.com/documentation/start-here/ai-agents/work-safely/preview-and-confirm-changes.md).
* The contract line of each tool gives the annotations. "Open world" means that the tool can reach a system outside Podigee, for example to send an email. The scope rules are in [Authorization and scopes](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-reference/authorization-and-scopes.md).

For the complete job, read [Manage private feeds and listeners](https://docs.podigee.com/documentation/start-here/ai-agents/content-analytics-and-distribution/manage-private-feeds-and-listeners.md).

## `manage_feed_access`

Makes a show private or public again, and manages the listeners of a private show. With `podcast_id` alone, it reads the feed address, if the show is private, and its listeners. `feed_protection: "enable"` makes the show private, so only invited listeners can subscribe. `"disable"` makes it public again. `listener_attributes` invites a listener. `listener_id` with `listener_action` activates, deactivates or deletes one.

Access and scopes:

* Every call needs `mcp:listeners:read`, `mcp:listeners:write` and `mcp:podcasts:write`, also a call with `podcast_id` alone that only reads.
* A connection without these scopes still sees the tool in the tool list. A call then fails with `insufficient_scope`. Write tools disappear from the tool list only when writes are off for the account or for the server.
* To read listeners on a read-only connection, use `list_listeners`. It needs only `mcp:listeners:read`.

How changes work:

* `feed_protection` without `confirm`, or with `dry_run: true`, returns a preview with a `confirm` value and changes nothing. The apply needs `confirm`, not `idempotency_key`.
* `listener_attributes` follows the rules of `create_listener`. In one dry run you can preview `feed_protection: "enable"` together with a new listener.
* `listener_action` follows the rules of `update_listener_status`.
* A call that is not a dry run applies one change. A call that combines `feed_protection` with a listener change, or two listener changes, is refused with `invalid_params`. Send each change in a separate call.

**Contract:** scopes `mcp:listeners:read`, `mcp:listeners:write` and `mcp:podcasts:write`. Read-only: no. Destructive: yes. Idempotent: no. Open world: yes.

| Parameter             | Type    | Required                             | Default   | Limits                             | Meaning                                                                               |
| --------------------- | ------- | ------------------------------------ | --------- | ---------------------------------- | ------------------------------------------------------------------------------------- |
| `podcast_id`          | integer | For a read and for `feed_protection` | None      | 1 or more                          | Show id, from `list_podcasts`                                                         |
| `feed_protection`     | string  | No                                   | no change | `enable`, `disable`, `on`, `off`   | `enable` (or `on`) makes the show private. `disable` (or `off`) makes it public again |
| `listener_attributes` | object  | No                                   | None      | as in `create_listener`            | Invites a new listener                                                                |
| `listener_id`         | integer | With `listener_action`               | None      | 1 or more                          | Listener id, from `list_listeners`                                                    |
| `listener_action`     | string  | With `listener_id`                   | None      | `activate`, `deactivate`, `delete` | What to do with the listener                                                          |
| `dry_run`             | boolean | No                                   | `false`   | None                               | `true` previews the change and changes nothing                                        |
| `idempotency_key`     | string  | For a listener invite                | None      | 1 to 255 characters                | Any unique text for this change                                                       |
| `confirm`             | string  | For an apply                         | None      | at least 1 character               | The `confirm` value from the preview. Send it only after the person said yes          |

| Output field        | Meaning                                                                                                                         |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| `feed_info`         | `public_feed_url`, `protected` (true when the show is private), and `ad_free_feed_enabled`                                      |
| `listeners`         | The 25 newest listeners of the show. This list has no paging: use `list_listeners` for all listeners                            |
| `protection_result` | The preview (`proposed_protected`, `confirm`, `next_step`) or the result (`protected`, `applied`) of a `feed_protection` change |
| `listener_result`   | The preview or the result of a listener change                                                                                  |

```json
{
  "podcast_id": 42
}
```

Errors that this tool adds:

* `plan_limit_reached` with `entitlement: "protected_podcasts"`: the plan does not include private feeds.
* `invalid_params`: a call that is not a dry run carries more than one change.
* The errors of `create_listener` and `update_listener_status` for a listener change.

For the common errors, see [Limits, errors, and recovery](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-reference/limits-errors-and-recovery.md).

## `create_listener`

Previews, then invites or creates a listener of a private show. The show must already have a private feed. Switch it on with `manage_feed_access` and `feed_protection: "enable"` first.

* With an email address and no password, Podigee sends an invitation email. The listener has the status `pending` until they set a password.
* With a `password`, the listener is `active` at once and gets no invitation. The preview never shows the password. It shows `password_supplied: true`.

Prerequisites:

* The plan of the show owner includes private feeds, and the show has a private feed.
* The plan has room for one more listener.
* No listener of the show uses the same email address.

**Contract:** scope `mcp:listeners:write`. Read-only: no. Destructive: no. Idempotent: yes. Open world: yes.

| Parameter               | Type                       | Required              | Default   | Limits                | Meaning                                                                                                                         |
| ----------------------- | -------------------------- | --------------------- | --------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| `attributes.podcast_id` | integer                    | Yes                   | None      | 1 or more             | The private show                                                                                                                |
| `attributes.email`      | string                     | `email` or `username` | None      | a valid email address | The email address of the listener. Podigee stores it in lower case                                                              |
| `attributes.username`   | string                     | `email` or `username` | None      | at least 1 character  | A user name, for a listener without an email address                                                                            |
| `attributes.password`   | string                     | No                    | None      | at least 1 character  | Sets the password and makes the listener active at once                                                                         |
| `attributes.expires_at` | string (date-time) or null | No                    | no expiry | ISO 8601 date-time    | When the access of the listener ends. ISO 8601 is the international standard format for dates and times                         |
| `dry_run`               | boolean                    | For the preview       | None      | None                  | `true` previews the listener and changes nothing                                                                                |
| `idempotency_key`       | string                     | For the apply         | None      | 1 to 255 characters   | Any unique text for this change                                                                                                 |
| `confirm`               | string                     | For the apply         | None      | at least 1 character  | The `confirm` value from the preview. Send it only after you showed the person the preview and they said yes in a later message |

The request has one of two forms. A preview sends `attributes` and `dry_run: true`. An apply sends the same `attributes`, an `idempotency_key` and `confirm`.

| Output field                                      | Meaning                                                                                            |
| ------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| `attributes`, `confirm`, `next_step`              | Preview: the listener that the apply creates, the confirm value, and what to do before you confirm |
| `id`, `status`, `email`, `username`, `expires_at` | Apply: the new listener                                                                            |

```json
{
  "attributes": {
    "podcast_id": 42,
    "email": "listener@example.com",
    "expires_at": "2027-01-31T23:59:59Z"
  },
  "dry_run": true
}
```

Errors that this tool adds (the preview checks the same conditions):

* `plan_limit_reached` with `entitlement: "protected_podcasts"`: the plan of the show owner does not include private feeds. An upgrade of the plan enables them.
* `validation_error`: the feed of the show is not private, so a listener gets no access. Switch the private feed on first.
* `plan_limit_reached` with `entitlement: "private_feed_listeners"`: the plan reached its listener limit. The error gives `limit` and `used`. An upgrade of the plan raises the limit.
* `validation_error`: a listener of this show already uses this email address.

Do not retry these errors unchanged. Tell the person what blocks the change. For the common errors, see [Limits, errors, and recovery](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-reference/limits-errors-and-recovery.md).

## `list_listeners`

Lists the listeners of private shows, newest first. These are the people invited to a private show. The list holds the listeners of the shows that the person can edit in the connected account. Comments of listeners on episodes are a different thing: no MCP tool reads or approves them. Use `find_in_podigee` to open the Comments page.

**Contract:** scope `mcp:listeners:read`. Read-only: yes. Destructive: no. Idempotent: yes. Open world: no.

| Parameter    | Type    | Required | Default   | Limits    | Meaning                         |
| ------------ | ------- | -------- | --------- | --------- | ------------------------------- |
| `podcast_id` | integer | No       | all shows | 1 or more | Only the listeners of this show |
| `limit`      | integer | No       | 25        | 1 to 100  | How many listeners to return    |
| `offset`     | integer | No       | 0         | 0 or more | How many listeners to skip      |

| Output field                                | Meaning                                                                               |
| ------------------------------------------- | ------------------------------------------------------------------------------------- |
| `listeners[].id`, `listeners[].podcast_id`  | The listener id for the other tools, and the show                                     |
| `listeners[].email`, `listeners[].username` | How the listener signs in                                                             |
| `listeners[].status`                        | `pending` (invited, no password yet), `active`, `inactive` (deactivated), or `resent` |
| `listeners[].expires_at`                    | When the access ends, if it ends                                                      |
| `pagination`                                | `total`, `limit`, `offset` and `next_offset`                                          |

```json
{
  "podcast_id": 42,
  "limit": 25,
  "offset": 0
}
```

This tool adds no errors of its own. For the common errors, see [Limits, errors, and recovery](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-reference/limits-errors-and-recovery.md).

## `update_listener_status`

Activates, deactivates or deletes a listener.

* `activate` and `deactivate` apply at once when `dry_run` is not `true`. They do not use `confirm`. To see the proposed status first, send `dry_run: true`. That preview has no `confirm` value. Check `listener_id` before the call.
* `delete` always starts with a preview. A call without `confirm`, or with `dry_run: true`, returns the preview with a `confirm` value and changes nothing. Show the preview to the person, wait for their yes in a later message, then send the same `listener_id` and `action` with that `confirm`.
* A delete confirm sent less than 15 seconds after its preview is refused with `confirmation_too_early`. The confirm value stays valid: wait, then send the same call again. A confirm value is valid for 15 minutes.
* A delete cannot be undone. To stop access for a time, use `deactivate`.

**Contract:** scope `mcp:listeners:write`. Read-only: no. Destructive: yes. Idempotent: yes. Open world: no.

| Parameter     | Type    | Required     | Default | Limits                             | Meaning                                                                             |
| ------------- | ------- | ------------ | ------- | ---------------------------------- | ----------------------------------------------------------------------------------- |
| `listener_id` | integer | Yes          | None    | 1 or more                          | Listener id, from `list_listeners`                                                  |
| `action`      | string  | Yes          | None    | `activate`, `deactivate`, `delete` | What to do with the listener                                                        |
| `dry_run`     | boolean | No           | `false` | None                               | `true` previews the change and changes nothing                                      |
| `confirm`     | string  | For a delete | None    | at least 1 character               | The `confirm` value from the delete preview. Send it only after the person said yes |

| Output field                  | Meaning                                                                    |
| ----------------------------- | -------------------------------------------------------------------------- |
| `listener`, `proposed_status` | Preview: the listener now, and its status after `activate` or `deactivate` |
| `confirm`, `next_step`        | Delete preview: the confirm value and what to do before you confirm        |
| `status`                      | Apply: the new status of the listener                                      |
| `deleted`                     | Apply of a delete: true                                                    |

```json
{
  "listener_id": 99,
  "action": "delete",
  "dry_run": true
}
```

Errors that this tool adds: `confirmation_too_early` for a delete confirm sent too soon. For the common errors, see [Limits, errors, and recovery](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-reference/limits-errors-and-recovery.md).

## `send_listener_password_reset`

Previews, then sends a password reset email to a listener. The email goes to the listener, outside Podigee, so the tool uses a preview and a confirm:

1. Send `dry_run: true`. The preview shows the listener and returns a `confirm` value.
2. Show the preview to the person and wait for their yes in a later message.
3. Send `dry_run: false` with `confirm` and an `idempotency_key`. The `idempotency_key` is required for this step.

A retry with the same `idempotency_key` returns the stored result and sends no second email.

**Contract:** scope `mcp:listeners:write`. Read-only: no. Destructive: yes. Idempotent: yes. Open world: yes.

| Parameter         | Type    | Required                       | Default | Limits               | Meaning                                                               |
| ----------------- | ------- | ------------------------------ | ------- | -------------------- | --------------------------------------------------------------------- |
| `listener_id`     | integer | Yes                            | None    | 1 or more            | Listener id, from `list_listeners`                                    |
| `dry_run`         | boolean | Yes                            | None    | None                 | `true` previews; `false` sends the email                              |
| `idempotency_key` | string  | Yes, when `dry_run` is `false` | None    | 1 to 255 characters  | Any unique text for this reset. Reuse it only to retry the same reset |
| `confirm`         | string  | Yes, when `dry_run` is `false` | None    | at least 1 character | The `confirm` value from the preview. It is valid for 15 minutes      |

| Output field                       | Meaning                                                                     |
| ---------------------------------- | --------------------------------------------------------------------------- |
| `listener`, `confirm`, `next_step` | Preview: the listener, the confirm value, and what to do before you confirm |
| `reset_email_sent`                 | Send: true                                                                  |
| `operation_id`                     | Send: the operation that recorded the reset                                 |

```json
{
  "listener_id": 99,
  "dry_run": true
}
```

Errors that this tool adds:

* `invalid_params`: `dry_run` is `false` and `idempotency_key` is missing.
* `confirmation_required`: `dry_run` is `false` and `confirm` is missing.
* `delivery_outcome_unknown`: Podigee cannot tell if the email went out. The same `idempotency_key` does not send it again. Ask the listener if the email arrived. To send another email, request a new preview and use a new `idempotency_key`.

For the common errors, see [Limits, errors, and recovery](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-reference/limits-errors-and-recovery.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.podigee.com/documentation/start-here/ai-agents/mcp-tools/private-feeds.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
