Skip to main content
Glama

Add episode to podcast queue

add_episode_to_queue

Only call after the user gives explicit confirmation for this change. Add by stable episode_id returned by recommend_episodes or find_podcast_episodes, or resolve an episode URL/query with input. IDs backed by shareable public feeds are global and may be used in any pods4.me account; IDs from private or tokenized feeds remain account-local. Provide exactly one. A public Apple, Spotify, publisher, or enclosure URL queues that episode without adding the podcast as a source. A plain query is time-boxed: Apple and the matched show's RSS run before any wider search, and the queue changes only for one playable RSS episode identified by GUID or a corroborated exact enclosure. Otherwise relay candidates with evidence, not_yet_available (matched show, newest episode, and a video-only hint when a video URL was given), or unresolved when a provider fails or coverage is incomplete. not_yet_available and unresolved do not change the queue. An x.com or twitter.com status URL is read, including a quoted or replied-to post, and a platform episode link is used directly. Relay a miss plainly and suggest add_podcast_source or a later retry. Rank is only a hint. If input returns choices, ask which dated episode the user wants and call again with selection_input. Never ask for a choice when no candidates are returned.

Input Schema

NameRequiredDescriptionDefault
inputNoEpisode URL, shared text, or podcast/guest/topic query
episode_idNoStable episode id from recommend_episodes or find_podcast_episodes; shareable-public IDs work in any pods4.me account, while private or tokenized feed IDs remain account-local

Output Schema

NameRequiredDescriptionDefault
showNo
reasonNo
statusYes
episodeNo
messageYes
next_stepNo
candidatesNo
url_resolveNoCoverage for a non-exhaustive public URL resolution attempt; unresolved does not prove absence.
confirmationNo
content_originNo
newest_episodeNo
search_coverageNo
video_only_hintNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedOutput schema / properties / episode / properties / platform_ids / description
      Previous value: -"Platform episode and show IDs present only when that platform record names the same RSS guid or the same enclosure URL, and the same show feed when both sides have one. youtube is reserved and unused."New value: +"Platform episode and show IDs present only when that platform record names the same RSS guid or the same enclosure URL, and the same show feed when both sides have one. youtube is the video id from that join."
    • addedOutput schema / properties / episode / properties / platform_ids / properties / youtube_channel
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / properties / episode / properties / platform_links / description
      Previous value: -"Public platform episode URLs copied with the matching platform record. youtube is reserved and unused."New value: +"Public platform episode URLs copied with the matching platform record. youtube is the watch URL from that join."
    • changedOutput schema / properties / episode / properties / platform_verification / description
      Previous value: -"Present only for a platform whose episode id was copied from a guid or enclosure join. Absent when that join is unknown. youtube is reserved and unused."New value: +"Present only for a platform whose episode id was copied from a guid or enclosure join. Absent when that join is unknown. youtube is set when that join copied a video id."
    • addedOutput schema / properties / episode / properties / youtube_candidates
      Added value: +{
      +  "description": "YouTube evidence shortlist when the query needs a YouTube match. Rank is a hint. This does not select a video.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "channel_id": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "channel_name": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "evidence": {
      +        "type": "string"
      +      },
      +      "match": {
      +        "enum": [
      +          "exact",
      +          "fuzzy"
      +        ],
      +        "type": "string"
      +      },
      +      "rank_hint": {
      +        "exclusiveMinimum": 0,
      +        "type": "integer"
      +      },
      +      "title": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "url": {
      +        "type": "string"
      +      },
      +      "video_id": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "video_id",
      +      "url",
      +      "title",
      +      "channel_id",
      +      "channel_name",
      +      "match",
      +      "evidence",
      +      "rank_hint"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 5,
      +  "type": "array"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only declare readOnlyHint=false, destructiveHint=false, openWorldHint=true; the description adds real behavioral substance beyond that: queue mutation happens only for one playable RSS episode identified by GUID or corroborated enclosure, and not_yet_available/unresolved explicitly do not change the queue. It further discloses the time-boxed resolution order (Apple and matched show RSS before wider search) and cross-account ID scoping, which no annotation conveys.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The critical constraint (explicit confirmation) is front-loaded, and nearly every sentence carries resolution or fallback policy, so little is pure filler. However it is delivered as a single dense run-on paragraph mixing ID scoping, URL handling, search ordering, and result-state semantics without any structure, making the actionable branches hard to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no explanation; the description instead covers what matters for a write tool: confirmation prerequisite, exactly-one-of input exclusivity, and the full outcome vocabulary (candidates with evidence, not_yet_available, unresolved, choices). This is sufficient for correct invocation of a two-parameter, open-world mutation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and both fields are already documented, so the baseline applies; nonetheless the description meaningfully expands `input` semantics (plain query vs public URL vs x.com/twitter.com status vs platform episode link). It is pulled down by directing the caller to "call again with selection_input," a parameter absent from the schema, which declares additionalProperties=false and allows only episode_id or input — an agent following that instruction would construct an invalid call.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource (add an episode to the podcast queue) and immediately bounds its inputs: a stable episode_id from recommend_episodes/find_podcast_episodes, or a URL/query via input. It distinguishes itself from siblings by naming recommend_episodes, find_podcast_episodes, and add_podcast_source in concrete roles, so an agent can route without opening other schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit gating condition ("Only call after the user gives explicit confirmation for this change") and an explicit branch rule for ambiguity ("If input returns choices, ask which dated episode the user wants and call again"), plus the negative rule "Never ask for a choice when no candidates are returned." It also routes misses to add_podcast_source or a later retry, leaving nothing to inference about when to use this vs alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources