Skip to main content
Glama

Fugte

Save to Fugte

save_widget

Save a widget (HTML, CSS and JavaScript) to Fugte and get a link for the user. Use it when the user wants the widget on a site built with a no-code builder such as Canva, Wix, Squarespace, Shopify, Notion, Google Sites, Carrd or WordPress, or wants to keep changing it later. The link opens the widget in the Fugte editor. The user signs in (free) and publishes it, which gives them the embed link for their site. Publishing is free. Send one complete, working, self-contained widget: no build step, and no import, export or require. Libraries, images and fonts can load from https links. The link works for 7 days.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "html": "<html>"
    },
    "name": "save_widget"
  }
}

Input Schema

NameRequiredDescriptionDefault
jsNoPlain browser JavaScript that is not already in a <script> tag in the HTML. No modules.
cssNoCSS that is not already in a <style> tag in the HTML. Leave it out otherwise.
htmlYesThe widget's HTML: a full page or a fragment. It may already hold its <style> and <script> tags.
titleNoA short name for the widget, such as "Music player" or "RSVP form".

Output Schema

NameRequiredDescriptionDefault
urlYesThe link to give the user.
expiresAtYesWhen the link stops working (ISO 8601).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the annotations it discloses the full downstream flow: the link opens the Fugte editor, the user signs in free, publishes free, and the link lives 7 days. It also states the content constraints (self-contained, no build step, no import/export/require) and that https libraries/images/fonts are allowed. The openWorldHint=false annotation is not contradicted, since external loading happens in the user's browser at runtime rather than in the tool call.

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?

The core action and return value are front-loaded, followed by usage condition and then constraints, which is a sound order. The builder list and the publishing/sign-in explanation are slightly verbose, but each sentence still carries an actionable fact about the output link's lifecycle.

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

Completeness5/5

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

An output schema exists, so return-shape explanation is unnecessary, and the description still tells the agent what the returned link means and how long it lasts. For a four-parameter create tool with annotations, nothing an agent needs to call it correctly is missing.

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%, so the baseline is 3, but the description adds real constraint semantics: the payload must be one complete working self-contained widget with no build step or module imports. That meaning is not in the schema and directly shapes how the agent should populate `html`, `css` and `js`.

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?

'Save a widget (HTML, CSS and JavaScript) to Fugte and get a link for the user' names a specific verb, the resource and its three content types, and the tool's return product. An agent immediately knows this persists generated HTML/CSS/JS and yields a shareable URL.

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

Usage Guidelines5/5

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

It gives an explicit triggering condition: use when the user wants the widget on a no-code-builder site (with a concrete list of builders) or wants to keep editing it later. There are no sibling tools, so the absence of named alternatives is not a gap.

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.