Skip to main content
Glama
rollecode

Audiobookshelf MCP server

by rollecode

patch_podcasts_by_id_episode_by_episode_id

Idempotent

Update a specific podcast episode by providing the podcast ID, episode ID, and updated fields.

Instructions

Update a podcast episode.

PATCH /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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
bodyYes
episode_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already indicate this is a read-write, idempotent, non-destructive operation. The description adds no behavioral context beyond the generic word 'Update' and the HTTP method. It does not mention authentication requirements, side effects, error behavior, or what fields can be safely changed.

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

Conciseness4/5

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

The description is compact and front-loaded with the core purpose, followed by the HTTP path and argument list. It avoids fluff, though the 'Args' lines mostly restate what the schema already shows.

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

Completeness3/5

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

For a three-parameter patch operation with an output schema and annotations, this is minimally adequate but has gaps. It does not explain partial update behavior, what a successful response looks like, or any caveats about the body payload. The pointer to GET/schema helps compensate for the undeclared body structure.

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

Parameters4/5

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

Schema description coverage is 0%, so the description carries the burden. It correctly identifies id and episode_id as path parameters and body as the request payload. The instruction to read the matching GET or the /schema endpoint first provides a practical path to discovering the body fields, which is valuable given body is only typed as an open object.

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 and resource: 'Update a podcast episode.' This distinguishes it from sibling tools like delete_podcasts_by_id_episode_by_episode_id and get_podcasts_by_id_episode_by_episode_id. It does not explicitly clarify partial versus full update semantics, but the PATCH method strongly implies patch semantics.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives like GET or DELETE on the same resource. The only usage-related instruction is to read the matching GET or /schema endpoint first, which is more about parameter discovery than choosing between tools.

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