Skip to main content
Glama

Update design draft

update_design_draft
Idempotent

Design-Entwurf anlegen/ändern (Kunden sehen nichts). theme wird gemischt (colors/fonts einzeln, null löscht einen Wert): colors{background,foreground,primary,…}, fonts{heading,body}, radius, header (standard|zentriert|kompakt), footer (standard|dunkel|schlicht), productCard (standard|rahmenlos|schatten), buttons (standard|pille|eckig), logoStyle (quadrat|breit), katalog (standard|aus – aus blendet den Produktkatalog unter der Startseite aus), css (eigenes CSS, auf den Shop begrenzt). home_sections ersetzt die Startseiten-Abschnitte, logo_url das Logo. vorlage= startet von einer Vorlage, von_live=true verwirft den bisherigen Entwurf. Liefert vorschau_url und Warnungen.

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": {
      "store_id": "<store_id>"
    },
    "name": "update_design_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
notizNoz. B. übernommen von https://…
themeNo
vorlageNo
logo_urlNo
store_idYes
von_liveNo
home_sectionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations, the description discloses the key behavioral traits: theme values are merged (colors/fonts individually, null deletes a value), home_sections replaces the existing homepage sections, logo_url replaces the logo, von_live=true discards the current draft, and the call returns vorschau_url plus warnings. Notably it surfaces the draft-discarding sub-behavior even though destructiveHint is false, which is exactly the kind of extra context the annotations cannot carry.

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?

The scope statement is front-loaded and nearly every clause adds information an agent needs (merge semantics, enum values, discard behavior, return values). It is a dense run-on block of German prose, though, and the many parenthetical enumerations make it harder to scan than necessary; a light structure would improve it.

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 7-parameter mutation with nested objects and no output schema, the description covers the mutation semantics, the enum choices, the replacement behaviors and the return payload. Remaining gaps are minor: no permission/error conditions, and the language mismatch with the English name/title may slow an agent slightly.

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

Parameters5/5

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

Schema description coverage is only 14% (only notiz is documented), so the description carries the load and does: it expands the theme object into colors/fonts/radius/header/footer/productCard/buttons/logoStyle/katalog/css and even lists allowed values for most of them, and it explains the replace-vs-merge semantics of theme, home_sections and logo_url. Only store_id and notiz are left to the schema, which already covers notiz.

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?

"Design-Entwurf anlegen/ändern (Kunden sehen nichts)" gives a concrete verb (create/modify), a concrete resource (design draft), and a scope cue that separates it from the publish/revert siblings. It stops short of naming the sibling to use when the draft should go live, so sibling differentiation is implied 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 Guidelines3/5

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

The draft-only scope implies when this tool is appropriate, and the von_live/vorlage notes hint at starting conditions, but there is no explicit "use X instead when…" guidance toward publish_design, revert_design or discard_design_draft. An agent can infer the usage context but must reason about the alternatives itself.

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