evaluate_design
Evaluate a design description against UX principles. Returns relevant principles, potential violations, and improvement suggestions. Screenshot pixel-diff is disabled on the hosted (remote) endpoint (unbounded image decode). Omit 'before_screenshot'/'after_screenshot' and pass a 'description' to evaluate the design against UX principles statelessly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goals | No | What to evaluate for (e.g. ['conversion', 'accessibility', 'mobile-usability']) | |
| compact | No | Return only ids+names for matched principles/patterns (drop their full bodies) plus counts and any before/after diff. Default false. Use when the full principle library payload would blow the tool-result budget. | |
| context | No | What the design is (e.g. 'pricing page for SaaS product') | |
| description | No | Description of the design to evaluate | |
| after_screenshot | No | Base64 PNG of the AFTER state. When both before+after are provided, returns a structured pixel diff with fix_confirmed. | |
| before_screenshot | No | Base64 PNG of the BEFORE state |