Skip to main content
Glama

unslop_audit

Audit frontend source files for generic AI UI patterns and WCAG contrast failures, returning a 0-100 Design Craft Score with pillar breakdowns and file:line fixes—read-only, no file changes.

Instructions

Read-only static UI audit across 72 rules and 7 design craft pillars (Color & WCAG 2.1 AA/AAA + APCA Contrast, Typography, Layout, Surface, Copy, Motion, and Tokens) for JSX, TSX, HTML, Vue, Svelte, CSS, and Tailwind files. Use this tool first to baseline a project's Design Craft Score (0-100), inspect pillar-by-pillar breakdowns, and get exact file:line diagnostics with remediation guidance without modifying any files.

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": "unslop_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoFile or directory path to audit, relative to the server project root (defaults to '.').
ignoreNoOptional list of additional directory base names (e.g. ['storybook-static', 'legacy']) to skip during scanning.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.1.2
    • changedInput schema / properties / ignore / description
      Previous value: -"Additional directory base names to skip."New value: +"Optional list of additional directory base names (e.g. ['storybook-static', 'legacy']) to skip during scanning."
    • changedInput schema / properties / path / description
      Previous value: -"File or directory to scan, relative to the server project root."New value: +"File or directory path to audit, relative to the server project root (defaults to '.')."
  2. First observedv2.1.1

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does well on the safety profile: 'read-only' and 'without modifying any files' clearly signal a non-destructive operation. It also discloses output shape (score, pillar breakdowns, file:line diagnostics with remediation). It omits any note on scan cost, performance, or limits on large trees, leaving some behavioral gaps.

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?

A single dense sentence that is front-loaded with the core action and scope, with no filler. It is long but each clause (rule count, pillars, file types, read-only, use-first, outputs) contributes information.

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

Completeness5/5

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

No output schema exists, and the description compensates by describing the return values: a 0-100 Design Craft Score, pillar-by-pillar breakdowns, and file:line diagnostics with remediation. Combined with the fully documented params, an agent has everything needed to call it correctly.

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 description coverage is 100%, so both parameters (path, ignore) are already documented in the schema. The description adds no syntax or format detail beyond that, so the baseline 3 applies.

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

Purpose5/5

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

States a specific verb and resource ('Read-only static UI audit') plus concrete scope: 72 rules, 7 named pillars, and supported file types (JSX, TSX, HTML, Vue, Svelte, CSS, Tailwind). This is far more specific than the sibling names (apply_preset, extract_dna, list_presets, refactor_plan), which are clearly different operations.

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?

Explicitly says 'Use this tool first to baseline a project's Design Craft Score,' giving clear sequencing guidance. It does not name a when-not condition or point to a specific alternative, so it falls short of a 5.

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