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

get_design_patterns

Retrieve UI/UX design patterns by ID, tag, type, category, or platform to solve common interface problems, with structured solutions and accessibility notes.

Instructions

Retrieve UI/UX design patterns for common interface problems. Contains 30 patterns covering navigation, forms, feedback, and layout. Each pattern includes problem, solution, structure, consequences, and accessibility considerations.

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_patterns"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoGet a specific pattern by ID (e.g., "pattern-tabs")
tagNoFilter by tag
typeNoFilter by pattern type
listAllNoList all available patterns
categoryNoFilter by category
platformNoFilter by platform

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It reveals corpus size and per-pattern fields (problem, solution, structure, consequences, accessibility), which is useful, but says nothing about whether filters combine with AND/OR, whether listAll overrides other filters, whether results are truncated or paginated, or the response shape — significant gaps for a 6-parameter tool with 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 front-loaded sentences with no filler; purpose comes first and supporting detail follows. The middle sentence's category list (navigation, forms, feedback, layout) partially restates enum values already visible in the schema, a minor redundancy that keeps it from a 5.

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 read-only reference lookup with all parameters optional and fully documented in schema, the description is largely sufficient, and the enumeration of per-pattern fields usefully substitutes for the absent output schema. The remaining gap is operational behavior — filter interaction and result size/pagination — which the description omits entirely.

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 every parameter is already documented including two enums, which sets the baseline at 3. The description adds no per-parameter meaning such as precedence between id, listAll, and the filter fields, so it neither compensates nor detracts.

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?

"Retrieve UI/UX design patterns for common interface problems" pairs a concrete verb with a concrete resource, and the follow-up sentences scope the corpus (30 patterns) and their contents. It does not, however, distinguish itself from the sibling get_design_principles or search_design_knowledge, leaving the boundaries between patterns, principles, and search unstated.

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 by the phrase "for common interface problems"; there is no explicit statement of when to prefer this over get_design_principles or search_design_knowledge, and no guidance on choosing between the id lookup, listAll, and filter parameters. An agent can infer a lookup use case but must guess at the routing decision.

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