Skip to main content
Glama

Get Widget Style

webinarstack.webinars.widget_style_get
Read-onlyIdempotent

Read a tenant-owned webinar's widget style: the draft style, the published style that is live, and updatedAt. This changes the widget's style object only. It is not page-builder authoring: it cannot add, remove or edit blocks or form fields. Writable in this version: the modal options host.modalWidth (integer 320-1200), host.modalPosition (center, drawer-right or sheet-bottom), host.modalChrome (frame or surface), host.overlayColor (a colour), host.overlayOpacity (0 to 1 in steps of 0.05), host.overlayBlur (integer 0-24), host.modalAnimation (none, fade, scale, slide-up or slide-right; skipped for visitors who prefer reduced motion), host.closeStyle (inside or floating; floating falls back to inside on drawers, sheets and phones) and host.mobileModal (inset, fullscreen or sheet; decides the layout below 640px), and the trigger options host.triggerColor, host.triggerStyle (solid, soft, outline or dark), host.triggerShape (rounded-sm, rounded or pill), host.triggerSize (md, lg or xl), host.triggerIcon (none, arrow or play) and host.triggerFont (system or inherit). An absent host.triggerColor follows the brand. host.modalWidth and host.triggerColor override the embed-card values, and a snippet data-* attribute still wins. The form options are also writable: surface (bg, maxWidth, borderWidth, borderColor, radius, shadow, padding), typography (headingFont, bodyFont, headingScale, headingWeight, align), header (logoPlacement, kickerStyle, trustStyle), fields (labelStyle, fieldStyle, fieldBorder, fieldRadius, fieldSize, fieldBg), button (buttonStyle, buttonShape, buttonWidth, buttonSize, buttonIcon, buttonColor), session picker (sessionStyle), countdown (countdownStyle) and layout (blockSpacing, blockTitle). Colour values accept hex (#rgb, #rrggbb), rgb() or rgba(), and some colours also take a keyword (bg: transparent, borderColor: auto, fieldBg: auto or translucent). An absent headingFont or bodyFont follows the webinar theme font. The dark and transparent options are writable too: surface (card, flat, glass or none), colorScheme (light or dark), textTone (auto, dark or light), layout (stacked or split) and, for the split layout, panelBg (brand, deep or a colour) and panelTone (auto, light or dark). null removes an option so it falls back to its default.

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_style_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
webinarIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

D1.9/5.0
Behavior1/5

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

Annotations declare readOnlyHint=true, yet the description asserts "This changes the widget's style object only" and spends most of its length enumerating writable fields, defaults, fallback rules and null semantics — behavior belonging to widget_style_update. This directly contradicts the declared read-only, idempotent profile and would lead an agent to expect mutation semantics from a get call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness1/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The useful content is one sentenceplus an updatedAt mention; everything after "This changes the widget's style object only" is irrelevant to a read tool and appears copy-pasted from a sibling update definition. Hundreds of tokens of host.modalWidth, triggerShape, surface and colour-format detail crowd out any answer about what is returned or how the response is shaped.

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

Completeness1/5

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

For a read tool with no output schema, the description should describe the returned draft/published style payload and its structure; it names the fields but never explains their nesting or size. Instead it is dominated by write-path documentation that misrepresents the tool's contract, so an agent cannot tell whether calling it is safe or what it will actually receive.

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

Parameters2/5

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

There is a single parameter, webinarId, with 0% schema description coverage; the description's only contribution is the phrase "tenant-owned webinar's," hinting at ownership scoping but never explaining the UUID format, whether a draft/published distinction is selectable, or what happens on a non-owned id. The enormous volume of option-level text conveyed no information about the one input the tool accepts.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening clause does state a specific verb and resource: "Read a tenant-owned webinar's widget style" with the returned shape (draft style, published style, updatedAt). However, that clarity is immediately compromised by "This changes the widget's style object only," followed by ~1,800 characters cataloguing writable options that have nothing to do with reading. An agent skimming the bulk of the text would struggle to be confident this is a read-only retrieval tool.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all. Siblings such as widget_style_update, widget_style_publish, widget_designs_list and widget_design_apply are never mentioned, so nothing tells the agent whether to call this before an update, or how it differs from listing designs. The only routing-adjacent sentence is a negative one about page-builder authoring, which addresses an unrelated concern.

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