Skip to main content
Glama

Lint a page for accessibility and generic-AI design tells

lint_design
Read-only

Review HTML and CSS before shipping to catch accessibility, contrast, typography, and generated-template issues, returning severity, line numbers, and concrete fixes.

Instructions

Review HTML (and CSS) before shipping. Pass html (inline is read), css, or a public url (the page and its stylesheets are fetched). Returns grouped findings with severity, line and a concrete fix: missing labels/alt/names, heading skips, focus removed, zoom disabled, low contrast (including theme tokens), vw font sizes, transition: all, too many fonts/colors, template copy, and generated-page tells (cream + terracotta, eyebrow labels, gradient washes, card kit, middle dots, 01/02/03). Fix errors, re-run until clean.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "lint_design"
  }
}

Input Schema

NameRequiredDescriptionDefault
cssNoExtra CSS (optional).
urlNoPublic http(s) URL to fetch and lint instead of html.
htmlNoFull page or fragment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds real substance beyond them — that inline <style> blocks are parsed, that a url causes the page and its stylesheets to be fetched, and that output is grouped findings carrying severity, line number, and a concrete fix. It omits failure behavior (unreachable URL, malformed CSS) and any fetch limits, which keeps it short of a 5.

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

Conciseness4/5

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

Front-loaded with the action and the pre-ship trigger, then input modes, then return shape, then the iterate-until-clean instruction — a sensible order. The long catalogue of checks is dense but each item is a distinct finding type, so little can be cut without losing information.

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?

With no output schema and zero required parameters, the description carries the burden well by describing the return structure (grouped findings with severity, line, fix) and clarifying that any of the three inputs works. The remaining gap is edge-case behavior — what happens with no input, an unfetchable URL, or both html and url present.

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

Parameters4/5

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

Schema coverage is already 100%, so the baseline is 3, but the description earns above that by explaining the interplay of the three optional inputs: html may be a full page or fragment with inline styles read, url triggers fetching of the page plus its stylesheets, and css is additive rather than a substitute. It does not state precedence if both html and url are passed.

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?

States a concrete verb and resource ('Review HTML (and CSS)') plus the moment of use ('before shipping'), and the enumeration of finding categories (labels/alt, heading skips, focus removal, contrast, template copy, generated-page tells) makes the scope unmistakable. It never names a sibling, so an agent must infer on its own that check_contrast covers a single color pair rather than a whole page.

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?

Gives clear when-to-use context (pre-ship review of a page) and an explicit operating loop: 'Fix errors, re-run until clean.' It offers no exclusions or named alternatives for narrower jobs such as a single contrast check, and it does not say what to do if none of the three inputs is supplied.

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