Skip to main content
Glama

Get a DESIGN.md

get_design_md
Read-onlyIdempotent

Fetch the full DESIGN.md for one theme: semantic colour roles, the complete shadcn token set in light and dark, typography, radius, spacing, MEASURED WCAG contrast ratios, and numbered rules the generated UI must follow. Read this before writing any UI. Save it at the repo root as DESIGN.md so it applies to every session.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesTheme or template id, e.g. "deep-ocean". Get ids from search_themes or list_themes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds the practical behavior of saving the fetched content to the repo root, and clarifies the fetched artifact is a full DESIGN.md. No contradictions.

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?

Two sentences, front-loaded with the core action, then the content inventory and a direct usage directive. Every clause earns its place.

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 one-parameter, read-only fetch tool, the description is complete: it states what is returned, what to do with it, and when to call it. No output schema is required because the content is described in prose.

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?

The sole parameter `id` is fully documented in the schema (coverage 100%) with an example and source for valid IDs. The description only reinforces that the tool is per-theme, without adding new parameter semantics, so baseline 3 applies.

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?

Statement 'Fetch the full DESIGN.md for one theme' names a specific action and resource, and the content list (semantic colors, shadcn tokens, typography, contrast ratios, rules) distinguishes it from sibling tools like get_theme_tokens and get_design_md_for_url, which serve different retrieval scopes.

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?

The description gives an explicit call to action: 'Read this before writing any UI,' and explains the persistence step ('Save it at the repo root as DESIGN.md so it applies to every session'). It does not explicitly name alternatives or when not to use it, so it stops short of full alternative 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.