Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
START_URLNoOpen this URL on start
FIREFOX_HEADLESSNoRun without UI
ACCEPT_INSECURE_CERTSNoIgnore TLS errors

Tools

Functions exposed to the LLM to take actions

NameDescription
list_pages

List open tabs (index, title, URL). Selected tab is marked.

new_page

Open new tab at URL. Returns tab index.

navigate_page

Navigate selected tab to URL.

select_page

Select active tab by index, URL, or title. Index takes precedence.

close_page

Close tab by index.

list_console_messages

List console messages. Supports filtering by level, time, text, source.

clear_console_messages

Clear collected console messages.

list_network_requests

List network requests. Returns IDs for get_network_request.

get_network_request

Get request details by ID. URL lookup as fallback.

take_snapshot

Capture DOM snapshot with stable UIDs. Retake after navigation.

resolve_uid_to_selector

Resolve UID to CSS selector. Fails if stale.

clear_snapshot

Clear snapshot cache. Usually not needed.

click_by_uid

Click element by UID. Set dblClick for double-click.

hover_by_uid

Hover over element by UID.

fill_by_uid

Fill text input/textarea by UID.

drag_by_uid_to_uid

Drag element to another (HTML5 drag events).

fill_form_by_uid

Fill multiple form fields at once.

upload_file_by_uid

Upload file to file input by UID.

screenshot_page

Capture page screenshot as base64 PNG.

screenshot_by_uid

Capture element screenshot by UID as base64 PNG.

accept_dialog

Accept browser dialog. Provide promptText for prompts.

dismiss_dialog

Dismiss browser dialog.

navigate_history

Navigate history back/forward. UIDs become stale.

set_viewport_size

Set viewport dimensions in pixels.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

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/freema/firefox-devtools-mcp'

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