Skip to main content
Glama

Set Widget Layout

webinarstack.webinars.widget_layout_set
Idempotent

Switch a tenant-owned webinar's widget draft between the stacked and split layouts. Switching to split moves the kicker, heading, subheading, trust line and countdown into the brand panel and keeps the registration form and session picker on the form side. Switching back to stacked puts the blocks back in the order of the design the widget was applied from. Selecting the layout already in place changes nothing. The result names the blocks that moved. This writes the widget DRAFT only. It cannot publish; the live widget does not change until the creator publishes, exactly like a draft edit in the editor. webinarstack.webinars.widget_style_update cannot change the layout on its own. Last write wins. Responses include updatedAt. An editor tab that is open on this widget can autosave over a draft written through the API. If the widget draft changed while the layout was being saved, the call returns CONFLICT and nothing is saved; read the widget again and retry.

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": {
      "webinarId": "<webinarId>",
      "layout": "<layout>"
    },
    "name": "webinarstack.webinars.widget_layout_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
layoutYes
webinarIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false), the description discloses draft-only writes, last-write-wins semantics, the CONFLICT-on-concurrent-change behavior with a retry instruction, and the risk that an open editor tab can autosave over the API write. It also confirms the response shape (blocks that moved, updatedAt), which is consistent with idempotentHint=true.

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?

Well front-loaded: purpose, then layout effects, then draft-only constraint, then conflict handling. It is dense rather than padded, but the last-write-wins sentence and the autosave/CONFLICT sentences overlap somewhat and could be tightened.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter mutation with no output schema, the description covers everything an agent needs: what changes, what does not change (live widget), concurrency failure mode and recovery, and what the response contains. Nothing material is missing.

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

Parameters4/5

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

Schema description coverage is 0%, so the description carries the burden; it explains the two enum values in operational detail (what moves into the brand panel for split, what order returns for stacked). The webinarId parameter is not described at all, though its meaning is largely implied by "tenant-owned webinar."

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?

The first sentence gives a specific verb ("Switch") and resource ("a tenant-owned webinar's widget draft") with the exact scope of the change (between stacked and split layouts). It also explicitly contrasts with the sibling webinarstack.webinars.widget_style_update, which "cannot change the layout on its own," so the agent can distinguish the two without opening schemas.

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

Usage Guidelines5/5

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

The description states when to use it (layout switching), when not to expect more (draft-only, cannot publish, live widget unchanged until publish), and names the alternative for other style changes (widget_style_update). The idempotent case is also spelled out: selecting the layout already in place changes nothing.

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