Skip to main content
Glama

get_library_sections_by_section_id_empty_trash

Read-onlyIdempotent

Empties the trash for a specific Plex library section, permanently removing deleted items to free up storage. Provide the section ID to trigger cleanup.

Instructions

Get Empty Trash.

GET /library/sections/{sectionId}/emptyTrash

Args: section_id: The unique identifier of the library section

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

C2.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint false, so the bar is lower. However, the description adds no behavioral context about what the response contains or whether any state changes; 'Get Empty Trash' remains ambiguous and could be misread as a destructive action.

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 short and front-loaded, but the opening 'Get Empty Trash.' is vague and largely duplicates the endpoint line. The Args section mostly restates the schema with only a minor gloss, so not every element earns its place.

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?

For a one-parameter tool with an output schema and read-only annotations, the key missing piece is the core meaning: what 'empty trash' means in a GET request. An agent still cannot tell whether this returns trashed items or performs an emptying operation, which is a significant completeness gap.

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?

The single parameter is glossed as 'the unique identifier of the library section,' which is a basic but useful addition over the schema's bare 'Section Id' title. It is sufficient for a simple integer identifier, though it adds no format, source, or constraints.

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 only says 'Get Empty Trash' and gives the raw HTTP path. It never states what the tool actually returns or does, leaving ambiguity about whether it retrieves trash contents or triggers an empty-trash operation. It also does not differentiate it from the create_/update_ empty_trash sibling tools.

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 the many sibling library-section tools or the create_/update_ empty_trash variants. The endpoint line provides routing context but no decision support for an agent.

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