Skip to main content
Glama

get_library_metadata_by_ids_file

Read-onlyIdempotent

Fetches a file from a metadata or media bundle using comma-separated library IDs and the bundle URL. Resolves the necessary file for the specified media.

Instructions

Get a file from a metadata or media bundle.

GET /library/metadata/{ids}/file

Args: ids: Comma-separated list of IDs url: The bundle url, typically starting with metadata:// or media://

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYes
urlNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already establish read-only, idempotent, and non-destructive behavior. The description adds the useful detail that the URL typically begins with metadata:// or media://, but it does not disclose other behavioral traits such as what happens when url is omitted or how the file is returned.

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 information-dense: a one-line summary, the endpoint, and parameter explanations. There is no redundant fluff, and the most important action is front-loaded.

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 operation, the description covers the endpoint, parameter meanings, and URL conventions. It leaves some ambiguity about the relationship between ids and url, but the presence of an output schema and read-only annotations reduces the need for more detail.

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

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description fully compensates by explaining both parameters. It clarifies ids as a comma-separated list and url as the bundle URL with typical schemes, which is essential information beyond the bare schema property names.

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 clearly identifies the operation as retrieving a file from a metadata or media bundle, with a specific endpoint pattern. It is distinct from the many sibling metadata retrieval tools because it focuses on bundle file access, though it does not explicitly contrast itself with those siblings.

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?

The description implies the use case—retrieve a file when given metadata/media bundle IDs and optionally a bundle URL—but it does not state when to prefer this tool over alternatives like get_library_metadata_by_ids or get_library_metadata_by_ids_subtitles. No exclusions or alternative routing guidance is provided.

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