Skip to main content
Glama

Upstream.so

Update Stream

update_stream
Idempotent

Partially update a stream (PATCH semantics — only provided fields change). Same fields as create_stream except type (creation-only). Mirrors PATCH /api/v1/streams/{stream}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyNoStream key. custom, instagram or rumble: must start rtmp:// or rtmps://; customsrt: srt://.
urlNoIngest URL override, or null to clear it.
nameNoStream name, max 100 chars.
tagsNoTag names to attach (replaces the existing set; missing names are created).
streamYesStream UUID.
volumesNoVolumes 0-100: main, secondary, video.
encodingNoEncoding settings: resolution, frame_rate, bitrate, audio_bitrate (128-328).
platformNoTarget platform, e.g. youtube, twitch, kick, custom, customsrt.
playbackNoPlayback: mode (loop|single), video_order (loop|shuffle), audio_order (loop|shuffle), default_image_duration (1-3600s).
scheduleNoSchedule: is_scheduled/scheduled_at (start), is_scheduled_end/scheduled_end_at (end), repeat_schedule (boolean), mode (null|continuous), continuous_start_type (now|scheduled), continuous_stop_type (never|scheduled), continuous_stop_at, stream_duration_hours/stream_duration_minutes and break_duration_hours/break_duration_minutes (continuous mode active/break time per cycle, each combo >=5min), preserve_state (resume playback after a continuous-mode cycle restart; cannot change while the stream is live).
recordingNoRecording: enabled (boolean).
video_fitNoVideo fit: object_fit (cover|contain), style, background_color.
descriptionNoDescription, or null to clear it.
transitionsNoTransitions: fade_duration (0-20), animation_type (random|fade|slide|scale|swipeAway), animation_duration (0-20).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuine behavioral context the annotations do not: partial-update semantics (untouched fields are preserved) and the fact that 'type' cannot be modified after creation.

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?

Three compact clauses, front-loaded with the operation and its semantics before the cross-reference and endpoint mirror. No filler or redundancy.

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 14-parameter nested mutation tool with rich schema coverage and no output schema, the description covers operation semantics and field scope adequately. It stops short of permissions, error behavior, or constraints around editing a live stream, though some of those live in the schema (e.g. preserve_state).

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 description coverage is 100%, so the 14 parameters are fully documented and the baseline is 3. The description adds cross-tool meaning the schema cannot convey by mapping the accepted field set to create_stream minus the creation-only 'type', which helps an agent reason about what it may send.

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 (partially update) and resource (a stream), with PATCH semantics spelled out as 'only provided fields change'. It also explicitly distinguishes itself from create_stream by noting the shared field set minus the creation-only 'type' field, and anchors the operation to the underlying REST endpoint.

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 rather than stated: the create_stream cross-reference tells the agent this is the edit path for an existing stream, but there is no explicit when-to-use versus get_stream/delete_stream/update_media, and no prerequisites or conditions (e.g. live-stream state) are called out.

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