Skip to main content
Glama

Get the widget install

get_widget_install
Read-onlyIdempotent

How to put the chat widget on a website: the script tag, the allowed origins, where the widget was last seen, whether signed-in identity is set up, and optionally server code that signs identity tokens. The identity secret itself is only shown in the app (settings_link page "install").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
productIdYesProduct id from list_products.
identitySnippetsNoInclude server code (several languages) that signs identity tokens.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish the safe read-only/idempotent profile, so the bar is lower. The description adds genuine value beyond that: it discloses that the identity secret is deliberately excluded from the response and where to get it instead, plus that server-side identity-signing code is only returned optionally. That 'what is NOT returned' detail prevents agent confusion.

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?

Content is front-loaded into one dense enumerating sentence, followed by a short caveat sentence about the secret. Every clause carries information about the return payload; there is no filler, though the first sentence is long.

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 no output schema, the description carries the burden of describing the return payload, and it does so field by field (script tag, origins, last seen, identity status, optional snippets). Combined with annotations covering the safety profile and the routing note to settings_link, an agent has what it needs to call and interpret this correctly.

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

Parameters3/5

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

Schema coverage is 100%, so both parameters are already documented (productId provenance from list_products, identitySnippets purpose). The description restates the identitySnippets meaning ('server code that signs identity tokens') with no additional syntax or format detail, so the baseline of 3 is appropriate.

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 enumerates exactly what the tool returns for the chat-widget install (script tag, allowed origins, last seen, identity setup, optional server snippets), which is a specific and recognizable resource. It does not name a sibling for comparison, but the content is distinctive enough that an agent can tell it apart from generic get_product/list_products calls.

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

Usage Guidelines3/5

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

Usage is only implied — the agent infers it should call this to obtain install instructions. There is one useful routing hint: the identity secret is only shown in the app via settings_link page 'install', which points the agent elsewhere for that specific data. No explicit when-to-use/when-not or alternative-naming guidance.

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