Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
VLM_URLNoURL for the vision-language model server (OpenAI-compatible). Defaults to local Ollama.
API_TOKENNoOptional bearer token required for all /v1 endpoints except /v1/healthz. Set for anything beyond single-user laptop.
CODER_URLNoURL for the coder model server (OpenAI-compatible). Defaults to local Ollama.
WEBHOOK_URLNoOptional URL to receive a POST notification when a job completes.
WEB_ORIGINSNoAllowed CORS origins for the HTTP API. Comma-separated list. Default includes the hosted demo site and local development origins.
JOB_TIMEOUT_SNoHard per-job timeout in seconds.
ASR_VAD_FILTERNoEnable or disable voice-activity filtering in the audio transcript stage. Set to 'true' or 'false'.
BUNDLE_TTL_DAYSNoNumber of days to retain completed analysis bundles before cleanup.
CHROME_EXTENSION_IDSNoChrome extension IDs allowed to access the API via CORS. Comma-separated list.
RETENTION_SWEEP_INTERVAL_SNoInterval in seconds between periodic cleanup sweeps for expired bundles.
FRAMESLEUTH_AUTO_INSTALL_BROWSERNoSet to '0' to disable automatic download of Chromium for HTML rendering. Default '1'.

Capabilities

Features and capabilities supported by this server

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

Tools

Functions exposed to the LLM to take actions

NameDescription
analyze_videoA

Analyze any video and return the new report id.

Works on any kind of video — a bug recording, a feature demo, a design walkthrough, a Loom, a phone capture — and distills it into a structured Context Bundle a coding agent can act on (fix a bug, add or change a feature, or build something new).

Args: path: Path to the video file (.mp4/.webm/.mkv/.mov/.avi). repo_root: Repo to ground references against (pass the open workspace). intent: The user's request to act on, e.g. "fix the save button that hangs", "add a dark-mode toggle like the demo shows", or "build this onboarding screen from the walkthrough". It is recorded on the report and shapes the generated action prompt so the calling agent does what the user actually asked. skill: Built-in summary style — one of the names from list_skills (e.g. "summary", "bug_report", "tutorial", "action_items"). Defaults to "summary". system_prompt: A fully custom system prompt for the summary; overrides skill when provided. action: Built-in action mode shaping the fix-prompt — one of the names from list_actions (e.g. "fix", "explain", "triage", "test", "report", "reproduce"). Auto-picked from the classification when omitted. action_prompt: A fully custom action task; overrides action. ctx: The MCP request context, injected by the server; used to stream progress to the client during the (multi-minute) analysis.

Returns the report id, the summary/fix-prompt resource URIs, the resolved action, and the derived suggested_actions menu.

list_skillsA

List built-in summary skills (names + descriptions) for analyze_video.

list_actionsA

List built-in action modes (names + descriptions) for analyze_video.

get_suggested_actionsA

Return the machine-readable next-step menu for a report.

Each item is {action, label, rationale, ref} — present them to the user or auto-invoke the referenced resource/tool. Recomputed from the current bundle so it reflects the latest grounding/quality.

renderA

Render a report as a shareable artifact.

format is one of markdown, issue (GitHub issue text), or test-plan. Returns the rendered text.

list_reportsA

List all available report ids (from any analyzed video).

get_reportA

Return the Context Bundle for a report id.

view="full" (default) returns everything; view="slim" returns the action-relevant subset (classification, quality, steps, evidence, candidates, suggested actions) for agents on a small context window.

Typed as a Literal so the client rejects a typo. As a bare str, view="slimm" silently returned the FULL bundle — defeating the only purpose of the parameter for exactly the caller who needed it.

get_repro_stepsA

Return the numbered reproduction steps for a report.

get_error_evidenceB

Return the timestamped error evidence for a report.

get_timelineA

Return the merged event timeline for a report.

get_keyframe_imageA

Return a keyframe image for a report by its index.

get_video_gifA

Render an animated GIF preview of the video for a report.

Useful for embedding a short looping preview in an issue, chat, or PR description. fps/width/start/end are optional and clamped to safe ranges; the GIF is cached on disk per parameter set.

locate_in_codeA

Return code candidates already grounded in the bundle, or re-ground now.

repo_root is REQUIRED when the bundle carries no candidates yet — it is never inferred from the working directory.

render_html_videoA

Render an HTML document (CSS / JS / canvas animation) to mp4/gif/webm.

Use this to export a self-contained animated HTML page (e.g. one you just designed) as a shareable clip. Captures the animation frame-by-frame (full color, no dropped frames, no quality loss) and encodes a color-correct H.264 MP4 / VP9 WebM / palette GIF — up to 4K, 5-60 fps. Returns the absolute path to the encoded file, written under the bundle directory. Requires the optional render extra (Playwright) + ffmpeg.

Prompts

Interactive templates invoked by user choice

NameDescription
fix_from_videoEmit a grounded action prompt — fix a bug, change a feature, or build new.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/thestackhub1/framesleuth-agent'

If you have feedback or need assistance with the MCP directory API, please join our Discord server