Skip to main content
Glama

HamroLink Business OS MCP Server

change_theme

Changes the visual theme and brand tokens of the user's EXISTING site across the entire storefront (header, footer, homepage, all content pages, and product detail pages) without altering page copy. Supports all 16 curated themes ('light', 'emerald', 'modern', 'warm', 'luxury', 'ocean', 'crimson', 'minimal', 'dark', 'forest', 'premium', 'bright', 'vibrant', 'colorful', 'bold', 'elegant') plus Basic and Advanced color/typography overrides. UI/UX & ANTI-SLOP RULES: Maintain strict WCAG AA+ contrast (4.5:1+); never pair dark text with dark card/background surfaces or light text with light surfaces. Follow 60-30-10 color balance (60% neutral surface, 30% card/border structure, 10% primary CTA & accent highlights).

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": {
      "theme": "<theme>"
    },
    "name": "change_theme"
  }
}

Input Schema

NameRequiredDescriptionDefault
themeYesThe curated theme preset to apply across the site.
siteIdNoOptional Site ID. If omitted, applies to the user's active website.
cardColorNoOptional custom card / box surface hex color (--card).
textColorNoOptional main heading & body text hex color (--foreground). Must contrast strongly with backgroundColor and cardColor.
fontFamilyNoOptional global font family (e.g. "'Inter', sans-serif", "'Plus Jakarta Sans', sans-serif", "'Playfair Display', serif", "'Lora', serif", "'Space Grotesk', sans-serif", "'Outfit', sans-serif").
isDarkModeNoOptional global contrast toggle: true for Dark Mode surfaces, false for Light Mode surfaces.
accentColorNoOptional secondary badge / highlight hex color (e.g. '#f59e0b', '#10b981').
borderColorNoOptional card border & divider hex color (--border).
primaryColorNoOptional primary brand / CTA button hex color (e.g. '#ea580c', '#059669', '#2563eb').
mutedTextColorNoOptional subtitle / secondary text hex color (--muted-foreground).
backgroundColorNoOptional custom page canvas background hex color (--background).
buttonTextColorNoOptional text hex color inside primary buttons (e.g. '#ffffff').
resetAdvancedOverridesNoSet true to clear custom backgroundColor, cardColor, textColor, mutedTextColor, and borderColor overrides back to the theme's curated defaults.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true, so the agent knows this is a non-destructive global mutation. The description usefully adds the blast radius (entire storefront, all page types) and confirms page copy is untouched, plus WCAG AA+ and 60-30-10 design expectations. It stops short of stating whether the change is reversible, whether existing custom overrides persist, or what the response looks like.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded and the 'without altering page copy' clause is valuable, but roughly half the text is design-policy guidance (anti-slop rules, 60-30-10 balance) that reads more like a style prompt than tool documentation, and the 16 theme names duplicate the enum verbatim. Trimming the redundant list and condensing the design rules would sharpen 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 13-parameter global mutation with no output schema, the description covers scope, safety-relevant constraints, and preset flexibility, and the schema documents the remaining parameters. Missing are the return behavior, idempotency, and how overrides interact with a chosen preset, which an agent may need to reason about.

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 description coverage is 100%, so the schema already explains every parameter including the hex-color overrides and resetAdvancedOverrides. The description's only added parameter context is the Basic vs Advanced override distinction and the contrast constraint on text/background pairings; the enumerated theme names merely repeat the schema enum. Baseline 3 applies.

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 opens with a specific verb and resource ('Changes the visual theme and brand tokens') and scopes it precisely to an EXISTING site's header, footer, homepage, content pages, and PDPs. It also states a key negative ('without altering page copy'), which distinguishes it from content-editing siblings. It does not differentiate itself from the apparent sibling site.update_theme, leaving ambiguity about which theme tool to call.

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?

Usage is implied through the 'EXISTING site' prerequisite and the siteId default behavior, but there is no explicit statement of when to choose this versus site.update_theme or other page/site tools. No exclusions or preconditions beyond 'must already have a site' 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.