Skip to main content
Glama

Design check

design_check
Read-onlyIdempotent

Checks pages of the project's running app as a visitor sees them at phone (390 px), tablet (768) and wide laptop (1440), plus up to 2 widths you choose (widths: 320, 375, 844 sideways…), and returns a prioritised list of findings with plain fixes, plus a contact sheet of the three widths. It finds: a page that didn't render (a framework's error page, only a loading skeleton, a blank page: then nothing else is checked), sideways scrolling and cut-off content (and which element), text over pictures that is hard to read, broken, stretched, soft, heavy or hard-cropped images, a grid's last item left alone on its row, placeholder text (Lorem, [your …], 000000, example.com, TODO), parts marked data-lf-placeholder, missing title, description, share image (og:image), lang and alt text, small tap targets on phones, page weight (pictures, scripts and fonts apart; a preview on a development server ships large scripts, so check the real weight with env production), slow first paint, errors the page's scripts threw, and accessibility rule failures. Run it before telling the user a site is ready, fix what it finds, and run it again; for an app, also on its signed-in pages (headers). path, or paths (up to 4); env preview (default) or production; headers and include_warnings as for preview_screenshot. Each page also lists its browser errors in the clean checking browser (or none). It also finds markup that fights a change (the same section or id twice, inline styles with !important, a selector setting the same property to different values in two places), with where, and says to edit the source instead of adding an override; and lists the pages whose look changed since its last run in this project (the pages checked now and up to three checked before: "/studio changed 12%; /contact 0%").

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project": "<project>"
    },
    "name": "design_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
envNopreview
pathNoOne page, e.g. "/" (the default).
portNo
pathsNoUp to 4 pages, e.g. ["/", "/rooms", "/contact"].
widthsNoUp to 2 more widths in CSS px, checked as well as phone, tablet and wide laptop: 320 or 375 for small phones, 844 for a phone held sideways, a width either side of a breakpoint the user reports.
headersNo
projectYesProject slug or id.
include_imageNofalse: leave the image out of the result, keeping its link (for an app that prints results as text).
include_warningsNoAlso list the pages' console warnings (default: errors only).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already establish read-only, idempotent, non-destructive behavior, and the description adds substantial context on top: the check short-circuits if a page fails to render, the preview environment ships oversized dev scripts so weight should be confirmed with env production, and the run compares against prior runs to flag visual drift. It also discloses limits (up to 4 paths, up to 2 extra widths) and what each finding includes.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, but the body is a single very long run-on sentence with nested parentheses and semicolons enumerating every finding type. Most content is substantive rather than filler, yet the density and lack of structure make it harder to scan than it needs to be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter tool with nested objects and no output schema, the description does most of the work: it describes the shape of the result (prioritized findings with fixes, a contact sheet, per-page browser errors, change percentages). Gaps remain around the unmentioned port and include_image parameters and the unexplained headers semantics.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67%, and the description adds useful meaning for widths (concrete values and the rationale of probing either side of a reported breakpoint), path/paths, and env preview vs production. However, headers and include_warnings are deferred to another tool's documentation rather than explained, and port and include_image are never mentioned.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening clause gives a specific verb and resource: it checks pages of the project's running app as a visitor sees them at three named widths. The finding categories are enumerated, so an agent knows exactly what class of output to expect. It does not explicitly contrast itself with siblings like preview_screenshot, only referring to it for shared parameters, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit lifecycle instruction: run before telling the user a site is ready, fix what it finds, run again, and additionally run on signed-in pages with headers for apps. That is clear when-to-use guidance. It lacks an explicit when-not-to-use or a named alternative for cases this tool does not cover.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources