Skip to main content
Glama

Get web-widget settings

get_widget_settings
Read-only

Every web-widget setting (texts, language, position and size, behaviour, colours, surfaces, typography) with allowed values, default and what it does on a live widget; with deployment_id also that widget's saved values and any stored keys the widget ignores. Read-only.

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": "get_widget_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
deployment_idNoOptional: a web-widget deployment to read the saved values of.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false and openWorldHint=false, so the trailing 'Read-only.' is redundant. The description does add real behavioral value beyond the annotations: it discloses that stored keys the widget ignores are surfaced, which an agent would not otherwise expect from a settings read.

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?

One dense sentence, front-loaded with the resource and its payload, with the optional-parameter behavior appended. It is a run-on and the closing 'Read-only.' duplicates the annotation, but no clause is filler.

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?

There is no output schema, so the description carries the return-value burden and does so: allowed values, defaults, per-setting behavior, saved values, and ignored keys. For a one-optional-parameter read tool, nothing an agent needs is missing.

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% and the single parameter is documented there, so the baseline is 3. The description goes further by explaining the semantic consequence of supplying deployment_id (saved values plus ignored stored keys), which the schema does not say.

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 ('Every web-widget setting ... with allowed values, default and what it does on a live widget') and enumerates the setting categories covered. No sibling tool touches widget settings, so the agent can place it immediately against update_deployment or probe_deployment.

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?

The deployment_id clause effectively defines two modes: call with no argument for the settings catalog, call with an id to also get that deployment's saved values. That is clear usage context, though it never states exclusions or names an alternative tool for related tasks.

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