Skip to main content
Glama

Design UI with 8pt (call first)

design_ui
Read-only

Call this before building any web page, landing page, app screen or UI component. Pass what the user wants; it returns the 8pt design rules, the best-matching full-page template, components matched section by section, and themes to choose from. Then build only with these 8pt assets and don't invent visual styles.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "brief": "<brief>"
    },
    "name": "design_ui"
  }
}

Input Schema

NameRequiredDescriptionDefault
briefYesThe UI the user wants, in their own words, e.g. "a website for my budgeting app with pricing and FAQ"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds genuinely useful behavior beyond that: the four categories of returned content and the restriction against inventing visual styles. It stops short of describing how matching is done or what happens when no template matches, so it adds solid but not rich context.

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?

Three sentences, front-loaded with the imperative call-to-action, then the return payload, then the downstream constraint. No filler and nothing buried.

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?

For a single-parameter, read-only entry-point tool with no output schema, the description covers the trigger, the inputs, the returned artifact categories, and the required follow-up behavior. An agent can call it correctly and know what to do next without further information.

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?

With one parameter at 100% schema description coverage, the schema already explains the brief and even supplies an example. 'Pass what the user wants' restates the schema rather than adding new meaning such as length limits or how detail affects matching quality, so the 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 uses a concrete verb-plus-output framing: it returns 8pt design rules, a best-matching full-page template, section-by-section matched components, and themes. That tells an agent exactly what comes back, which implicitly separates it from single-asset siblings like get_template or get_component, though none of those siblings are named.

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?

Guidance is unusually explicit on the trigger condition: 'Call this before building any web page, landing page, app screen or UI component,' plus a follow-on constraint to build only with the returned assets. There is no explicit when-not clause or named alternative, which keeps it short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources