Skip to main content
Glama

delete_library_sections_by_section_id_indexes

DestructiveIdempotent

Clear outdated indexes for a Plex library section by specifying its section ID, allowing fresh index generation.

Instructions

Delete section indexes.

DELETE /library/sections/{sectionId}/indexes

Args: section_id: Section identifier

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
section_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

D1.9/5.0
Behavior2/5

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

The annotations include destructiveHint=true enumerating this as a destructive operation, which is disclosed. However, the description adds no behavioral context beyond the annotations, such as what indexes are, whether the operation is reversible, or any side effects. Since the description simply repeats the annotation's destructive nature without elaboration, it provides minimal added value.

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 description is extremely concise, consisting of a one-line summary and a docstring with the HTTP path. The summary is front-loaded and the path is redundant for an agent already aware of the tool name. The docstring style is efficient but lacks explanatory content; it is appropriately short but does not earn its place by adding detail.

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

Completeness2/5

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

Given the tool is destructive and has an output schema, the description provides minimal context. It does not explain what an index is, what the effect of deletion is, or what the response contains. While the output schema may cover return values, the description omits necessary guidance for safe invocation, such as confirming the section is not in use or that indexes are rebuildable.

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

Parameters2/5

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

The only parameter is section_id, and the input schema already describes it as an integer with title 'Section Id'. The description includes a docstring line 'section_id: Section identifier', which adds no meaningful semantics beyond the schema. Schema description coverage is 0%, but with a single self-explanatory parameter, the description fails to enrich understanding (e.g., does not clarify that this is the ID of the section whose indexes are being deleted).

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

Purpose2/5

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

The description 'Delete section indexes' is terse but states a clear verb and resource. However, it does not explain what 'section indexes' are in this context, and it does not differentiate from the close sibling 'delete_library_sections_by_section_id' which deletes the entire section. The description is nearly a tautology of the tool name, providing minimal additional clarity.

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

Usage Guidelines1/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. The description does not mention that this deletes only the indexes, not the section itself, nor does it reference any sibling tool. An agent cannot determine whether to use this tool or 'delete_library_sections_by_section_id' without additional inference.

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