Skip to main content
Glama

Save Artifact

save_artifact
DestructiveIdempotent

Save a deliverable to a project or task as a .md or self-contained .html file, up to 256 KiB: each save is a new immutable revision, attached to the owner's log. HTML may use inline JavaScript; previews block fetch requests and external assets. For progress notes, use append_task_log or append_project_log.

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": {
      "request_id": "<request_id>",
      "expected_version": "<expected_version>",
      "owner_type": "<owner_type>",
      "owner_id": "<owner_id>",
      "filename": "<filename>",
      "title": "<title>",
      "content": "<content>",
      "change_summary": "<change_summary>"
    },
    "name": "save_artifact"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesThe title shown in artifact lists.
contentYesThe whole file: Markdown, or self-contained HTML.
filenameYesThe file name people download: .md for Markdown, .html for a self-contained page.
owner_idYesThe owning project's or task's ID, as reads return it.
owner_typeYesWhether a project or a task owns the artifact.
request_idYesA key you choose, such as a UUID. Retry an uncertain write with the same request_id and arguments; Venom applies it once.
artifact_idNoSave a new revision of this artifact; omit to create a new one.
descriptionNoOne line on what the artifact contains. Resend it with every revision, or it is cleared.
change_summaryYesWhat this revision adds or changes, logged with the attachment.
expected_versionYesThe owning task's or project's version (owner_version in reads); a stale one fails instead of overwriting a newer change.

Output Schema

NameRequiredDescriptionDefault
noticesNoVenom reminders to read first.
task_idNoTask ID, if task write.
versionYesNew version for expected_version.
entry_idNoLog entry ID written.
owner_idYesWritten project or task ID.
revisionYesCurrent artifact revision.
owner_typeYesproject or task.
project_idYesProject ID.
artifact_idYesArtifact ID for read_artifact or saves.
mutation_atYesCommit time (Unix seconds).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / expected_version / description
      Previous value: -"The current version of the task or project that owns it (owner_version in reads); a stale version fails instead of overwriting a newer change."New value: +"The owning task's or project's version (owner_version in reads); a stale one fails instead of overwriting a newer change."
    • changedInput schema / properties / owner_id / description
      Previous value: -"The ID of the owning project or task, as reads return it."New value: +"The owning project's or task's ID, as reads return it."
    • changedInput schema / properties / request_id / description
      Previous value: -"An idempotency key you make up for this write, such as a UUID. If you're unsure it went through, retry with the same request_id and arguments: Venom applies it only once."New value: +"A key you choose, such as a UUID. Retry an uncertain write with the same request_id and arguments; Venom applies it once."
  2. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Beyond the annotations it discloses meaningful behavior: each save is an immutable revision attached to the owner's log, HTML must be self-contained, and previews block fetch requests and external assets. These are non-obvious constraints an agent would otherwise only discover by failing. It stops short of stating permission requirements or what the returned revision looks like, though an 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the core action, then constraints, then the alternative-tool routing. No redundant phrasing and nothing that merely echoes the structured fields.

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 ten-parameter mutation tool, the description covers format, size limit, immutability, sandbox restrictions, and tool selection, while the 100%-covered schema handles the individual parameters and an output schema handles return values. 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 would be 3; the description earns the extra point by adding the 256 KiB content ceiling and clarifying that a save is an append-only revision, which frames the expected_version and artifact_id parameters. It does not restate the idempotency contract of request_id, which the schema already covers well.

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 and resource ('Save a deliverable to a project or task') plus the two accepted formats and a hard 256 KiB cap, so the agent knows exactly what the tool produces. It also implicitly separates itself from the log-append siblings by naming them as the wrong tool for progress notes.

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?

The final sentence is an explicit when-not rule with named alternatives: 'For progress notes, use append_task_log or append_project_log.' It also signals that every save creates a revision, which tells the agent the tool is for deliverables rather than incremental note-taking.

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.