Skip to main content
Glama

Clay design guide

get_design_guide
Read-onlyIdempotent

Clay's design rules for a good-looking static site: type scale, spacing, one accent colour, images, section patterns and a working form. Call it before writing any page. With style, it also returns that Clay style's own guide (tokens, signature elements, motion, page shapes and what the style refuses). Read-only.

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

Input Schema

NameRequiredDescriptionDefault
kindNowhat the site is; adds the section order for that kind
styleNoa Clay style the user picked (liquid-glass: Liquid Glass, sticker-pop: Sticker Pop, riso-print: Riso Print, night-cinema: Night Cinema, swiss-grid: Swiss Grid, kinetic-type: Kinetic Type, soft-3d-toy: Soft 3D Toy, retro-desktop: Retro Desktop); adds that style's own guide, to follow exactly

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the trailing 'Read-only' is largely redundant. The genuinely additive part is the disclosure that supplying `style` changes the payload to include that style's own guide — useful conditional behavior the annotations cannot express, though nothing is said about output size or caching.

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?

Three sentences, front-loaded with the resource and its contents, then the usage trigger, then the conditional behavior. Tight overall, with only the trailing 'Read-only' sentence failing to earn its place against the existing annotations.

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, two-optional-parameter tool with no output schema, the description does the necessary work: it enumerates what the base guide covers and what the style-specific guide adds. The only missing piece is any hint about response shape or size when both parameters are supplied.

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% with both enums fully documented, so the baseline is 3. The description goes beyond that by explaining the effect of `style` in richer terms (tokens, signature elements, motion, page shapes, and what the style refuses) and frames `kind` implicitly as section ordering context, adding real meaning about what the returned guide will contain.

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 names a specific resource and its contents: 'Clay's design rules for a good-looking static site: type scale, spacing, one accent colour, images, section patterns and a working form.' An agent can tell this is a design-reference fetch rather than a file read, but it never explicitly contrasts with siblings like read_file or get_site, so differentiation is implicit rather than stated.

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?

'Call it before writing any page' is an explicit, actionable when-to-use trigger, and 'With `style`, it also returns...' tells the agent when the optional parameter changes the result. There is no when-not guidance 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