Skip to main content
Glama

create_library_sections_by_section_id_refresh

Idempotent

Refresh a Plex library section to update metadata and items. Optionally force updates regardless of modification dates or target a specific path.

Instructions

Refresh Section.

POST /library/sections/{sectionId}/refresh

Args: section_id: Section identifier force: Whether the update of metadata and items should be performed even if modification dates indicate the items have not change path: Restrict refresh to the specified path

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNo
forceNo
section_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already carry the idempotentHint and destructiveHint flags, so the safety profile is known. The description adds that force controls whether metadata/items update regardless of modification dates and that path restricts the refresh, which is useful behavioral context. However, it does not disclose whether the operation is synchronous or asynchronous, nor any potential performance or side-effect implications.

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 concise and front-loaded with the action 'Refresh Section', followed by the endpoint and parameter list. There is no unnecessary filler, though the HTTP method and path line is somewhat redundant given the tool name already encodes the route. Overall it is tight and organized.

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?

Although an output schema exists, which reduces the need to document return values, the description still lacks important context for an agent: when to choose this refresh tool over sibling refresh endpoints and whether the operation completes immediately or runs in the background. These gaps prevent it from being fully complete for a mutation tool.

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

Parameters4/5

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

With schema description coverage at 0%, the Args section in the description is the only source of parameter meaning. It explains all three parameters: section_id, force, and path. While section_id's explanation is minimal, force and path have substantive descriptions, giving the description enough compensation for the missing schema documentation.

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 'Refresh Section' followed by the HTTP endpoint, clearly indicating that this tool triggers a refresh of a library section. This is a specific verb plus resource. However, it does not differentiate itself from sibling refresh tools like create_library_sections_refresh or delete_library_sections_by_section_id_refresh, so it falls short of a 5.

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?

The description provides no guidance on when to use this tool versus alternatives. There is no mention of when a refresh is needed, how it should be preferred over other refresh endpoints, or any exclusions. It only implies the action without contextual usage direction.

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