Skip to main content
Glama

score_page

Read-only

Score pages across 7 design categories (Structure, Typography, Color, Spacing, Accessibility, Responsive, Design Tokens) with 0-10 ratings, overall 0-100 score, and A-D grade. Accepts HTML or URL for rendered DOM scoring.

Instructions

Score an HTML/CSS page across 7 design categories (Structure, Typography, Color & palette, Spacing & rhythm, Accessibility, Responsive layout, Design tokens), each rated 0–10. Scores are derived deterministically from the same checks as audit_page — no browser required. Pass html directly, or pass url to have Raven launch headless chromium, render the page, and score the RENDERED DOM. Also returns the same overall 0–100 score and A–D grade audit_page produces, the weakest category, and the three categories Raven does not mechanically assess (brand, conversion, motion) with guidance on which tools to use for those.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoIf set, Raven launches headless chromium, renders the page, and scores the RENDERED DOM.
htmlNoThe full HTML content of the page to score.
strictNoStrict mode — count warnings as failures in the overall score. Default: false.
containerMaxWidthNoYour design system's canonical content-container width in px (e.g. 1152). Forwarded to the responsive/max-width check.
Behavior5/5

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

Annotations already indicate readOnlyHint=true and destructiveHint=false. The description adds that scores are deterministic and that launching headless chromium happens only when url is provided, which goes beyond annotations without contradiction.

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?

The description is thorough but slightly verbose. However, every sentence adds value, and it is well-structured with clear sections for input, output, and comparisons.

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?

Given the complexity (multiple inputs, outputs, relation to audit_page, and guidance for non-mechanical categories), the description covers all necessary context comprehensively. No gaps.

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

Parameters5/5

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

All 4 parameters have schema descriptions, and the description adds meaningful context: url triggers rendering, strict counts warnings as failures, containerMaxWidth is for responsive checks. This enhances the schema info.

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?

The description clearly states the tool scores an HTML/CSS page across 7 design categories with 0–10 ratings, plus an overall score and grade. It distinguishes from audit_page by noting deterministic checks without a browser unless a URL is provided.

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

Usage Guidelines5/5

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

Explicitly explains when to pass html directly vs url (triggers headless chromium for rendered DOM). Mentions that brand, conversion, and motion categories are not mechanically assessed and directs users to other tools, providing clear alternative guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rhinocap/raven-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server