Skip to main content
Glama

create_library_sections_by_section_id_empty_trash

Idempotent

Clear deleted media from a Plex library section by providing its section ID to empty the trash.

Instructions

Empty Trash.

POST /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.9/5.0
Behavior2/5

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

Annotations indicate readOnlyHint=false and idempotentHint=true, and the description adds the HTTP method and endpoint. However, it does not disclose side effects, what gets removed, permission requirements, or reversibility. It does not contradict the annotations but adds little behavioral context beyond them.

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 minimal: a two-word action, the endpoint, and one arg line. It is front-loaded and avoids filler, though it may be slightly too terse to fully convey necessary context.

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?

The description includes the HTTP method, endpoint, and parameter, which is enough to invoke the tool. It omits when to use it relative to the get/update empty_trash siblings and any behavioral consequences. Since an output schema exists, return value explanation is not required, but the lack of usage guidance prevents a higher score.

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 description coverage is 0%, so the description must compensate. It explains section_id as 'the unique identifier of the library section,' adding meaningful context beyond the schema's 'Section Id.' No format or examples are given, but this is sufficient for a simple integer ID.

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 opens with 'Empty Trash.', which clearly states the action and target. However, it does not distinguish itself from sibling tools like get_library_sections_by_section_id_empty_trash or update_library_sections_by_section_id_empty_trash, so it lacks 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 Guidelines2/5

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

No guidance is given on when to use this tool versus the get_ or update_ empty_trash siblings. The description only provides the endpoint and parameter, with no contextual usage conditions or exclusions.

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