preview_widget_html
Generate a standalone live HTML preview of the customized Shadow-DOM widget.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot_id | Yes | ||
| test_theme | No | light |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Generate a standalone live HTML preview of the customized Shadow-DOM widget.
| Name | Required | Description | Default |
|---|---|---|---|
| bot_id | Yes | ||
| test_theme | No | light |
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must carry the full behavioral burden. It does not disclose whether the preview is read-only, whether it persists anything, what permissions are needed, or what kind of side effects occur.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single front-loaded sentence with no waste. It states the tool's core action and output format efficiently.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
An output schema exists, so the description need not explain return values. However, with no annotations and 0% schema description coverage, the description is incomplete: it omits parameter meaning, usage conditions, and behavioral traits needed to invoke the tool confidently.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, and the description does not explain either parameter. It never mentions bot_id, test_theme, or the default value 'light', leaving an agent without semantic guidance for required and optional inputs.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description names a specific verb and resource: 'Generate a standalone live HTML preview of the customized Shadow-DOM widget.' This clearly distinguishes it from broad styling or embed-related siblings, but it does not explicitly name the closest alternatives such as generate_embed_code or customize_widget_styling.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies the tool is used to preview a customized widget, but it gives no explicit guidance on when to use it versus generate_embed_code, analyze_widget_design, or test_chatbot_reply. It also does not state prerequisites or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.