Skip to main content
Glama
rollecode

Audiobookshelf MCP server

by rollecode

delete_podcasts_by_id_episode_by_episode_id

DestructiveIdempotent

Delete a specific podcast episode by podcast ID and episode ID. Optionally force a hard delete to permanently remove the episode from the library.

Instructions

Remove a podcast episode.

DELETE /api/podcasts/{id}/episode/{episodeId}

Args: id: Path parameter. episode_id: Path parameter. body: Request payload. Read the matching GET or the /schema endpoint first to see the fields this resource expects. hard: Hard delete the episode if set to 1

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
bodyNo
hardNo
episode_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the description does not need to restate those. It adds value by explaining the 'hard' parameter (hard delete if set to 1) and by suggesting to inspect the schema for expected body fields, which goes beyond annotation data. No contradiction with annotations.

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?

The description is concise and well-structured: a one-line summary, the endpoint, then a bulleted Args list. It is front-loaded with the core purpose and every sentence contributes to usage. No filler or repetition.

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?

Given the tool's complexity (delete with optional body and hard flag), the description covers all parameters and hints at preparation steps. Annotations handle destructive/idempotent semantics, and an output schema exists for return values. It lacks an explicit mention of the soft-delete alternative, but that is minor given the available context.

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

Parameters5/5

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

Schema coverage is 0%, so the description carries the full burden. It clearly explains id and episode_id as path parameters, body as a request payload requiring prior schema consultation, and hard as a flag for hard deletion. This provides meaningful semantic context that the schema lacks.

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

Purpose4/5

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

The description clearly states the action ('Remove a podcast episode') and provides the exact endpoint. While it does not explicitly differentiate from other delete tools, the name and endpoint make it specific to podcast episodes, distinguishing it from generic delete operations like delete_items_by_id. A 5 would require explicit sibling differentiation.

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

Usage Guidelines3/5

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

The description includes a practical hint to read the GET or /schema endpoint before supplying a body, which guides parameter preparation. However, it offers no guidance on when to choose this tool over other delete operations, nor any exclusion criteria. The usage context is implied rather than explicit.

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

Deploy Server

Other Tools