Skip to main content
Glama

widget-site-update

DestructiveIdempotent

Give one site, or some of its pages, its own launcher: show or hide it, change its style, position or label, or what a click opens. Anything left out follows the level above (the site, then the widget-wide launcher).

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": {
      "domain": "<domain>"
    },
    "name": "widget-site-update"
  }
}

Input Schema

NameRequiredDescriptionDefault
pagesNoOnly these pages of the site, e.g. ["/login", "/signup"]. * matches inside one folder, ** across folders. The same list later edits this page setting. Leave out to change the whole site
resetNoDrop this site or page setting's own changes first, so it matches the level above again
domainYesThe site, e.g. app.acme.com. www. and paths are dropped
hiddenNotrue hides the launcher there, false shows it
destinationNoWhat a click on the launcher opens: a tab, e.g. { "type": "tab", "tab": "support" }, or a feedback form, e.g. { "type": "form", "form": "idea" }
launcherTextNoLabel on the text and pill launchers
launcherStyleNoicon, text (a tab on the edge) or pill (bottom corners only)
launcherPositionNoWhere the launcher sits

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

The annotations already flag destructiveHint=true and idempotentHint=true, so the safety profile is covered; the description adds the important merge/inheritance semantics that annotations cannot express — unset fields resolve from site then widget level. It does not spell out that resetting or omitting values discards previous per-site customization, which is the main destructive consequence.

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?

Two sentences with the scope constraint front-loaded and the inheritance rule as a closing qualifier; nothing is redundant. The phrasing 'Give one site ... its own launcher' is slightly roundabout but functional.

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 8-parameter, nested-object mutation with no output schema, the description supplies the essential mental model (layered overrides with inherit-on-omit). Missing only explicit warning about what reset/omission destroys and any indication of what the call returns.

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, and the description earns an extra point by explaining what omitted parameters mean across the whole schema ('Anything left out follows the level above'). It does not add detail on individual fields like pages globbing or destination shape, but the schema already does that.

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

Purpose4/5

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

The description states a specific action on a specific resource: creating per-site or per-page launcher overrides, listing the overridable aspects (visibility, style, position, label, click destination). It clearly implies the widget-wide counterpart exists ('the widget-wide launcher') without naming the sibling tool, so differentiation is inferable but not explicit.

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?

It establishes the override context clearly and describes the fallback rule ('Anything left out follows the level above'), which tells the agent when omission is safe versus when an explicit value is needed. It stops short of naming widget-update as the alternative for widget-wide settings, leaving that routing to inference.

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