Skip to main content
Glama

delete_library_sections_by_section_id_refresh

DestructiveIdempotent

Cancel an ongoing Plex library section refresh using its section ID to stop the scan immediately.

Instructions

Cancel section refresh.

DELETE /library/sections/{sectionId}/refresh

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

C2.8/5.0
Behavior2/5

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

Annotations carry the behavioral profile (destructiveHint=true, readOnlyHint=false, idempotentHint=true) and the description does not contradict them. However, the description adds no behavioral context beyond restating 'Cancel' — it doesn't say what happens to an in-progress refresh, whether the call is safe when no refresh is running, or what state changes occur. With annotations present the bar is lower, but the description contributes essentially nothing beyond what the name and endpoint already convey.

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 and front-loaded: a one-line purpose statement, followed by the endpoint and args. There is no waste or irrelevant detail. It is concise rather than bloated, though the brevity contributes to the thinness of the other dimensions.

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 one-parameter tool with an output schema and annotations present, the description is nearly adequate: it states the operation and identifies the sole parameter. The key gaps are the lack of comparison to delete_library_sections_all_refresh and the absence of any note about idempotency consequences. Nothing essential about making the call is missing, but the 'why/when' context is.

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?

Schema description coverage is 0%, so the description must compensate, but the Args section only says 'section_id: Section identifier,' which merely restates the schema property title 'Section Id.' It doesn't explain how to obtain a section_id, what kind of section it refers to, or any constraints. For the single parameter, this is borderline tautological rather than additive.

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 states a specific verb and resource: 'Cancel section refresh.' This disambiguates the otherwise ambiguous name 'delete...refresh' by clarifying that the operation cancels rather than deletes a refresh record. The endpoint path showing the targeted section is also included. It doesn't explicitly distinguish from the sibling delete_library_sections_all_refresh, but the single-parameter schema implies per-section scope.

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 alternatives. The description doesn't mention that create_library_sections_by_section_id_refresh starts a refresh, that get_library_sections_by_section_id_refresh checks refresh status, or that delete_library_sections_all_refresh cancels all refreshes at once. An agent is left to infer the appropriate context entirely from the tool name and endpoint.

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