Skip to main content
Glama

design_quality_check

Read-onlyIdempotent

Check supplied HTML and CSS for static surface issues, or supply a foreground/background pair for contrast. In a full checkout, empty arguments audit the design catalog and examples. Browser rendering requires a separate check.

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

Input Schema

NameRequiredDescriptionDefault
cssNoInline CSS to inspect with html.
htmlNoInline HTML for the surface check.
backgroundNoOpaque #RRGGBB background. Supply with foreground.
foregroundNoOpaque #RRGGBB foreground. Supply with background.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / background / description
      Added value: +"Opaque #RRGGBB background. Supply with foreground."
    • addedInput schema / properties / background / pattern
      Added value: +"^#[0-9a-fA-F]{6}$"
    • addedInput schema / properties / css / description
      Added value: +"Inline CSS to inspect with html."
    • addedInput schema / properties / foreground / description
      Added value: +"Opaque #RRGGBB foreground. Supply with background."
    • addedInput schema / properties / foreground / pattern
      Added value: +"^#[0-9a-fA-F]{6}$"
    • addedInput schema / properties / html / description
      Added value: +"Inline HTML for the surface check."
  2. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is covered. The description adds genuine behavior beyond that: the scope boundary (no browser rendering) and the non-obvious empty-argument semantics that turn the call into a catalog/examples audit. It does not describe the shape of the findings returned, which is a modest gap given there is no output schema.

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?

Three short sentences, front-loaded with the primary action and mode enumeration; every sentence carries information. The phrase 'In a full checkout' is slightly ambiguous about the environment condition, which keeps it from being maximally tight.

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?

All four optional parameters are accounted for across the described modes, scope limits are stated, and no output schema exists to explain. Remaining gaps are minor: what 'static surface issues' concretely covers, and how an incomplete pair (e.g., foreground without background) is treated.

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 100%, so a baseline of 3 would apply, but the description earns more by explaining how parameters group into modes: html with css, foreground with background, and all-empty as an audit trigger. That pairing logic is not stated in the schema, which only labels each field individually.

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 description names a concrete verb and resource — 'Check supplied HTML and CSS for static surface issues' — and enumerates a second mode ('supply a foreground/background pair for contrast'). It also scopes out browser rendering, which separates it from a rendering/visual check. It stops short of naming a specific sibling tool, so the differentiation is thematic rather than explicit.

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?

Three invocation paths are stated concretely: html+css for surface checks, a foreground/background pair for contrast, and empty arguments inside a full checkout to audit the catalog. The exclusion 'Browser rendering requires a separate check' tells the agent when not to use it. No sibling is named as an alternative, so the routing guidance is clear but not exhaustive.

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