Skip to main content
Glama

Reset Widget Design Options

webinarstack.webinars.widget_design_reset
Idempotent

Put a tenant-owned webinar's widget draft style options back to the design it was applied from: every option, or only the keys you name. Blocks and copy are not changed. A widget with no known design returns PRECONDITION_FAILED; apply a design first. 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. 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>"
    },
    "name": "webinarstack.webinars.widget_design_reset"
  }
}

Input Schema

NameRequiredDescriptionDefault
keysNo
webinarIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only cover the safety profile (non-read-only, idempotent, non-destructive); the description adds substantial behavior beyond that: blocks and copy are untouched, only the draft is written, the live widget is unaffected until publish, last-write-wins, updatedAt in the response, and an editor autosave race that can overwrite API writes. The CONFLICT/no-save semantics are exactly the kind of concurrency disclosure an agent needs.

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 scope, then layered with draft-only, concurrency, and error behavior in a logical order. It is dense but nearly every sentence adds a distinct operational fact; the draft/publish explanation is slightly repetitive but justified for a destructive-adjacent write.

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?

No output schema exists, and the description compensates by noting responses include updatedAt, plus it enumerates the failure modes (PRECONDITION_FAILED, CONFLICT) and the partial-update boundary (style only, not blocks or copy). For a two-parameter mutation tool this covers everything needed to call it correctly.

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 must carry the load, and it does explain the key optional parameter's meaning: reset all options versus a named subset of design option keys. It does not describe the webinarId parameter or key format/length limits, leaving some detail to the schema.

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 ('Put a ... widget draft style options back to the design it was applied from') and immediately defines scope ('every option, or only the keys you name'). It also implicitly separates itself from the apply and publish siblings by saying the design was already applied and that it 'cannot publish'.

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 clear precondition ('A widget with no known design returns PRECONDITION_FAILED; apply a design first') and a recovery path for CONFLICT ('read the widget again and retry'). It does not name the concrete sibling (widget_design_apply / widget_style_update) an agent should pick instead, so the routing is implied rather than explicit.

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