Skip to main content
Glama

Design guide

design_guide
Read-only

Read before writing or restyling pages: design rules that keep the site from looking AI-generated (brief, design tokens, typography, colour, layout, imagery, UX and accessibility checklist), plus a playbook for the business niche with what customers look for, top brand websites to learn from, and 2-3 design directions (palette, Google Fonts pairing, layout signature, CSS tokens). Pass niche as free text ("kedai kek", "dental clinic", "homestay Langkawi"); pass site so the recommended direction differs between sites in the same niche; with site it also returns the DESIGN.md of that site and, if you have not loaded them yet, the antislop rules.

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

Input Schema

NameRequiredDescriptionDefault
siteNoSite slug, used to pick the recommended direction
nicheNoThe kind of business, in any words, e.g. "nasi kandar restaurant", "butik tudung", "aircond service"

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish this is a safe, closed-world read. The description adds value beyond them by disclosing what the call returns: a niche playbook plus, when `site` is supplied, that site's DESIGN.md and any antislop rules not yet loaded. It does not describe size, caching, or ordering of the returned content, which matters slightly given there is 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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The instruction is correctly front-loaded, but the two sentences are long run-ons that pack four parenthetical lists into the first sentence. Every element is informative, yet the density makes it harder to scan than a short bulleted structure would be.

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 output schema, the description carries the return-value burden and does so by naming the playbook contents, the DESIGN.md return, and the conditional antislop rules. Both optional parameters are explained and no required-parameter confusion exists, leaving little an agent needs that is missing.

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?

Schema coverage is 100%, so both parameters are already documented. The description still adds meaning: it gives free-text examples for `niche` ("kedai kek", "dental clinic", "homestay Langkawi") and explains the non-obvious purpose of `site` — variant selection across sites in one niche, plus the DESIGN.md side return.

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?

The description opens with a specific imperative and resource: read design rules that prevent an AI-generated look, then get a niche playbook with palette, font pairing, layout signature and CSS tokens. It enumerates the concrete payload (design tokens, typography, colour, layout, imagery, UX/accessibility checklist) rather than restating the title, so an agent knows exactly what comes back.

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 before writing or restyling pages" gives a clear triggering condition, and the note about returning antislop rules "if you have not loaded them yet" implies a separate sibling covers that content. There is no explicit when-not or a named alternative tool, so it stops short of full routing guidance.

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