Skip to main content
Glama

List principles

list_principles
Read-onlyIdempotent

Browse 195 UX/UI principles by part or list them all; returns summaries and part IDs to explore the catalogue or prepare targeted searches.

Instructions

List the 195 UX/UI principles, optionally one part at a time. Returns principle summaries (slug, title, code, part name, summary), the total count and the list of part ids. Use it to browse the catalogue or to learn the part ids for search_principles.

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

Input Schema

NameRequiredDescriptionDefault
partNoRestrict to one part, by id or name (e.g., "part-1", "part-2"). Omit for every part.
limitNoMaximum number of principles to return. Defaults to 20.
localeNoLanguage of the returned content: "en" (English) or "es" (Spanish). Defaults to "en".en

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.3.0
    • addedInput schema / properties / limit / description
      Added value: +"Maximum number of principles to return. Defaults to 20."
    • addedInput schema / properties / locale / description
      Added value: +"Language of the returned content: \"en\" (English) or \"es\" (Spanish). Defaults to \"en\"."
    • changedInput schema / properties / part / description
      Previous value: -"Filter by part name or ID"New value: +"Restrict to one part, by id or name (e.g., \"part-1\", \"part-2\"). Omit for every part."
  2. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. Beyond that, the description discloses the return shape (slug, title, code, part name, summary), the total count and the part-id list, which no output schema exists to convey.

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, both front-loaded with the most important information (what it lists, then what it returns and why). No filler or redundancy.

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 listing tool with rich annotations and a fully documented schema, the description covers purpose, returns and routing. Only return ordering/truncation behavior when fewer than 195 items are returned is left implicit, a minor gap given the documented limit parameter.

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 coverage is 100%, with each parameter documented including enum values and defaults. The description only restates the part scoping and adds no format or behavioral detail beyond the schema, so the baseline of 3 applies.

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?

States a specific verb and resource ('List the 195 UX/UI principles') plus the scoping option ('optionally one part at a time'), and even names the return payload. An agent can distinguish this browsing tool from search_principles without opening the schema.

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?

Explicitly gives the two use cases ('browse the catalogue' or 'learn the part ids for search_principles') and points to the sibling that consumes those ids. It lacks a when-not statement, but the routing intent is clear.

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