Skip to main content
Glama

Set style profile

set_style_profile
Idempotent

Create or update a style profile for a customer or project: primary/secondary/accent colour, font_families, logo_url, corner_radius, anmutung (look & feel, free text). Manually set fields are marked 'confirmed'. Each field keeps a source. Returns the profile.

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

Input Schema

NameRequiredDescriptionDefault
idNoExisting profile UUID to update (optional)
cssNoDesign kit: a shared stylesheet reused by every Stufe-2 render of this profile's set (keeps HTML views consistent)
nameNoProfile name (e.g. 'Stadt Hildesheim')
layoutNoDesign kit: a shared HTML layout skeleton (header/sidebar/main shell) containing a {{content}} placeholder. Every Stufe-2 render of the set injects only its content here, so the chrome stays byte-identical.
sourceNoWhere these values came from (default 'manual'); stored per field
confirmNoMark the provided fields as confirmed (default true for manual input)
anmutungNoLook & feel in words
logo_urlNo
project_idNoProject UUID (optional)
customer_idNoCustomer UUID (optional)
accent_colorNo
ascii_blocksNoDesign kit: named ASCII partials { name: text } to paste verbatim into Stufe-1 sketches so shared parts (header, sidebar, table shell) stay stable across a set
corner_radiusNoe.g. '8px'
font_familiesNoFont families, most important first
primary_colorNo
secondary_colorNo
style_anchor_mockup_idNoDesign kit: a canonical Stufe-3 mockup UUID used as the style reference for further Stufe-3 images of the set

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover safety (readOnly=false, destructive=false, idempotent=true), so the description's job is to add operational detail, and it does: manually set fields are marked 'confirmed', each field retains a source, and the profile is returned. What it omits is the mutation semantics that matter most for a 17-param all-optional tool — whether omitted fields are cleared or preserved on update.

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 short sentences, front-loaded with the action and resource, followed by the field inventory and the confirmation/source rule. The field list partially duplicates schema property names, but it earns its place as a quick scan of what the profile holds.

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?

For a 17-parameter, zero-required, nested-object mutation tool with no output schema, the definition covers the core attributes and mentions the return value, which is adequate. It leaves the create-vs-update decision rule and the entire design-kit parameter family undiscussed, which an agent would otherwise have to reconstruct from the schema alone.

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 description names the visually oriented fields (primary/secondary/accent colour, font_families, logo_url, corner_radius, anmutung) and the customer/project targeting, mapping to roughly half the schema. It says nothing about the design-kit parameters (css, layout, ascii_blocks, style_anchor_mockup_id) or their nesting, though schema coverage at 76% means the schema carries most of that load, 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?

States a specific verb pair and resource ('Create or update a style profile') plus the scope it attaches to ('for a customer or project'), then enumerates the concrete design attributes it carries. An agent can distinguish this from get_style_profile purely on the write-vs-read framing without opening the schema.

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

Usage Guidelines3/5

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

Create-or-update intent is implied by the verb pair, and the schema's optional 'id' hints at the update path, but the description never states when to use this versus get_style_profile or what happens if the profile already exists. No explicit exclusions or prerequisites are given.

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