Skip to main content
Glama

Get Widget Embed Code

get_widget_embed_code
Read-only

Get the one-line script tag to add the AI Website Summarizer prompt widget to any website. Supports optional color theme, widget position, and custom prompt prefix.

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_embed_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
themeNoWidget color theme: dark (default) or light
positionNoWidget position on page: bottom-right (default), bottom-left, top-right, top-left

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the bar is lower. The description adds real value beyond them by disclosing the return shape — a single-line script tag — which matters because no output schema exists.

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?

Two tight sentences with the deliverable front-loaded and no filler. The only defect is that the second sentence spends its space on an option that isn't real rather than reinforcing what is summonable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-optional-param read tool with no output schema, the description adequately explains what comes back. It falls short by claiming a parameter that doesn't exist and by not saying whether the embed code requires a pre-configured widget or account.

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

Parameters2/5

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

Schema coverage is 100%, so theme and position are already fully documented with enums and defaults, giving a baseline of 3. However, the description advertises a 'custom prompt prefix' option that does not exist in the input schema, which actively misleads the agent about available parameters and drops it below baseline.

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 verb and resource — 'Get the one-line script tag' for the AI Website Summarizer widget — and names the concrete artifact returned. It is clearer than a generic 'get embed code', though it never explicitly distinguishes itself from siblings like get_ai_prompt_links or get_integration_docs.

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

Usage Guidelines2/5

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

The description offers no when-to-use or when-not-to-use guidance and does not point to any alternative tool for adjacent needs. 'Add the widget to any website' is a purpose statement, not a routing rule, so the agent must infer the choice against siblings on its own.

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