Skip to main content
Glama

Design Publish

design_publish

Publish a design — a banner set, a page layout (landing page, pricing, dashboard, sign-up, homepage), an e-mail, a component or a feature in HTML, CSS and JS — and get its link (https://emdly.com/designs/) to give the owner. Pass design (hash or URL) to publish a new version of an existing one; the link stays the same and earlier versions stay viewable. The page runs in a sandbox: scripts work, but it cannot reach emdly, cookies or the owner's data. Up to 2 MB; anyone with the link can open it, so never put real customer data or secrets in it. Publish only what the owner asked for or agreed to — otherwise offer it first. Follow the emdly-designs skill.

Input Schema

NameRequiredDescriptionDefault
jsNoOptional JavaScript, added at the end of the body.
cssNoOptional CSS, added to the page.
htmlYesThe HTML: a full document (<!doctype html>…) or a body fragment. External CSS/JS/fonts over https work.
noteNoWhat changed in this version, one sentence.
titleNoA short name, e.g. "Pricing page — new layout". Required for a new design.
designNoHash or URL of a design to publish a new version of.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses the sandbox execution model (scripts run but cannot reach emdly, cookies, or owner data), a 2 MB size cap, public link visibility ('anyone with the link can open it'), and the data-safety implication (never put customer data or secrets in it). It also states that earlier versions remain viewable.

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?

Front-loaded with what gets produced and the returned link, then constraints. The parenthetical enumerations of design types and page layouts are long but informative; nearly every clause carries a distinct constraint (sandbox, size, visibility, versioning).

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?

For a mutation tool with no annotations and no output schema, the description supplies what an agent needs: the return value (a URL of a known shape), versioning behavior, sandbox isolation, size limit, and confidentiality warning. Nothing material is left unspecified.

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 per-parameter documentation already exists and the baseline is 3. The description adds real meaning beyond that by explaining the semantics of `design` (hash or URL; new version, stable link, prior versions preserved) rather than restating the schema.

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?

States a specific verb (publish) and resource (design), enumerates what a design can be (banner set, page layout, e-mail, component, feature), and names the returned artifact (https://emdly.com/designs/<hash>). This clearly separates it from sibling read tools design_get and design_list.

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?

Explicitly describes the two modes: omit `design` to publish new, pass `design` to publish a new version of an existing one, including the consequence that the link stays stable. It also gives a policy constraint ('publish only what the owner asked for or agreed to — otherwise offer it first'). It does not name sibling alternatives, but the create-vs-update routing is unambiguous.

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