Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}
prompts
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
browser_navigateB

Launch the browser and navigate to a URL, or navigate the active tab to a new URL.

browser_observeA

Observe and extract the structured semantic state of the current active page, filtering out DOM noise. Note: If you see dropdowns/menus with expanded: false, you must hover them to reveal contents, then observe again.

browser_deltaA

Compute the difference between two semantic states. Optional: pass parameters if querying offline; otherwise defaults to comparing the last two observed page states in memory.

browser_verifyB

Run safety action verification on a semantic node to confirm if it supports click/fill/hover and is interactable. Optional: pass 'state' if querying offline; otherwise defaults to last observed state.

browser_actA

Execute an action (click, fill, hover) on a node using its ID. Optional: pass 'state' if querying offline; otherwise defaults to last observed state.

browser_get_selector_planA

Retrieve the pre-computed selector plan (primary + healed fallback locators) for a specific semantic node. Optional: pass 'state' if querying offline; otherwise defaults to last observed state.

browser_find_targetsA

Search the last observed page state for nodes matching specific criteria (role, name content, enabled state). Extremely fast and token-efficient.

browser_screenshotA

Take a screenshot of the current page viewport and return it as a base64 encoded PNG string (useful for visual validation).

browser_evaluateB

Execute arbitrary JavaScript code in the page context and return the result. Fast and direct.

browser_list_pagesA

List all open tabs/pages in the browser session. Returns index, title, and URL for each.

browser_use_pageA

Switch the active page context to a specific tab by its index (from browser_list_pages).

browser_save_cookiesB

Save page cookies to a file for session persistence.

Prompts

Interactive templates invoked by user choice

NameDescription
write-robust-playwright-scriptGuidelines and prompts instructing agents on how to write resilient Playwright scripts using Browser Cognition.

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/hrshx3o5o6/brocogni'

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