media-preview
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
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
| Capability | Details |
|---|---|
| tools | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| preview_mediaB | Render an inline video player (9:16 or 16:9), waveform audio player, or image filmstrip directly inside chat for local media files. |
| resolve_mediaB | App-only helper to refresh localhost stream URLs when reopening historical chats. |
| open_modalC | App-only helper to launch a frameless translucent desktop modal outside the chat iframe. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Inline Media Preview Player | Inline video, waveform audio, and image strip UI |
TDQS
Scored across 3 tools
The three tools target distinct actions: launching a modal, rendering inline media, and refreshing stream URLs. However, open_modal and preview_media both involve displaying media, which could cause some confusion about when to use the external modal versus inline preview.
All tool names follow a clear verb_noun snake_case pattern: open_modal, preview_media, resolve_media. The convention is consistent and predictable.
Three tools is well-scoped for a focused media preview helper server. Each tool has a distinct purpose and no obvious redundancy.
The surface covers inline preview, modal launch, and URL resolution for historical chats. A minor gap exists around modal lifecycle (e.g., no close_modal) or media discovery/cleanup, but core workflows are supported.