Skip to main content
Glama

Create a stream

create_stream

Create a stream card and get ingest server addresses for RTMP, SRT or WHIP (browser). A stream card has no planned start time: it goes on air when start_stream is called. The stream key is hidden; call reveal_stream_key when the user wants it. visibility chooses who can watch: Access modes: PUBLIC (anyone, listed on the channel), LINK_ONLY (anyone who has the link or the embed code, not listed), REGISTERED (viewer must fill the registration form), ACCESS_KEY (viewer must enter a password), PRIVATE (only the owner). For an internal or staff-only broadcast use ACCESS_KEY together with access_key (the password viewers enter), or REGISTERED. Default PUBLIC. Next steps for a website: get_stream_embed_codes for the player and chat iframes, set_embed_domains to restrict them to the company site, start_stream when the encoder is sending.

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": {
      "title": "<title>"
    },
    "name": "create_stream"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesStream title
protocolNoIngest protocol, default RTMP
recordingNoDefault true: each broadcast is kept as a recording on this stream card (downloadable later; not a separate video). false keeps nothing after the broadcast.
access_keyNoThe password viewers must enter. Required when visibility is ACCESS_KEY, ignored otherwise. Change it later with update_stream.
visibilityNoAccess mode; the five modes are listed in create_stream
descriptionNoStream description

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond annotations (which only say non-read-only, non-idempotent, non-destructive, closed-world), the description discloses that the card has no planned start time and goes on air only when start_stream is called, that the stream key is hidden by default, and who can watch under each visibility mode. That is substantive behavioral context an agent cannot get from structured fields.

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?

Front-loaded: purpose first, then visibility semantics, then next steps. The access-mode enumeration is dense and reads as a run-on chain of colons and parentheticals, but every sentence carries actionable information with no filler.

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 6-parameter creation tool with no output schema, it covers intent, mutation behavior, the hidden-key caveat, and the follow-up workflow well. The response shape itself (stream card fields, ids, the actual ingest address payload) is only described in general terms, which leaves a small gap for an agent that must chain into start_stream.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description adds real meaning to the visibility enum by defining all five modes (listed on channel vs. link-only vs. registration form vs. password vs. owner-only) where the schema only says "the five modes are listed in create_stream". It also ties access_key to ACCESS_KEY visibility and notes it is changeable later via update_stream.

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?

Opens with a specific verb+resource pair ("Create a stream card") and immediately states the second outcome ("get ingest server addresses for RTMP, SRT or WHIP"). It clearly distinguishes this from update_stream and from start_stream by noting a stream card has no planned start time and only goes live via start_stream.

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

Usage Guidelines5/5

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

Gives explicit decision guidance for the access-mode choice: internal or staff-only broadcasts should use ACCESS_KEY with access_key or REGISTERED, default is PUBLIC. It also routes to siblings by condition — reveal_stream_key when the user wants the key, get_stream_embed_codes/set_embed_domains/start_stream as next steps for a website.

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.