Skip to main content
Glama

Get UI Design Principle

get-ui-principle
Read-onlyIdempotent

Read practical UI guidance by topic or query, or get an index when no filters are supplied; use polish for a focused craft audit before editing UI.

Instructions

Read practical UI guidance by topic or query; omit both for an index. Use polish for a focused craft audit before editing.

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-ui-principle"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNo
topicNo
detailNo
contextNo
maxTokensNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the description only needs to add the non-obvious part. It does add the index fallback for empty selectors, but says nothing about truncation/maxTokens behavior or what detail level is returned by default.

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?

Two tight sentences with the core read behavior front-loaded, then the index fallback, then a routing hint. Nothing is padded, though the "polish" hint is slightly cryptic without knowing it is a topic value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 5 undocumented parameters, no output schema, and no parameter descriptions in the schema, the two-sentence description is thin. An agent cannot tell what detail, context, or maxTokens do, or how results are shaped, from this definition alone.

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 0% across 5 parameters, so the description carries the burden and only partly does: it explains topic and query semantics plus one topic value ("polish"). The detail, context, and maxTokens parameters receive no explanation at all, leaving most of the surface undocumented.

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?

States a specific verb and resource ("Read practical UI guidance") and adds the useful behavior that omitting both selectors returns an index. It does not explicitly differentiate itself from the closely named sibling get-ux-principle, but the resource scope (UI craft) is clear enough to act on.

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?

Gives two concrete usage contexts: omit selectors to get an index, and use the "polish" topic for a focused craft audit before editing. No exclusions or explicit alternatives are stated, which is the main gap for a catalog with many adjacent principle/guide tools.

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