Skip to main content
Glama

get_link_playback

Read-only

Get a link's HLS playlist URL, signed and expiring, to play the video in your own player. The link's page and embed already play it.

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": {
      "link_id": "<link_id>"
    },
    "name": "get_link_playback"
  }
}

Input Schema

NameRequiredDescriptionDefault
link_idYesThe link, `lnk_…`.

Output Schema

NameRequiredDescriptionDefault
widthYesThe video's width, in pixels.
heightYesThe video's height, in pixels.
versionYesThe document version it plays.
expires_atYesRFC 3339: when the signed URLs stop working. Ask again for new ones.
poster_urlYesThe poster, a JPEG of the frame in the middle at the video's size, signed like the playlist: it shows the same version until `expires_at`. Add `time` (seconds), `width` or `height` to the query for another moment or size, or end its path in `.png` or `.webp`.
playlist_urlYesThe HLS master playlist, signed: it plays without an API key until `expires_at`.
storyboard_urlYesThumbnails for scrubbing, as WebVTT, signed like the playlist: each cue points at its tile of one storyboard image. `storyboard.json` with the same query has the same as JSON.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered; the description goes beyond them by disclosing that the returned URL is signed and time-limited, a critical behavioral trait for a caller planning to cache or reuse it. It does not state how long the URL remains valid or whether repeated calls yield different URLs, so 5 is not warranted.

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?

Two sentences, zero filler; the capability is front-loaded and the caveat about page/embed playback follows as a natural qualifier. Every clause carries information an agent needs.

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?

With an output schema present, return-value shape needn't be explained, and the description covers purpose, format, expiry behavior, and a usage caveat, which is sufficient for a one-parameter read tool. Only the expiry window and any rate/refresh semantics are left open.

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?

There is a single parameter with 100% schema description coverage ('The link, `lnk_…`'), so the schema already does the semantic work. The description adds nothing about link_id beyond the schema, which matches the baseline 3 for high-coverage schemas.

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 a link's HLS playlist URL') and even the output format ('signed and expiring'), so the agent knows exactly what it returns. It implies a contrast with the link's page/embed but never names a sibling tool, leaving full sibling differentiation implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a clear reason to call it ('to play the video in your own player') and an explicit when-not-to ('The link's page and embed already play it'), which steers an agent away from unnecessary calls. The gap is that it references non-tool alternatives rather than sibling tools like get_link, so an agent choosing among tools gets no direct routing.

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