Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

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:

  1. screenshot({ selector }) — see the section you will change

  2. 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

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
design-systemHow to work with frontend using Glimpse visual tools — workflows, patterns, selector strategy, tips

TDQS

A3.6/5.0

Scored across 11 tools

Disambiguation4/5

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.

Naming Consistency3/5

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.

Tool Count5/5

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.

Completeness4/5

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.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues