Skip to main content
Glama

kopern_connect_widget

Idempotent

Generate embed code for a chat widget to add to your website, allowing visitors to interact with your AI agent.

Instructions

Enable the embeddable chat widget for an agent. Returns the embed code for your website.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYesThe agent ID or name
positionNoWidget position. Default: bottom-right
allowed_originsNoAllowed website domains (CORS). Empty = all origins.
welcome_messageNoGreeting message shown in widget

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.5

TDQS

A4/5.0
Behavior3/5

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

Annotations include idempotentHint=true and readOnlyHint=false. The description adds the return of embed code, which is useful, but does not disclose side effects or prerequisites. Given annotations cover the safety profile, this is adequate but not rich.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences with no filler. The first sentence states the action, the second the return value. Every word earns 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?

Tool complexity is low with 4 parameters and no output schema. The description covers the main functionality but doesn't elaborate on optional parameter effects or return format details. Given output schema absence, slightly more detail could help, but it's sufficient for the scope.

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 description coverage is 100%, and all parameters have descriptions. The tool description adds no extra parameter detail, so it relies on the schema. Baseline 3 is appropriate.

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?

The description clearly states the action ('Enable the embeddable chat widget') and the specific resource ('for an agent'). It also mentions the output ('Returns the <script> embed code'), making it distinct from sibling tools like Slack or email connectors.

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 description implies usage for website embedding by mentioning 'your website'. While it doesn't explicitly exclude other connect tools, the widget-specific naming and website context provide clear usage guidance relative to siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.