Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GO2RTC_URLNoBase HTTP/HTTPS URL of your go2rtc serverhttp://localhost:1984
GO2RTC_TIMEOUTNoRequest timeout in seconds15.0
GO2RTC_PASSWORDNoOptional HTTP Basic Auth password
GO2RTC_USERNAMENoOptional HTTP Basic Auth username
GO2RTC_ALLOW_EXEC_STREAMSNoSet to true only if you explicitly allow exec: / echo: / expr: sourcesfalse

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_server_infoA

Get go2rtc server metadata including version, revision, host, RTSP port, and config path.

list_streamsA

List all configured and active streams on the go2rtc server with credentials redacted.

get_stream_infoA

Get producer and consumer details for a specific stream (stream_name).

Set probe=True to actively query video/audio codecs, SDP, and byte counters.

probe_streamB

Actively probe a camera stream to inspect its video/audio codecs, SDP, and track stats.

get_stream_snapshotC

Capture a live JPEG snapshot frame from stream_name and return it as an MCP Image.

get_stream_urlsB

Generate WebRTC, MSE, HLS (.m3u8), MP4, MJPEG, JPEG snapshot, and RTSP URLs for a stream.

add_streamB

Dynamically add or overwrite a stream on go2rtc (PUT /api/streams).

Rejects exec:, echo:, and expr: sources unless GO2RTC_ALLOW_EXEC_STREAMS=true.

update_streamA

Dynamically update an existing stream on go2rtc (PATCH /api/streams).

Rejects exec:, echo:, and expr: sources unless GO2RTC_ALLOW_EXEC_STREAMS=true.

delete_streamC

Delete a dynamically registered stream from go2rtc (DELETE /api/streams).

get_configA

Retrieve the go2rtc YAML configuration (GET /api/config) with all credentials redacted.

get_server_logsA

Retrieve the most recent limit log entries from go2rtc (GET /api/log), sanitized.

discover_sourcesB

Discover stream sources from a go2rtc integration (hass, onvif, dvrip, homekit).

Prompts

Interactive templates invoked by user choice

NameDescription
diagnose_streamGenerate a step-by-step diagnostic prompt for troubleshooting a go2rtc camera stream.
snapshot_allPrompt to capture live snapshots from all configured cameras and summarize each scene.
security_patrolPrompt to check stream health, probe codecs, and capture camera frames.
camera_urlsPrompt to fetch and format all direct streaming links for a camera.
stream_health_checkPrompt to check system-wide health, codec compatibility, and stream stability.

Resources

Contextual data attached and managed by the client

NameDescription
go2rtc_server_infoRedacted go2rtc server metadata and RTSP configuration
go2rtc_streamsAll configured go2rtc streams with producer credentials redacted
go2rtc_configSanitized go2rtc.yaml server configuration

TDQS

A3.5/5.0

Scored across 12 tools

Disambiguation4/5

Most tools have clearly distinct purposes, but get_stream_info (with probe=True) and probe_stream overlap significantly in actively inspecting stream codecs, SDP, and track stats. This one pair could cause occasional misselection, though descriptions help clarify the intended use.

Naming Consistency5/5

All tool names use snake_case with a consistent verb_noun pattern (e.g., get_server_info, list_streams, add_stream, delete_stream). The convention is predictable and readable throughout, with only minor natural variation like probe_stream vs. get_stream_info.

Tool Count5/5

With 12 tools, the set is well-scoped for managing a go2rtc server: CRUD for streams, inspection, discovery, snapshots, URLs, config, and logs. Each tool earns its place without obvious redundancy or bloat.

Completeness4/5

The surface covers core stream lifecycle operations, server info, logs, config, discovery, snapshots, and URL generation. Minor gaps exist, such as a server restart or health-check operation, but agents can work around these for most workflows.

Maintenance

ActivityMaintained
ResponsivenessNo issues