Skip to main content
Glama
This connector has been deprecated in the official MCP Registry

Replaced by ronda.

Moved to com.useronda/ronda

Switch the preview to a variant

set_preview_variant
Idempotent

Used by the variant card: makes the user's open preview of this session show the selected design variant (the __ronda_variant value). Changes only which variant the preview displays; does not change any code. Pass waitSeconds to wait until the open preview has picked it up (applied:false means no preview page is open for this session). The result says whether a preview is open (visible, in the background, or none).

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": {
      "sessionId": "<sessionId>",
      "key": "<key>"
    },
    "name": "set_preview_variant"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesThe __ronda_variant value to show, or null for the current version.
labelNoShort name of the variant, shown in the preview while it switches.
contextNoA few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as "a customer". Do not quote the user or include names, emails, or other personal details.
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
sessionIdYesThe ronda session id, from open_session or list_sessions.
waitSecondsNoSeconds to wait (0-8, default 0) until the open preview has picked the variant up. Only waits when a preview is visible.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare idempotent=true, destructive=false and readOnly=false, and the description adds real context beyond them: only the preview's displayed variant changes, no code is touched, waitSeconds returns applied:false when no preview page is open. The result shape (visible, background, none) is also disclosed. Permissions or failure modes are not covered, which keeps it at 4.

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 of the change leads, followed by the wait behavior and return values, so an agent gets the essentials first. The nested parentheticals make a few sentences denser than necessary, but no sentence is filler.

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?

With six parameters, all fully described in the schema, and no output schema, the description covers the return values itself and explains the one non-obvious wait behavior. The remaining gap is the absence of any hint about failure or permission conditions, which is minor for an idempotent, non-destructive preference switch.

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 baseline is 3; each parameter's type, bounds and meaning are already documented in the schema. The description restates waitSeconds' purpose in context but adds no new syntax or format detail for key, label or sessionId. Its most useful extra, the meaning of applied:false, concerns the result rather than a parameter.

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 names a specific verb and resource: making the user's open preview of this session display the selected design variant (the __ronda_variant value). It also scopes the action precisely by saying it changes only what the preview shows and not any code. It never distinguishes itself from the sibling keep_variant, so it stops short of a 5.

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?

"Used by the variant card" implies the calling context, and the no-code-change clause hints at when this is the right tool rather than an edit tool. There is no explicit statement of when not to use it or which sibling to pick for related tasks such as keeping a variant.

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