Skip to main content
Glama

Get a Project's Tuned Design Config

get-design-config
Read-onlyIdempotent

Read a project's custom theme configuration to retrieve design settings for Open Design workflows. Provide a project ID to access the registry-backed configuration needed for consistent UI generation.

Instructions

Read a custom theme configuration. Registry configuration is intentionally public.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "projectId": "<projectId>"
    },
    "name": "get-design-config"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextNo
projectIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3/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 safety profile is covered. The description adds one genuinely new behavioral fact — that registry configuration exposure is intentional, implying no auth/visibility concern — but says nothing about fallback behavior when no custom theme is set or what gets returned.

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?

Two short sentences with the primary action front-loaded and no padding. The second sentence is a terse fragment whose referent ('Registry configuration') is slightly ambiguous, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a simple read tool with rich annotations, so the burden is modest, but with no output schema the description should hint at what the returned config contains or what happens when none exists. It also leaves the undocumented 'context' parameter completely unaddressed.

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

Parameters2/5

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

Schema description coverage is 0% and there are two parameters, yet the description never explains projectId or the free-text 'context' parameter (max 280 chars). It only obliquely implies a project scope, leaving an agent guessing about what context is for and whether projectId accepts a slug or an id.

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 uses a clear verb and resource: 'Read a custom theme configuration,' and the word 'custom' distinguishes it from registry/default configs. It stops short of naming the sibling mutator set-design-config or otherwise differentiating the read path from it, so sibling differentiation is only implied by the tool name.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to call this versus set-design-config or the design-system-kit/status tools, nor on prerequisites or typical use cases. The clause 'Registry configuration is intentionally public' gestures at a distinction but never states the condition under which it matters.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.