Skip to main content
Glama
UI/UX Design MCP Server
by rpaszekdev

get_design_principles

Retrieve UI/UX design principles by category, tag, or ID to review interfaces, audit accessibility, and guide design decisions.

Instructions

Retrieve UI/UX design principles including Nielsen's heuristics, Gestalt principles, Laws of UX, accessibility guidelines, and more. Contains 74 principles across 13 categories.

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

Input Schema

NameRequiredDescriptionDefault
idNoGet a specific principle by ID (e.g., "visibility-of-system-status")
tagNoFilter by tag
listAllNoList all available principles with category breakdown
categoryNoFilter by category
subcategoryNoFilter by subcategory (e.g., "heuristics", "gestalt", "laws", "wcag")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/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 behavioral burden. "Retrieve" implies a read-only operation and the dataset size (74 principles, 13 categories) is genuinely useful scoping information, but there is no disclosure of return shape, whether multiple filters combine or are mutually exclusive, or what happens when a tag/id matches nothing.

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

Conciseness5/5

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

Two sentences, zero filler, with the resource and its breadth front-loaded. The catalogue sentence (74 principles across 13 categories) earns its place by telling the agent how large the result space is.

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?

For a simple read-only lookup tool whose five parameters are fully documented in the schema, the description covers purpose and scope adequately. The remaining gap is that with no output schema present, a brief note on the returned record shape (fields per principle) would help an agent plan its follow-up calls.

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%, including an ID example and an enumerated category list, so the schema already does the parameter work. The description adds no meaning beyond that—it does not explain filter combination logic or the distinction between tag, subcategory, and category. Baseline 3 applies.

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 opens with a specific verb+resource ("Retrieve UI/UX design principles") and enumerates the content domains (Nielsen's heuristics, Gestalt, Laws of UX, accessibility) plus scale (74 principles, 13 categories). That is enough to distinguish it from siblings like get_design_patterns or get_design_tokens by subject matter, though it never names those siblings explicitly.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the lookup tool for principle content, but nothing states when to prefer it over search_design_knowledge or get_design_patterns, and nothing explains how the filter parameters relate to each other (e.g., whether id overrides category). No exclusions or prerequisites are given.

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