Glimpse
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
You can SEE the frontend. BEFORE editing any frontend code, you MUST:
screenshot({ selector }) — see the section you will change
smart_diff({ action: "save_baseline" }) — save state before editing
AFTER editing code, you MUST: 3. smart_diff({ action: "compare" }) — verify your changes 4. console_logs({ type: "error" }) — check for JS errors 5. screenshot({ selector, viewport: "mobile" }) — check mobile if layout changed
Use interact({ action: "hover" }) to verify hover/click states. Use dom_inspect() to read current CSS before changing it.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| screenshotA | Take a screenshot of a web page or a specific element. Returns the image. Use this to see what the UI looks like. |
| screenshot_allB | Take screenshots at multiple viewports in one call (mobile + tablet + desktop). Use this to check responsive design. |
| pixel_diffA | Compare screenshots pixel-by-pixel. First call with action 'save_baseline' to save current state, then make changes, then call with action 'compare' to see what changed. Returns diff image with changed pixels highlighted in red. |
| smart_diffA | Compare before/after with both pixel diff AND DOM analysis. Returns structured changes: which elements moved, resized, changed styles. Much more useful than pixel_diff alone. First call with action 'save_baseline', then make changes, then call with action 'compare'. |
| dom_inspectA | Inspect a DOM element: bounding box, computed CSS styles, attributes, text content, children count. Use this to understand element structure before making changes. |
| console_logsA | Get browser console output: logs, warnings, errors, uncaught exceptions. Use this to check for JS errors after making changes. |
| page_outlineA | Get page structure: all sections, landmarks, headings, and nav links with positions and sizes. Use this FIRST on unfamiliar or long pages before screenshotting specific sections. |
| interactB | Interact with the page: click, type, scroll, hover, select, press_key. Returns a screenshot after the action. Use to test user flows and UI states. |
| flowA | Execute a multi-step user flow: navigate, click, type, scroll, hover, select, press_key, wait, screenshot. Returns screenshots after each step. Use to test complete user journeys like login, checkout, form submission. |
| sweepA | Scan multiple pages: take screenshots and collect console errors on each. Returns a consolidated report. Use after changing shared components to check nothing broke. |
| accessibilityB | Run WCAG accessibility audit using axe-core. Finds missing alt text, low contrast, missing button labels, heading order issues. Returns severity, affected elements, and fix suggestions. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| design-system | How to work with frontend using Glimpse visual tools — workflows, patterns, selector strategy, tips |
TDQS
Scored across 11 tools
Most tools target clearly different concerns: console logs, page structure, interaction, screenshots, DOM inspection, accessibility, and multi-page sweeps. However, pixel_diff and smart_diff overlap heavily (both use save_baseline/compare and smart_diff explicitly subsumes pixel_diff), and interact versus flow both perform actions returning screenshots, creating some selection ambiguity.
All names use lowercase snake_case, which is readable, but the convention is mixed between noun phrases (console_logs, page_outline), verbs (interact, flow), and bare nouns (screenshot, accessibility). There is no consistent verb_noun pattern, so an agent cannot reliably predict name shape from action type.
Eleven tools is well-scoped for a browser inspection and UI testing server, comfortably within the typical 3-15 range. Each tool maps to a recognizable browser-testing activity, even if two diff tools overlap.
The surface covers the core browser-testing lifecycle: console inspection, page structure, DOM inspection, screenshots across viewports, interactions, multi-step flows, visual diffs, multi-page sweeps, and accessibility audits. Minor gaps remain around explicit navigation/URL management as a standalone operation and network or performance inspection.