Skip to main content
Glama

get_library_sections_by_section_id_newest

Read-onlyIdempotent

Retrieve the newest media items from a specific Plex library section using its section ID.

Instructions

Get Newest for Section.

GET /library/sections/{sectionId}/newest

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

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description adds the HTTP method and path but no additional behavioral details such as sorting, pagination, or response scope; this is acceptable but not particularly additive.

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 short, front-loaded with the purpose, and includes the endpoint and the one parameter. There is no filler, and every line earns its place, though it is minimal enough that it could have added a bit more context without becoming bloated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read-only, idempotent GET with one parameter and an output schema, the endpoint and parameter explanation are sufficient for an agent to invoke it. The main missing piece is sibling differentiation, but that is addressed under usage guidelines rather than blocking invocation.

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 defines section_id as 'the unique identifier of the library section,' adding some semantic meaning beyond the schema's 'Section Id' integer, but it does not explain how to discover or validate the 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 states a clear action (GET) and resource ('Newest' for a library section), and it includes the exact endpoint path. It does not explicitly contrast with sibling tools like get_library_sections_by_section_id_recently_added, but the name plus endpoint make the purpose unambiguous.

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 when-to-use guidance or explicit alternatives are provided. Many sibling section endpoints exist (recently_added, on_deck, all, etc.), and the description does not clarify what distinguishes 'newest' or when an agent should choose this tool over those alternatives.

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