Skip to main content
Glama

Get media library item

media_library_get
Read-onlyIdempotent

Read one library item's AI-ready manifest (schema hiruai.media-library.v1): provenance and reuse guidance, renditions, catalog (summary, chapters, reusable_segments, voice_reference_candidates, generation_prompts, sensitive flags), scenes with spoken text and OCR. Book-mode items also include book_pages (ordered OCR, observed printed_page, source timestamp/frame, confidence and warnings) and book_analysis coverage limits. Never infer missing pages or treat OCR scores as verified accuracy. include_transcript adds every timed transcript segment. Respect reuse_policy: "reusable" footage (own/licensed) may be cut into new work; "reference_only" third-party media is for analysis, structure and style reference only, never copied into an output.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "item_id": "<item_id>"
    },
    "name": "media_library_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
item_idYesUUID of the media library item.
include_transcriptNoInclude every timed transcript segment in the manifest.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, closed-world, so the description is not obligated to restate safety. It instead adds genuinely non-obvious behavior: manifest schema version, exactly which catalog fields come back, book-mode extras, and interpretive constraints (never infer missing pages, OCR scores are not verified accuracy, reuse_policy governs whether footage may be cut into new work). No auth, rate-limit, or pagination details, which keeps it short of a 5.

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?

Purpose is front-loaded in the first clause and every later clause carries real information (returned sections, book-mode fields, caveats, reuse policy). It is dense and jargon-heavy with long parenthetical enumerations, which slows scanning slightly, but there is no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description carries the return-value burden and does so thoroughly: it names the manifest schema, lists the major sections, calls out book-mode-only fields and coverage limits, and warns about OCR and reuse interpretation. For a two-parameter read tool this is complete.

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 description coverage is 100%, so the baseline is 3. The description does clarify what include_transcript yields ('adds every timed transcript segment') and that book-mode extras depend on the item, but it adds no new detail on item_id or format beyond the schema.

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?

States a specific verb and resource — 'Read one library item's AI-ready manifest' — and enumerates the manifest sections (provenance, renditions, catalog, scenes, book_pages). The singular 'one library item' implicitly contrasts with the list/search siblings, but no sibling is named explicitly.

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 context is implied rather than stated: an agent can infer this is the detailed single-item fetch versus media_library_list/search, but no explicit when-to-use or when-not-to-use rule is given. What guidance exists is about downstream data handling (reuse_policy, don't infer missing pages) rather than tool selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources