> 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-reference/resources-and-prompts.md). Agents can also search and read this documentation through its [MCP server](https://docs.podigee.com/~gitbook/mcp).

# Resources and prompts

The nine readable MCP resources, the resource templates, and the seven MCP prompts.

Besides tools, the Podigee MCP server offers resources and prompts:

* A **resource** is data that a client reads with `resources/read` and a `podigee://` URI. A resource changes nothing.
* A **prompt** is a short text of guidance that a client gets with `prompts/get`. It tells the assistant how to do one job with the tools. A prompt calls no tool, gives no scope, and confirms no action.

## Read a resource

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "resources/read",
  "params": { "uri": "podigee://podcasts/123" }
}
```

* Replace each placeholder in a URI before the request, for example `{podcast_id}` with `123`. Encode query values when necessary.
* The answer has a `contents` array. Read the `text` of the first item. When its `mimeType` is `application/json`, parse the text as JSON. When it is `text/markdown`, the text is the document.
* An answer is a snapshot. The server does not support `subscribe`, so a client gets no change messages.
* Each resource in `resources/list` carries `_meta["podigee.com/surfaces"]`: `["mcp"]` for the three `podigee://docs/` resources and `["any"]` for the others. The values are explained in the section "Documentation surfaces".
* The scope of each resource is in [Authorization and scopes](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-reference/authorization-and-scopes.md).

Errors of a resource read are JSON-RPC errors, not tool errors:

* An unknown URI, or an ID outside the account, gives `-32602` with `data.code` `not_found`.
* A missing scope gives `-32000` with `data.code` `insufficient_scope`.
* A missing `podcast_id` or `episode_id` gives `-32000` with `data.code` `validation_error`.

## Resources

| URI                                          | Name in `resources/list` | Format   | Scope               |
| -------------------------------------------- | ------------------------ | -------- | ------------------- |
| `podigee://me`                               | Current Account          | JSON     | `mcp:podcasts:read` |
| `podigee://podcasts`                         | Podcasts                 | JSON     | `mcp:podcasts:read` |
| `podigee://podcasts/{podcast_id}`            | Podcast Detail           | JSON     | `mcp:podcasts:read` |
| `podigee://episodes?podcast_id={podcast_id}` | Episodes                 | JSON     | `mcp:podcasts:read` |
| `podigee://episodes/{episode_id}`            | Episode Detail           | JSON     | `mcp:podcasts:read` |
| `podigee://distribution/manual-limitations`  | Platform One-Time Setup  | JSON     | `mcp:podcasts:read` |
| `podigee://docs/public-api`                  | Public API Summary       | JSON     | `mcp:podcasts:read` |
| `podigee://docs/media-upload`                | Media Upload Recipe      | Markdown | `mcp:media:write`   |
| `podigee://docs/surfaces`                    | Documentation Surfaces   | Markdown | `mcp:podcasts:read` |

`resources/list` gives the two detail resources as `podigee://podcasts/` and `podigee://episodes/`, with a description that names the full URI.

### Current account

`podigee://me` returns `id`, `email`, `locale`, and `write_enabled` of the signed-in person.

`write_enabled` here is only the write switch of the server. A credential without a write scope can see `true`. To learn what the credential can do, call `get_me`. Its `write_enabled` is `true` only when the server allows writes and the credential has a write scope.

### Podcasts

`podigee://podcasts` returns `podcasts` and `pagination`. It takes the query parameters `limit` and `offset`, for example `podigee://podcasts?limit=50`. Each podcast has `id`, `title`, `subtitle`, `subdomain`, `language`, `publication_type`, `published_at`, `protected`, `created_at`, and `updated_at`. The tool `list_podcasts` gives the same list with filters.

### Podcast detail

`podigee://podcasts/{podcast_id}` returns one podcast with the same fields as `get_podcast`. The fields are in [Objects and states](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-reference/objects-and-states.md).

### Episodes

`podigee://episodes?podcast_id={podcast_id}` returns `episodes` and `pagination` for one podcast. `podcast_id` is necessary. `limit` and `offset` are optional. Each episode has `id`, `podcast_id`, `title`, `subtitle`, `number`, `season`, `publication_type`, `published_at`, `explicit`, `has_media`, `created_at`, and `updated_at`. It also has `published_at_local` when the person has a time zone and the episode has a date. The tool `list_episodes` gives the same list with filters and across all shows.

### Episode detail

`podigee://episodes/{episode_id}` returns one episode with the same fields as `get_episode`, including `published_at_local`, `duration_text`, and `media`. The fields are in [Objects and states](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-reference/objects-and-states.md).

### Platform one-time setup

`podigee://distribution/manual-limitations` lists the platforms where a person claims the show once, because the platform owns the listing account: Amazon Music and Audible (`amazon`), TuneIn (`tunein`), Podimo (`podimo`), iHeartRadio (`iheart`), Pandora (`pandora`), Overcast (`overcast`), Podcast Addict (`podcast_addict`), and Pocket Casts (`pocket_casts`).

Each item in `platforms` has:

* `platform` and `platform_key`.
* `status`: always `manual_handoff_required`.
* `setup_scope`: always `one_time`.
* `reason`: why a person must do the step.
* `after_setup`: after the show is listed, new episodes need no further manual step.
* `external_next_step_url`: the page of the platform, when one exists.
* `web_player_caveat`: a platform URL saved in Podigee controls only web player and blog links, not the directory submission.

The tool `explain_distribution_handoff` gives the same for one platform and adds the feed URL.

### Public API summary

`podigee://docs/public-api` returns `server` (`podigee-mcp`), `version` (`1.0.0`), `workflows`, and `note`.

* `workflows` lists the names of the workflow tools. It can also contain the name of an internal helper that is not a tool. Use `tools/list` as the list of tools.
* `note` is the fixed text "Use workflow tools for multi-step podcast hosting jobs."

The full reference is this documentation, starting at [MCP API overview](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-reference/reference.md).

### Media upload recipe

`podigee://docs/media-upload` returns the upload steps as Markdown, for an assistant that can read a file and run a command. It covers a file up to 5 GB, a cover image, and a file above 5 GB. It also covers the errors and the wait while a recording is processed. It needs `mcp:media:write`. The full protocol is in [Media upload protocol](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-reference/media-upload-protocol.md).

### Documentation surfaces

`podigee://docs/surfaces` returns a Markdown text that tells an assistant how to read the two Podigee interfaces:

* Podigee has two customer interfaces on one backend: the classic view and the Podigee workspace. Plan limits, permissions, the REST API, and the MCP server behave the same behind both. Only click paths and labels differ.
* Each documentation page and each resource carries a `surfaces` value: `classic_view`, `podigee_workspace`, `mcp`, `rest_api`, or `any`.
* The assistant finds out which interface the person uses. In the classic view, the top bar and the account menu show **Switch to new view**. In the Podigee workspace, the account menu shows **Switch to classic view**.
* The assistant gives click paths only for the interface of the person. It treats limits and tools as the same for both. It does not guess a click path for a job that the documentation marks as not included.
* The assistant prefers a tool over a click path when a tool does the job.

The text says that a page with both interfaces ends with a section "In the Podigee workspace". The pages of this documentation now show the two interfaces as tabs named "Classic view" and "Podigee workspace".

### Resource templates

`resources/templates/list` exists only in the legacy protocol versions. It returns two templates: `podigee://podcasts/{podcast_id}` and `podigee://episodes/{episode_id}`.

## Get a prompt

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "prompts/get",
  "params": { "name": "publish_episode", "arguments": {} }
}
```

* No prompt has arguments. When you send `arguments`, each value must be a string.
* The answer has a `description` and one `messages` item with the role `user` and text content.
* A prompt needs no scope. An unknown name gives `-32602` with `data.code` `not_found`.
* The assistant must still read each tool result and follow the preview, confirm, idempotency, and operation rules.

## Prompts

| Prompt                  | Description in `prompts/list`                                                  | Description in `prompts/get`                                |
| ----------------------- | ------------------------------------------------------------------------------ | ----------------------------------------------------------- |
| `manage_workspace`      | Guidance for inspecting and setting up a podcast workspace.                    | Set up or inspect a show.                                   |
| `publish_episode`       | Guidance for publishing or scheduling episodes. Use the publish\_episode tool. | Publish, schedule, or replace episode media.                |
| `import_podcast`        | Guidance for importing a podcast from another host.                            | Import a show from an RSS feed and follow it to completion. |
| `distribution_guidance` | Guidance for distribution status and platform setup.                           | Check where a show is live and what still needs doing.      |
| `manage_feed_access`    | Guidance for private-feed listeners and feed URLs.                             | Manage who can access a private feed.                       |
| `analytics_summary`     | Guidance for analytics summaries and reports.                                  | Summarize podcast or episode performance.                   |
| `repurpose_episode`     | Turn an episode into show notes, social copy, a blog draft, or clips.          | Draft derived content from what the episode actually says.  |

### `manage_workspace`

The prompt tells the assistant to:

* Use `manage_workspace` to inspect a show, or to preview and apply one create or update of a show.
* Call `doctor` first when the person sets up a show. It says whether the plan allows another show and whether the account can publish.
* Preview every change and show the plan before the confirm.
* Call `get_distribution_status` after a new show, because a new show is not distributed anywhere yet.

Tools: [Podcast tools](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-tools/podcasts.md), [Account and help tools](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-tools/account-and-help.md), and [Distribution tools](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-tools/distribution.md).

### `publish_episode`

The prompt tells the assistant to:

* Preview `publish_episode`, show the plan, and then send the same request with a stable `idempotency_key` and the exact confirm value.
* Take new media only from an upload, never from a URL. When the assistant can read the file and run commands, it calls `create_upload` and sends the file with the returned command. Then it passes the `upload_id` as media source `upload`. When it cannot, it gives the New episode page from `find_in_podigee`. It says this limit openly.
* Use the publication mode `draft`, `now`, or `scheduled`. A scheduled `published_at` must be in the future, so the assistant finds the time zone of the person first.
* Keep the `operation_id` and poll `get_operation` until the operation is final, and report what it says. Resume only an operation in `failed_retryable`, and stop after a second identical failure.
* While the operation waits for the recording, tell the person what `waiting` says. The person can leave while `continues_automatically` is true.
* After a failure or a stall, follow `recovery`. Do not propose a new upload or another file format unless `recovery` says `replace_recording`.
* Set artwork, chapter marks, and a transcript afterwards with `update_episode`. Chapter marks and transcripts replace the whole set.

For a publish, `recovery` decides the next step; see [Follow and recover long-running operations](https://docs.podigee.com/documentation/start-here/ai-agents/work-safely/follow-and-recover-long-running-operations.md). Tools: [Media and publishing tools](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-tools/media-and-publishing.md), [Import and operation tools](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-tools/import-and-operations.md), and [Account and help tools](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-tools/account-and-help.md) (`find_in_podigee`).

### `import_podcast`

The prompt tells the assistant to:

* Call `import_podcast` with `dry_run: true` first. Show the person how many episodes the feed has before the confirm, because an import can take a long time.
* Send the same request with a stable `idempotency_key` and the exact confirm value.
* Poll `get_operation` and report its `progress` (episodes done out of the total).
* Resume only an operation in `failed_retryable`, and stop after a second identical failure.
* Tell the person that Podigee does not set up the 301 redirect on the old host. That step is theirs, and without it they lose their existing subscribers.

Tools: [Import and operation tools](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-tools/import-and-operations.md). Steps: [Import a podcast](https://docs.podigee.com/documentation/start-here/ai-agents/media-and-publishing/import-a-podcast.md).

### `distribution_guidance`

The prompt tells the assistant to:

* Call `distribution_status_and_guidance` for one podcast.
* Read each `status`, not the presence of a row. A new show has a row for the audio directories, so `not_submitted` is the normal start, not a fault. `active` is a web player switch, not a submission signal.
* Remember that YouTube and video delivery have no row until they are set up. Read `status.setup` before it says that YouTube, Spotify, or Apple Podcasts is or is not connected.
* Offer `submit_to_platform` when a platform is `not_submitted` and `manual_submission_required` is false. When it is true, give the one-time setup steps and say that publishing is automatic afterwards. Never say that a platform cannot be automated.
* Explain the order for a first video episode:
  1. The person can save the Google sign-in for YouTube and the Spotify and Apple Podcasts choice on the Channels page. This is possible at any time, also before the first publish. A sign-in or a saved choice sends nothing.
  2. After the publish, the person chooses the YouTube channel and sends the first video on the YouTube page of the live episode.
  3. The person then sends the show to Spotify and Apple Podcasts, which lists it from its feed.
  4. Video delivery to Spotify and Apple is a separate step.
  5. The plan is checked when the show is sent, not when it is prepared.

Tools: [Distribution tools](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-tools/distribution.md). Steps: [Distribute a podcast](https://docs.podigee.com/documentation/start-here/ai-agents/content-analytics-and-distribution/distribute-a-podcast.md).

### `manage_feed_access`

The prompt tells the assistant to:

* Call `manage_feed_access` with a `podcast_id` to list the listeners of a private feed and see which feed URLs exist.
* Preview the creation of a listener or a status change, show who is affected, and then confirm.
* Treat a private feed URL as a credential. Do not repeat it in the chat. Do not put it anywhere that the person did not ask for.
* Make a feed private or public with `feed_protection` `enable` or `disable`, on a plan that includes protected podcasts. Preview and confirm this change too.

Tools: [Private feed tools](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-tools/private-feeds.md). Steps: [Manage private feeds and listeners](https://docs.podigee.com/documentation/start-here/ai-agents/content-analytics-and-distribution/manage-private-feeds-and-listeners.md).

### `analytics_summary`

The prompt tells the assistant to:

* Call `analytics_summary` with exactly one of `podcast_id`, `episode_id`, or `all_podcasts: true`, never two of them.
* Know that `all_podcasts` gives the downloads of every podcast together and ranks the podcasts. When `coverage.complete` is false, call again with the same arguments before it reports an account figure.
* Read `history_window`. The plan limits the visible history, so a short range is not missing data. Say that a longer range needs a higher plan.
* Quote `complete` from the downloads. `raw` and `total` are larger and overstate the count.
* Know that days without traffic come back as zeros, so the number of days equals the requested days.
* Compare periods with one call for each period, because there is no comparison of periods.

The rules are in [Analytics semantics](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-reference/analytics-semantics.md). Tools: [Analytics tools](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-tools/analytics.md).

### `repurpose_episode`

The prompt tells the assistant to:

* Never write from the title alone.
* Call `list_content_assets` first, reuse approved copy, and read full texts with `get_content_asset`.
* Call `search_podcast_content` with the themes to get real passages, each with its episode and time stamp, and quote from them.
* Use `get_episode_transcript` only for continuous passages, page by page.
* Give the time stamp when it proposes a clip.
* Write show notes back with `update_episode`.

Tools: [Content and recording tools](https://docs.podigee.com/documentation/start-here/ai-agents/mcp-tools/content-and-recordings.md). Steps: [Search and reuse episode content](https://docs.podigee.com/documentation/start-here/ai-agents/content-analytics-and-distribution/search-and-reuse-episode-content.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-reference/resources-and-prompts.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.
