Skip to main content
Glama

Website: Set style

website_set_style
Destructive

Switch an existing site between the standard and the premium design, or to another palette (slugs from website_publish_status 'palettes' / 'premium.choices'). Premium needs a paid plan or module: a free workspace gets status 'blocked' with 'upsell' (the plans on sale). Goes live at once without publishing other pending edits. Runs propose→confirm. CONFIRMATION: this tool is PROPOSED, never performed directly. You get status='confirmation_required' with an action_id and a plan_token, and the write happens only after confirm_action.

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": {
      "style": "<style>"
    },
    "name": "website_set_style"
  }
}

Input Schema

NameRequiredDescriptionDefault
styleYes
paletteNo
websiteNoSite id, name or subdomain. Optional when the workspace has one site.
directionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the key destructive consequence: the change 'goes live at once without publishing other pending edits.' It also explains the two-phase propose→confirm protocol, the exact status string returned, and the paid-plan gate with its blocked/upsell outcome — exactly the context an agent needs before invoking a destructive mutation.

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?

Front-loaded with the action and its scope, then prerequisites, then the confirmation protocol. Dense but each clause carries operational information. Slightly packed with quoted literals, though none are gratuitous.

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 destructive mutation with no output schema, it covers the return status, the follow-up tool, the paid-plan gate, and the immediate-publish side effect. The one gap is the undocumented 'direction' parameter, which an agent would have to guess at.

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 only 25% (only 'website' is documented), so the description must compensate. It does add meaning for 'palette' (slugs sourced from website_publish_status 'palettes' / 'premium.choices') and implies the 'style' enum values, but 'direction' is never mentioned and remains entirely opaque.

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?

States a specific verb and resource: 'Switch an existing site between the standard and the premium design, or to another palette.' An agent can tell this changes an existing site's design rather than creating a page or switching a template. It stops short of naming the nearest sibling (website_switch_template) to draw the line explicitly.

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?

Gives a concrete condition (premium requires a paid plan; free workspaces get 'blocked' with 'upsell') and states the prerequisite flow. It also routes the agent to confirm_action by explaining that the call returns status='confirmation_required' with an action_id and plan_token. It does not contrast this with alternative style/template tools, so the guidance is clear but not exhaustive.

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