Skip to main content
Glama

Get web-widget settings

get_widget_settings
Read-only

Every web-widget setting (texts, language, position and size, behavior, colors, 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/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the trailing 'Read-only.' is largely redundant. Beyond that, the description does real work: it discloses that each setting comes with allowed values, a default, and live-widget semantics, and that with deployment_id it also surfaces stored keys the widget ignores — non-obvious output behavior not captured anywhere else.

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?

A single front-loaded sentence that leads with the resource and enumerates scope, with the optional-parameter behavior in a clear second clause. The trailing 'Read-only.' duplicates the readOnlyHint annotation and is the one phrase that does not earn its place.

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?

With only one optional parameter and no output schema, the description carries the return-value burden and does so reasonably: it explains what each setting entry contains (allowed values, default, effect) and what changes when deployment_id is supplied. Only the concrete response shape/format remains unspecified, which is a minor gap at this complexity.

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 schema already says deployment_id selects a deployment's saved values. The description adds meaning beyond that by specifying that the response then also includes 'any stored keys the widget ignores', which the schema does not mention.

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?

States a specific resource (every web-widget setting) and enumerates the covered categories (texts, language, position/size, behavior, colors, surfaces, typography), so an agent knows exactly what it retrieves. It does not explicitly contrast itself with any sibling, which is the only thing keeping it from a 5.

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 clearly distinguishes two invocation modes: without arguments you get the full settings catalog with defaults, and 'with deployment_id also that widget's saved values' you get deployment-specific state. No exclusions or named alternatives are given, but the conditional usage is explicit enough to guide selection.

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