Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LAYOUT_DOCTOR_CHROMIUMNoPath to a Chromium executable. If not set, Playwright's bundled Chromium is used.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
layout_checkA

HTMLをレンダリングしてレイアウトの破綻を検出する。検査専用でファイルは変更しない。

比較用のベースライン画像は不要。DOMの座標と文字の描画矩形を実測するため、 「どの要素が何ピクセルはみ出しているか」が数値で返る。

検出: 文字の重なり / 画面外や親からのはみ出し / overflow:hidden による切り捨て / 横スクロールの発生 / undefined・{{name}} 等の未展開 / 参照切れ / id重複 / 不可視テキスト

引数:

  • html | path | url のいずれか1つ(必須)

  • viewport (必須): { width, height }。幅で結果が変わるため既定値なし

  • checks (任意): 検査の絞り込み。既定は element-collision 以外すべて

  • format (任意): "text"(既定)または "json" その他: minOverlapPx, minOverlapArea, allowNetwork, executablePath, settleMs

戻り値: summary(pass, errors, warnings, infos)と findings の配列。 各所見は check / severity / verdict / elements(selector, text, rect)/ evidence / suggest を持つ。 verdict は "static"(確定)か "candidate"(座標上は検出、可視性は未判定)。

対象外: デザインの評価、コントラスト比などのアクセシビリティ検査、前回との差分比較。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

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/h-kazuki-pixel/layout-doctor-mcp'

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