Skip to main content
Glama

Remove episode from queue

remove_episode_from_queue
Destructive

Only call after the user gives explicit confirmation for this change. Remove one included episode using its hex id or canonical_episode_key from find_podcast_episodes, or its UUID from list_queue. List the queue first and confirm which episode the user means.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "episode_id": "<episode_id>"
    },
    "name": "remove_episode_from_queue"
  }
}

Input Schema

NameRequiredDescriptionDefault
episode_idYesHex id or canonical_episode_key from find_podcast_episodes, or UUID from list_queue

Output Schema

NameRequiredDescriptionDefault
errorNo
removedNo
content_originNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedOutput schema / properties / removed / 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 / removed / properties / platform_ids / properties / youtube_channel
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / properties / removed / 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 / removed / 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 / removed / 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.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description adds genuinely new behavioral context: a mandatory human-confirmation gate and a read-before-write sequence. It does not say what happens to the episode afterwards (removed from queue only, not deleted, subscriptions untouched), which is the one remaining ambiguity, so it stops short of a 5.

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

Conciseness5/5

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

Three short sentences, front-loaded with the safety constraint, followed by how to identify the target and the confirmation workflow. No filler and no repetition of the schema verbatim beyond what the safety framing requires.

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

Completeness4/5

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

With one parameter, full schema coverage, annotations covering the safety profile, and an output schema present, the description needs only to cover safety and target identification — both are handled. Minor gap: the precise effect on the queue and on the podcast source is left implicit.

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 the single required parameter is fully documented in the schema. The description restates that same ID-source mapping rather than adding new syntax, format, or validation meaning, so the baseline 3 applies.

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?

States a specific verb and resource — remove one episode from the queue — and immediately grounds the target in concrete provenance (hex id or canonical_episode_key from find_podcast_episodes, or UUID from list_queue). An agent can distinguish this from add_episode_to_queue or remove_podcast_source without opening any schema.

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?

Explicit gating condition is given up front: only call after explicit user confirmation. It also prescribes the prerequisite workflow (list the queue first, confirm which episode the user means), which is exactly the when-and-how guidance an agent needs for a destructive call.

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