Skip to main content
Glama

widget-update

DestructiveIdempotent

Update the widget on every site: colors, the launcher (style, position, label and what a click opens), the layout, which tabs show, and the notice at the top of support chats. For one site or some of its pages use widget-site-update. Only provide the fields you want to change.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "widget-update"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabsNoTurn widget tabs on or off. Only the listed tabs change, and at least one stays on. With Home off the widget opens on the first tab that is on
layoutNotabs: Home with its cards and a bar of tabs. home-support: Home with the Support card first and the other cards below, no bar. support: a support-only widget, the Support card alone under the header, no bar
textColorNoTitles and descriptions on the home menu, as hex
launcherTextNoLabel on the text and pill launchers
primaryColorNoButtons, links and the active tab, as hex (e.g. #7c3aed)
launcherStyleNoicon: a round button. text: a labelled tab on the edge of the page. pill: an icon with a label, bottom corners only
backgroundColorNoThe panel and its cards, as hex
launcherPositionNoWhere the launcher sits on the page
specialNoticeTextNoNotice at the top of every support chat
launcherDestinationNoWhat a click on the launcher opens: a tab, e.g. { "type": "tab", "tab": "support" }, or a feedback form, e.g. { "type": "form", "form": "idea" }
specialNoticeEnabledNoShow or hide the notice

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and idempotentHint=true, so the mutation profile is known; the description adds the crucial blast radius (every site, not one) and the partial-update contract. It stops short of saying whether changes take effect immediately on the live widget or how to revert them, which matters for a destructive all-site write.

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

Conciseness5/5

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

Three sentences, zero filler. Scope comes first, the alternative second, the patch rule last — front-loaded in decreasing priority. Nothing is repeated from the schema or the title.

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?

For an eleven-parameter, optional-everything mutation with a nested object and no output schema, the description covers scope, sibling routing, and partial-update semantics, and the per-field constraints live in the rich schema. The one gap is behavioral: no mention of when the change propagates to live widgets or whether prior config can be recovered, which the destructive annotation makes relevant.

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 100%, so the baseline is 3, but the description groups the eleven fields into intents an agent can map from a user request — 'the launcher (style, position, label and what a click opens)' ties launcherStyle, launcherPosition, launcherText, and launcherDestination together. It does not add format or constraint detail beyond 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 with its scope ('Update the widget on every site') and then enumerates the configurable surface: colors, launcher style/position/label/destination, layout, tabs, and the support-chat notice. That is enough for an agent to distinguish it from widget-site-update without opening a schema.

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?

It names the alternative explicitly and states the condition that selects it: 'For one site or some of its pages use widget-site-update.' It also gives the invocation rule 'Only provide the fields you want to change,' which is exactly the guidance needed for an all-optional patch tool.

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