Skip to main content
Glama

Publish artifact

artifact_publish

Publish text as a versioned artifact. A workspace item needs why (workspaceId, or a workspace folder named in folder, homes it there) and takes no visibility, teams or publicAsset (make it readable by anyone afterwards with artifact_share_policy); no expected revision is needed. folder files it: a folder id, or a slug (in workspaceId, else in team, else your personal folders). handoff: true publishes markdown as the workspace's note for whoever comes next. Typed teams lists are authorized before standalone creation. The bounded receipt includes complete immutable content access. Every version is stored in full and counts toward the owner's storage; data that grows by adding records belongs in a table.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
whyNoRequired for workspace items: one sentence on what the person is trying to accomplish, in their terms, not a description of this edit. Every workspace write takes one; sessions and summaries record themselves from it. At most 300 characters.
teamNoWith a folder slug: the team (slug or id) the folder belongs to.
typeYes
aliasNo
teamsNoTeams (slug or id) to share it with once it exists. Standalone only.
titleNo
folderNoThe folder to file it in: a folder id (a workspace folder puts it in that workspace), or a slug: in workspaceId when given, else in team, else one of your personal folders.
contentYes
handoffNoPublish markdown as the workspace's handoff note for whoever comes next (needs a workspace).
audienceNoWorkspace audience: internal (the default for internal members) or shared (external members see it too; the only choice for external editors).
visibilityNoStandalone sharing only; omit with a workspace, including private.
publicAssetNoStore it in public storage with a direct URL (publicUrl). Not private, not in a workspace, not a table.
workspaceIdNoThe workspace to create it in (a workspace folder named in folder implies it). A workspace item needs why and takes no visibility, teams or publicAsset.
creatorContextNoHow it was made: the prompt, tool or run.
inputReferencesNoWhat it was made from: ids or URLs.
parentArtifactIdNoThe artifact this one was derived from.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYes
artifactYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (non-read-only, non-destructive, open-world), the description discloses real behavior: typed teams lists undergo authorization before standalone creation, every version is stored in full and counts against the owner's storage, and the receipt is bounded but grants complete immutable content access. These are cost and auth facts an agent cannot infer from readOnlyHint/destructiveHint.

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?

Purpose is front-loaded and every clause carries a constraint rather than filler. The telegraphic compression ('homes it there', 'folder files it') makes it slower to parse than it needs to be for a 16-parameter tool, but nothing is wasted.

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?

With 16 params, an output schema and annotations already supplied, the description covers the decisions an agent must make: workspace vs. standalone, folder resolution, handoff, storage cost, and the table escape hatch. Return values need not be explained because an output schema exists.

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 75% and the schema already documents most fields, so the baseline would be 3; the description adds cross-field constraints the schema does not express (a workspace item takes no visibility, teams or publicAsset; no expected revision is needed; folder resolution order workspaceId → team → personal). It doesn't clarify alias, parentArtifactId or creatorContext, so it stops short of full coverage.

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 opening sentence gives a precise verb and resource ('Publish text as a versioned artifact') and the body scopes it further into workspace vs. standalone modes. It also explicitly routes a neighboring use case away ('data that grows by adding records belongs in a table'), letting an agent distinguish this from table_append_rows 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 Guidelines4/5

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

It states the branch conditions clearly: workspace items need why and take no visibility/teams/publicAsset; standalone items can use those and are where typed teams lists are authorized. It names alternative paths explicitly (artifact_share_policy for later public readability, tables for growing data). What's missing is any guidance versus artifact_upload, artifact_patch or artifact_update.

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.