Skip to main content
Glama

Get design system guidelines

get_guidelines
Read-only

The organisation's design system rules for AI coding: components to use (in the project's framework), allowed colour/spacing tokens, and what the Checker enforces. Call 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_guidelines"
  }
}

Input Schema

NameRequiredDescriptionDefault
frameworkNoThe project's UI framework (from its package.json: @angular/core → angular, vue → vue, svelte → svelte, solid-js → solid, react → react). Defaults to the one set for this connection.

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?

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds what the payload actually contains (framework-appropriate components, permitted tokens, Checker rules) and that a single call suffices. There is no output schema, so more detail on the shape of the response would have been welcome, but the content summary is solid.

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?

A single content sentence plus a short imperative; contents are front-loaded before the call instruction, and no wording is wasted.

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 one-optional-parameter, no-output-schema retrieval tool, the description supplies purpose, contents, and timing. The only real gap is guidance on explicitly overriding the connection default versus letting it resolve automatically.

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?

Schema coverage is 100% and the enum plus package.json mapping rules are already documented in the schema. The description only echoes the framework notion ("in the project's framework") without adding format, precedence, or override behavior beyond what the schema states.

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 concrete resource (the organisation's design system rules for AI coding) and enumerates what it contains: components to use, allowed colour/spacing tokens, and Checker enforcement. It is clearly a policy/guidance fetch rather than a lookup of a specific token or component doc, though it partially overlaps the adjacent get_design_tokens and get_component_docs without explicitly distinguishing itself.

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 once before writing UI" gives an unambiguous trigger and even constrains call frequency, which is exactly the context an agent needs. It stops short of naming alternatives (e.g., use find_component to locate a specific component) or stating when-not to call.

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