Skip to main content
Glama

Apply Widget Design

webinarstack.webinars.widget_design_apply

Apply a design from the widget design gallery to a tenant-owned webinar's widget draft. Call webinarstack.webinars.widget_designs_list first to get the design ids this widget can use. 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. extraBlocks 'keep' places the blocks you added after the design's blocks, in their order. 'drop' leaves them out. Blocks holding a form, a session picker or a countdown are always left out. The heading, subheading, logo, session picker, countdown and the form's consent, GDPR, SMS and phone settings are kept. The trigger text is never changed. The result names every block the apply left out and any kicker it added. 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 design was being applied, 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>",
      "designId": "<designId>",
      "extraBlocks": "<extraBlocks>"
    },
    "name": "webinarstack.webinars.widget_design_apply"
  }
}

Input Schema

NameRequiredDescriptionDefault
designIdYes
webinarIdYes
extraBlocksYes

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?

Annotations only declare write/non-destructive/non-idempotent, while the description adds substantive behavior: draft-only scope, block merge semantics for extraBlocks, which block types are always excluded, which fields are preserved, that trigger text is never changed, last-write-wins, updatedAt in responses, and editor autosave racing the API. The CONFLICT-with-no-save contract is exactly the kind of concurrency detail annotations cannot express.

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 the draft-only boundary, then block semantics, then conflict handling. Every sentence carries information, but the middle becomes a dense run of preservation clauses that could be grouped or listed for faster scanning.

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?

With no output schema, the description compensates by describing what the result reports (omitted blocks, added kicker, updatedAt) and the CONFLICT failure mode. For a three-parameter mutation with real draft semantics, an agent has everything needed to call it and interpret the outcome.

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 coverage is 0%, so the description must carry the load, and it does for two of three parameters: extraBlocks 'keep' vs 'drop' is fully defined including the ordering rule and the always-dropped block types, and designId is sourced via the list tool. webinarId is only implied by 'tenant-owned webinar', with no note that it is a UUID.

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?

States a specific verb and resource: applying a gallery design to a tenant-owned webinar's widget draft. It also scopes the effect precisely ('This writes the widget DRAFT only'), which separates it from sibling operations like widget_design_reset, widget_layout_set and widget_style_publish.

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?

Gives an explicit prerequisite ('Call webinarstack.webinars.widget_designs_list first to get the design ids') and an explicit when-not ('It cannot publish; the live widget does not change until the creator publishes'). The retry path on CONFLICT ('read the widget again and retry') is also spelled out.

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