Skip to main content
Glama

get_hubs_sections_by_section_id

Read-onlyIdempotent

Retrieve Plex section hubs for a given section ID, optionally limiting results to transient hubs like On Deck and Recently Added.

Instructions

Get section hubs.

GET /hubs/sections/{sectionId}

Args: section_id: The section ID for the hubs to fetch only_transient: Only return hubs which are "transient", meaning those which are prone to changing after media playback or addition (e.g. On Deck, or Recently Added)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
section_idYes
only_transientNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds semantic context about transient hubs (prone to changing after playback/addition), which is useful beyond the annotations, but does not disclose return format or other runtime behavior, and with an output schema present the omission is moderate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and front-loaded with the core purpose, then the HTTP path, then parameter explanations. Every sentence adds value and there is no redundancy or filler.

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?

Given the tool's moderate complexity, the rich read-only/idempotent annotations, and the presence of an output schema, the description is nearly complete. It covers purpose, path, and both parameters; it could potentially mention response shape, but that is already addressed by the output schema.

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?

Schema description coverage is 0%, so the description bears the full burden for parameter meaning. It explains section_id as 'The section ID for the hubs to fetch' and clarifies only_transient with a concrete definition and examples (On Deck, Recently Added), which goes well beyond the bare schema types.

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 ('Get section hubs') and includes the HTTP path with the sectionId placeholder, which clearly identifies the operation. It distinguishes itself from sibling hub tools by the section-scoped resource, though it doesn't name an alternative explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage context is implied by the name and path: this fetches hubs for a given library section. However, it does not explicitly explain when to choose this over sibling tools like get_hubs_metadata_by_metadata_id or list_hubs, nor does it state any exclusions or prerequisites.

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