Skip to main content
Glama

inspect_dom

Fetch HTML content from a web page to debug browser issues, optionally extracting specific text snippets with configurable context.

Instructions

Fetch the entire HTML of the current document or a snippet around a search query

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNoOptional: Search for this specific text within the DOM
afterNoOptional: Number of characters to include after the match (default 200)
beforeNoOptional: Number of characters to include before the match (default 200)

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/raultov/chrome-debug-mcp'

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