Skip to main content
Glama

browser_evaluate

Execute JavaScript in a real browser to query DOM elements, read page state, or perform custom operations within existing sessions.

Instructions

Execute JavaScript in the page and return the result. Use for DOM queries, reading page state, or any operation not covered by other tools.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
expressionYesJavaScript expression or code to evaluate in the page context

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/ofershap/real-browser-mcp'

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