Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENAI_API_KEYNoOptional API key for the describe tool using OpenAI (gpt-4o). No API key is required for basic browser automation.
ANTHROPIC_API_KEYNoOptional API key for the describe tool using Anthropic (claude-sonnet-4). No API key is required for basic browser automation. If both OPENAI_API_KEY and ANTHROPIC_API_KEY are set, OpenAI is preferred.

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
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
open_sessionB

Opens a new browser tab and navigates to the specified URL. Returns session info including title and URL.

close_sessionA

Closes a browser session and releases its resources.

overviewB

Returns a summary of the current page including title, URL, accessibility landmarks, and counts of key elements (headings, links, buttons, forms, etc.).

queryB

Query elements on the page using CSS selectors. Can extract structure (HTML-like representation with accessible names) or text content.

sectionB

Extracts content from under a heading. Finds a heading containing the specified text and returns all content until the next same-or-higher level heading.

elementsB

Lists all elements of a specific type on the page (like a screen reader rotor). Returns accessible information about each element.

actionA

Perform an action on the page. Actions block until complete (Playwright auto-waits for elements).

Available actions:

  • navigate: Go to a URL (requires: url)

  • back: Navigate back in history

  • forward: Navigate forward in history

  • click: Click an element (requires: selector)

  • fill: Fill a text input (requires: selector, value)

  • select: Select an option in a dropdown (requires: selector, value)

  • check: Check a checkbox (requires: selector)

  • uncheck: Uncheck a checkbox (requires: selector)

  • press: Press a key (requires: selector or value for key name)

  • scroll: Scroll the page or element (optional: selector, value for direction)

  • highlight: Scroll to element and flash it with a colored border (requires: selector)

screenshotA

Captures a screenshot of the current page or a specific element. Saves to disk and returns the file path.

diagnosticsA

Get diagnostic information from the browser session. Useful for debugging JavaScript errors, failed network requests, etc.

Available types:

  • "console": Recent console messages (log, warn, error, etc.)

  • "network": Recent network requests with status codes and timing

  • "all": Both console and network data

run_sequenceA

Execute a sequence of browser operations and assertions in a single call.

Returns a chronological event log of everything that happened - actions, assertions, browser events interleaved.

Step types:

  • action: Browser actions (navigate, click, fill, select, check, uncheck, press, scroll, highlight)

  • assert: Conditions that fail the sequence if not met (url_contains, element_exists, etc.)

  • query: Capture page state mid-sequence (overview, screenshot, describe)

Assertion conditions:

  • url_contains, url_equals: Check current URL

  • title_contains, title_equals: Check page title

  • element_exists, element_not_exists, element_visible: Check element presence

  • element_text_contains: Check element contains text

  • element_count, element_count_gte, element_count_lte: Check element counts

Options:

  • console: Capture console logs (level: 'all'|'warn'|'error', filter: regex)

  • network: Capture network requests (filter: regex for URL)

Stops on first assertion failure or action error.

describeA

Use vision AI to describe what's visible on the page. Takes a screenshot and returns a text description.

Configuration (optional - tool works without, but returns error if no key set):

  • Set OPENAI_API_KEY to use OpenAI (gpt-4o) - preferred if both are set

  • Set ANTHROPIC_API_KEY to use Anthropic (claude-sonnet-4)

  • If neither is configured, returns a graceful error message

Use cases:

  • Understand page layout and content without raw HTML

  • Check if forms submitted successfully

  • Identify error messages or alerts

  • Verify visual state after actions

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 11 tools

Disambiguation4/5

Most tools are clearly distinct: open_session/close_session manage lifecycle, action performs interactions, screenshot and diagnostics are self-explanatory. However, overview, query, section, and elements all overlap as 'read page state' extraction tools, and run_sequence partially duplicates action plus assertion functionality, so a few boundaries could confuse selection.

Naming Consistency3/5

The set mixes bare noun names (overview, query, section, elements, action, screenshot, diagnostics, describe) with verb_noun snake_case names (open_session, close_session, run_sequence). Each name is readable, but the conventions are inconsistent across the set, making the pattern less predictable.

Tool Count5/5

Eleven tools sit comfortably in the well-scoped 3-15 range for a browser automation server. Each tool covers a meaningful capability (reading, actioning, sequencing, diagnostics, sessions) without obvious redundancy.

Completeness4/5

The surface covers navigation, page reading, interaction, assertions via run_sequence, screenshots, diagnostics, and session management, which is strong for browser automation. Minor gaps exist: no hover/drag actions, and no cookie, localStorage, download, or iframe handling, though these are edge cases agents can often work around.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues