Skip to main content
Glama

get_hubs_metadata_by_metadata_id

Read-onlyIdempotent

Fetches hubs tied to a media item's metadata ID, showing sections like On Deck or Recently Added. Optionally filter to transient hubs only.

Instructions

Get hubs for section by metadata item.

GET /hubs/metadata/{metadataId}

Args: metadata_id: The metadata 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
metadata_idYes
only_transientNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish readOnlyHint, idempotentHint, and destructiveHint=false. The description adds meaningful behavioral context beyond those, particularly the explanation of transient hubs with concrete examples like On Deck and Recently Added. It does not contradict 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.

Conciseness5/5

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

The description is compact and front-loaded: a one-line summary, the HTTP endpoint, and two parameter explanations with no filler. Every line earns its place.

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?

For a simple two-parameter read-only tool with an output schema and safety annotations, the description is largely complete. The main gap is lack of explicit guidance for choosing among closely related hub sibling tools, but invocation itself is well-supported.

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%, but the description compensates by explaining both parameters. metadata_id is defined clearly, and only_transient receives a substantive explanation with examples, even though exact accepted string values are not specified.

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 hubs') with a clear scoping mechanism ('by metadata item'). It distinguishes from section-based hub tools like get_hubs_sections_by_section_id, though it does not explicitly name sibling variants such as postplay or related.

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 is implied by the endpoint path and the metadata_id argument: use this tool when you have a metadata ID and want its hubs. However, it never explicitly tells the agent when to prefer this over sibling tools like get_hubs_sections_by_section_id or get_hubs_metadata_by_metadata_id_postplay.

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