Skip to main content
Glama

myartefacts

Update Artifact

update_artifact

Publish a new version of an artifact you already published, keeping its slug and URL. Without content or content_base64, it only changes what you pass (title, project, summary, prompt, share) and keeps the current version: use that to move an artifact into another project. Fails if no artifact has that slug; use publish_artifact for new work.

Input Schema

NameRequiredDescriptionDefault
kindNoOverride the detected kind, e.g. "Deck" or "App" for an HTML file.
slugYesSlug of the artifact to update.
shareNoTurn on the public share link, for an artifact you are about to send to someone. Anyone with the link can view it.
titleNoShort human title. Defaults to the HTML <title> or first Markdown heading.
promptNoThe request that produced this artifact.
contentNoThe new file contents, for text files. Omit to change only the details.
projectNoProject path to file it under, e.g. "RentOS" or "RentOS/Backlinks" (up to 3 levels). Call list_projects first and use the most specific existing project that fits; start a subproject of an existing one before a new top-level project. Matching ignores case and punctuation.
summaryNoOne or two sentences on what this is.
filenameNoFile name with extension, needed with new content. The extension decides how it renders.
content_base64NoBase64-encoded file contents, for binary files (PNG, JPEG, PDF).
project_descriptionNoOne sentence on what belongs in the project, used when this starts a new one (or it has no description yet).

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?

Only a title annotation exists, so the description carries the burden and does well: it discloses version semantics (new version, same slug/URL), the metadata-only mode, and the not-found failure. It stops short of saying what is returned (new version identifier, URL) or whether the new version goes live immediately.

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?

Three sentences, zero filler, and the primary action is front-loaded before the conditional mode and the sibling alternative. The parenthetical parameter list is compact and functional rather than padding.

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?

With 11 parameters, no output schema, and no annotations, the description covers the mutation model, failure mode, and look-alike tool well. It leaves return shape and post-publish visibility unspecified, which matters for a tool whose output is a shareable link, but nothing needed to invoke 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 baseline is 3; the description earns a bump by describing cross-parameter behavior the schema cannot — the content/content_base64 presence toggling between 'new version' and 'details only' mode, and the grouping of metadata fields (title, project, summary, prompt, share) that survive that toggle.

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+resource ('Publish a new version of an artifact') and the key invariant (slug and URL preserved), which is exactly what distinguishes it from publish_artifact. An agent can tell it apart from its siblings without opening any schema.

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?

Gives explicit routing: omit content/content_base64 to only change metadata (with the concrete use case of moving an artifact between projects), and 'use publish_artifact for new work' for the alternative. It also names the failure condition (no artifact with that slug), so the agent knows when not to call it.

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