Skip to main content
Glama

create_library_sections_refresh

Idempotent

Refresh all Plex library sections to update metadata and media information. Optionally force a full metadata refresh.

Instructions

Refresh all sections.

POST /library/sections/refresh

Args: force: Force refresh of metadata

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true, destructiveHint=false, and readOnlyHint=false, and the description does not contradict them. The description adds modest value by explaining the force parameter ('Force refresh of metadata') and giving the exact HTTP route. It does not, however, disclose behavioral traits such as what refreshing all sections entails (e.g., triggering a library scan, potential duration/resource load) or side effects consistent with openWorldHint=true.

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 (five short lines) and front-loads the purpose before the endpoint and args. Every line serves a function: purpose, HTTP route, and parameter meaning. The 'Args:' header is mild boilerplate, and the brevity edges toward under-specification, but the structure is clean and readable.

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 single-optional-parameter tool with an output schema and annotations, the description is nearly sufficient: purpose, route, and parameter meaning are present. What is missing is the operational context — what a full-section refresh triggers, when force is necessary, whether the call is expensive or asynchronous, and any side effects given the openWorldHint. These gaps keep it at minimum viable.

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 carries the full burden of explaining the lone parameter. It provides only 'force: Force refresh of metadata', which names the effect without clarifying the default/null behavior, the difference in behavior when force is false vs absent, or when an agent should set it to true. This is minimal compensation for a completely undocumented schema.

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 ('refresh') and resource ('all sections'), and the scope word 'all' implicitly differentiates it from siblings like create_library_sections_by_section_id_refresh, which target a single section. The endpoint POST /library/sections/refresh reinforces this. However, it never names or references the per-section alternative, so the differentiation is implicit rather than explicit.

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 its many refresh-related siblings (create_library_sections_by_section_id_refresh, delete_library_sections_all_refresh, get_library_sections_by_section_id_refresh, update_library_metadata_by_ids_refresh). The only usage signal is the word 'all' in the one-line purpose, which is implied rather than stated. There are no exclusions, prerequisites, or selection criteria.

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