Skip to main content
Glama

get_library_metadata_by_id_grandchildren

Read-onlyIdempotent

Retrieve metadata for all grandchildren of a Plex library item using its unique ID, enabling access to nested items such as episodes within a season or tracks within an album.

Instructions

Get Metadata Grandchildren.

GET /library/metadata/{id}/grandchildren

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.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds only the GET method and endpoint, which are consistent but add no new behavioral detail such as response format, pagination, or authorization requirements. It contributes nothing beyond the annotations.

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 very concise and front-loads the purpose and endpoint. The Args block is redundant with the schema but not bloated. It is appropriately small for a one-parameter tool.

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?

This is a simple read-only tool with one parameter, an output schema, and strong annotations, so the description does not need to be verbose. However, it never explains the library metadata hierarchy, which is essential for understanding what 'grandchildren' means and for choosing between this and related tools. This is a genuine gap.

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

Parameters2/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 states 'id: The unique identifier of the item,' which clarifies that id is an identifier but remains vague about what 'item' refers to in this context. It does not explain the hierarchy or the relationship between the id and its grandchildren, so the compensation is minimal.

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 verb and resource: 'Get Metadata Grandchildren' with the endpoint GET /library/metadata/{id}/grandchildren. The word 'Grandchildren' differentiates it from sibling tools like get_library_metadata_by_id_children. However, it never defines what a grandchild is in the library metadata hierarchy, leaving some ambiguity for an agent.

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?

There is no guidance on when to use this tool versus alternatives. With many similar siblings (get_library_metadata_by_id_children, get_library_metadata_by_id_grandparent, get_library_metadata_by_id_parent), the description provides no selection criteria or contextual cues.

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