Skip to main content
Glama

get_library_metadata_by_id_children

Read-onlyIdempotent

Retrieve the child items (e.g., episodes, tracks) for a specified media ID from your Plex library. Use this tool to navigate media hierarchies and access sub-level content details.

Instructions

Get Metadata Children.

GET /library/metadata/{id}/children

Args: id: The unique identifier of the item

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is clear. The description adds only the endpoint path and parameter label; it does not disclose any behavioral traits beyond what the annotations and name already imply, such as what kinds of items are returned or how open-world results should be interpreted.

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 and front-loads the operation, then provides the endpoint and the one argument. It avoids bloat, though the opening line 'Get Metadata Children' largely repeats the tool name and the argument documentation is terse.

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?

Given the low complexity, one required parameter, strong annotations, and an output schema, the description is minimally workable. The gaps are that it does not define 'children,' differentiate from closely related metadata traversal endpoints, or explain the open-world hint, leaving some interpretation to the agent.

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 coverage is 0%, so the description must compensate. It does minimally by documenting id as 'The unique identifier of the item,' which adds a small amount of meaning beyond the schema's integer title. This is sufficient for a single obvious parameter, though it does not specify what kind of item or where the id originates.

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 names a specific resource and operation: getting metadata children for a library item, reinforced by the explicit endpoint GET /library/metadata/{id}/children. The word 'children' distinguishes it from sibling tools like parent, grandparent, and grandchildren, though it does not explain what children means in the metadata hierarchy.

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 about when to use this tool versus siblings such as get_library_metadata_by_id_grandchildren, get_library_metadata_by_id_parent, or get_library_metadata_by_id_grandparent. An agent must infer usage entirely from the endpoint and name.

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