Skip to main content
Glama

Get Stream URL

stream_url
Read-onlyIdempotent

The playable URL for a channel, or for a past programme when the channel has catch-up.

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": {
      "channel": "<channel>"
    },
    "name": "stream_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNoISO time inside a past programme, for catch-up
sourceNoUse this playlist instead of a saved one: {type:"m3u", url} or {type:"xtream", server, username, password}; optional epg
channelYes
playlistNoSaved playlist name; defaults to the current one

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already establish the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint), so the description only needs to add beyond that. It contributes one genuinely useful behavioral fact -- the catch-up conditional, meaning a URL is not guaranteed for arbitrary past times -- but says nothing about what happens when catch-up is unavailable, whether resolution requires upstream credentials, or latency.

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?

One short sentence with no filler, and the primary outcome (playable URL) is front-loaded. It is a noun phrase without an explicit verb, which makes it read like a return-value note rather than a complete tool statement, but nothing is padded or redundant.

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 four-parameter read tool with no output schema, the description does the key job of saying what is returned (a playable URL) and under what condition the past-programme variant works. Missing are edge-case behavior (no catch-up available) and any note on how the nested 'source' override interacts with 'playlist', which keeps it short of full completeness.

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 75%, so the schema already documents 'at', 'source', and 'playlist' in detail. The description reinforces the meaning of 'at' by tying it to past-programme catch-up, but adds no syntax, format, or defaulting detail beyond the schema; baseline 3 applies.

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 names a concrete resource and outcome -- the playable URL for a channel, and conditionally for a past programme via catch-up. It tells an agent what it gets back rather than restating the tool name, though it never explicitly contrasts itself with siblings such as channel_guide or whats_on, so sibling differentiation is only implicit.

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 only implied: the phrase 'or for a past programme when the channel has catch-up' hints that the 'at' parameter selects catch-up playback and that catch-up is not always available. There is no explicit statement of when to prefer this tool over channel_guide or whats_on, and no stated preconditions or failure conditions.

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