Skip to main content
Glama

create_hubs_sections_by_section_id_manage

Idempotent

Create a custom Plex hub for a library section based on a collection, and control its placement in recommended, own home, or shared home.

Instructions

Create a custom hub.

POST /hubs/sections/{sectionId}/manage

Args: section_id: The section ID for the hubs to reorder metadata_item_id: The metadata item on which to base this hub. This must currently be a collection promoted_to_recommended: Whether this hub should be displayed in recommended promoted_to_own_home: Whether this hub should be displayed in admin's home promoted_to_shared_home: Whether this hub should be displayed in shared user's home

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
section_idYes
metadata_item_idNo
promoted_to_own_homeNo
promoted_to_recommendedNo
promoted_to_shared_homeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.1/5.0
Behavior2/5

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

Annotations say readOnlyHint=false and idempotentHint=true, which tell the agent this is a (possibly re-runnable) write. But the description adds no behavioral context beyond that: no side effects, no requirement that metadata_item_id must currently be a collection is emphasized as a precondition, no error/conflict behavior, and no explanation of what 'displayed in recommended/own home/shared home' actually changes.

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

Conciseness3/5

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

The description is short, but not necessarily well-structured: it opens by restating the endpoint path (already in the tool name) and then lists parameters that are also in the schema. No key semantic clarification is front-loaded; the single most useful constraint (metadata_item_id must be a collection) is buried in a parameter gloss.

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

Completeness2/5

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

The tool has an output schema, so return-value documentation is less critical, but for a mutating create operation with 5 parameters and 0% schema coverage, the description should define what a 'custom hub' is, how it relates to section and metadata item, and what the promotion flags do. It leaves the core semantics unexplained and relies on the reader to infer from a URL-shaped name.

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, and it does list all parameters with brief glosses. However, the glosses are thin and partly confusing: section_id is 'for the hubs to reorder' on a create operation, and no format or relationship details are provided for the promotion flags. It adds more than the bare schema but not enough to fully compensate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states 'Create a custom hub,' which names a verb and a resource, but it does not distinguish this tool from the many related hub-management siblings such as get_hubs_sections_by_section_id_manage, update_hubs_sections_by_section_id_manage_by_identifier, and delete_hubs_sections_by_section_id_manage. The phrase 'custom hub' and the 'manage' endpoint context are left undefined.

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

Usage Guidelines1/5

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

There is no guidance on when to use this tool versus alternatives, no prerequisites (e.g., that metadata_item_id must be a collection is mentioned but not framed as a requirement), and no exclusions. An agent selecting among the many create_/update_/delete_ hubs_ siblings gets no routing help.

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