Skip to main content
Glama

get_library_sections_by_section_id_compute_path

Read-onlyIdempotent

Compute a path of similar tracks between two items in a Plex library section, using start and end IDs and a maximum distance threshold.

Instructions

Similar tracks to transition from one to another.

GET /library/sections/{sectionId}/computePath

Args: section_id: Section identifier start_id: The starting metadata item id end_id: The ending metadata item id max_distance: The maximum distance allowed along the path; defaults to 0.25

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_idNo
start_idNo
section_idYes
max_distanceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already cover readOnlyHint, openWorldHint, idempotentHint, and destructiveHint, so the description does not need to repeat those. However, it adds no meaningful behavioral context: it does not explain what the returned path represents, whether it returns a list or a single result, or any side effects. The phrase 'Similar tracks to transition from one to another' is too ambiguous to inform an agent about actual behavior.

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 and includes the endpoint and an Args list, which is reasonably structured. However, the opening sentence is vague and wastes space without adding value, and the overall structure could be improved by placing a clear purpose statement before the endpoint.

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?

For a tool with 4 parameters and an output schema, the description is incomplete. It lacks a clear explanation of what the tool computes, when to use it, and what the response contains. Given the existence of many sibling tools, the absence of usage context and differentiation is a significant gap.

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?

The description provides an Args section that explains each parameter beyond the schema, which only has titles and defaults. It clarifies section_id as 'Section identifier', start_id and end_id as 'starting/ending metadata item id', and max_distance with its default value (0.25). This compensates for the 0% schema description coverage and is genuinely helpful for parameter usage.

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 opens with 'Similar tracks to transition from one to another,' which is vague and does not state a clear verb or resource. The HTTP endpoint 'GET /library/sections/{sectionId}/computePath' hints at computing a path, but the description never explicitly says it computes a path between two metadata items. It is not distinguishable from many similar sibling tools without external knowledge.

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 provided on when to use this tool versus the many sibling tools, such as get_library_metadata_by_id_compute_path or other get_library_sections_by_section_id_* operations. There is no mention of conditions that would make this the appropriate choice or exclusions of 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