Skip to main content
Glama

M3U8 Player

Check Stream URL & CORS Headers

check_stream_url
Read-onlyIdempotent

Check whether an authorized public HTTP/HTTPS .m3u8 or stream URL is reachable, measuring HTTP status, latency, redirects, Content-Type, #EXTM3U signature, and Access-Control-Allow-Origin browser CORS playability. Does not download or proxy video.

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": {
      "url": "<url>"
    },
    "name": "check_stream_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesAuthorized public HTTP/HTTPS stream or .m3u8 URL to check.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds real behavioral context beyond that: it lists the exact signals collected, clarifies CORS playability is checked, and explicitly denies downloading or proxying video — an important expectation-setting boundary. It stops short of noting rate limits, auth prerequisites, or how failures are surfaced.

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?

Two sentences, both front-loaded with the core purpose first and the scope exclusion last. The enumerated list of measured signals is dense but each item is informative rather than filler. Minor cost: the single long compound sentence is harder to scan than a short bulleted breakdown would be.

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 no output schema, the description carries the burden of telling the agent what comes back, and it does so by enumerating the measured signals (status, latency, redirects, Content-Type, signature, CORS). For a single-parameter read-only probe this is nearly sufficient, though it does not state the response shape or how unreachable URLs are reported.

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% and there is only one parameter, so the schema already fully documents it. The description reinforces the constraint set (authorized, public, HTTP/HTTPS, stream or .m3u8) but adds no new syntax, format, or validation detail beyond that. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Check whether ... is reachable') and resource (a stream / .m3u8 URL), then enumerates exactly what is measured: HTTP status, latency, redirects, Content-Type, #EXTM3U signature, and CORS header. This clearly separates it from the parse_* and clean_* siblings, which operate on content rather than reachability.

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 'authorized public HTTP/HTTPS' qualifier and the explicit scope exclusion 'Does not download or proxy video', which tells the agent this is a lightweight probe, not a fetch. However, it never names a sibling or states when to choose this over parse_hls_manifest / parse_m3u_playlist, leaving routing to inference.

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.