Skip to main content
Glama

Mlola design rules

get_design_rules
Read-only

The rules for building UI with Mlola: compose first, color by role, measure with the scales, shared state words, touch and focus; the project setup (the theme on , every theme's fonts); and what each layout primitive does. Read once before writing UI.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

readOnlyHint=true already tells the agent this is a safe read, so the description's job is to characterize content, which it does by naming the rule areas and the setup facts returned. The "read once" framing usefully signals a static reference payload rather than live state. It does not indicate payload size or format, which is a minor gap given 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?

One dense sentence with a semicolon-separated inventory, followed by a short imperative — no filler. The directive to actually read it is placed last rather than front-loaded, which slightly weakens scannability, but every clause names real content.

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?

With no parameters, no output schema, and annotations covering safety, the description's remaining duty is to say what the returned guidance covers — which it does at section granularity. An agent knows enough to call it at the right moment and knows roughly what it will receive.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so the baseline is 4 and there is nothing for the description to disambiguate. No argument-related guidance is needed or missing.

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 identifies the resource precisely and enumerates its contents: composition order, color-by-role, measurement scales, shared state words, touch/focus accessibility, project setup (theme on <html>, per-theme fonts), and layout primitive behavior. That topic list distinguishes it from siblings like get_component or get_tokens without naming them. It is a noun-phrase scope statement rather than a verb-led one, so it is clear but not maximally action-oriented.

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?

"Read once before writing UI" gives an explicit trigger condition and implies one-time rather than repeated use. No exclusions or named alternatives are given (e.g., when to prefer get_component for a single component's API), so it stops short of full when/when-not routing.

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.