Skip to main content
Glama

Set Artifact Archived

set_artifact_archived
DestructiveIdempotent

Archive an artifact to hide it from default lists, or unarchive it. Its revisions and log links are kept and it stays readable. Unarchive it before saving a new revision. Returns the owner's new version.

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>",
      "artifact_id": "<artifact_id>",
      "archived": "<archived>",
      "change_summary": "<change_summary>"
    },
    "name": "set_artifact_archived"
  }
}

Input Schema

NameRequiredDescriptionDefault
archivedYestrue hides it from default lists; false restores it.
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_idYesThe artifact's ID, from save_artifact, list_artifacts, search or an attachment.
change_summaryYesWhy you are archiving or restoring it, recorded with the change.
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 / artifact_id / description
      Previous value: -"The artifact's ID, as save_artifact, list_artifacts or an attachment gives it."New value: +"The artifact's ID, from save_artifact, list_artifacts, search or an attachment."
    • 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 / 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.1/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, so the description's job is to clarify what 'destructive' actually means here, and it does: revisions and log links are kept and the artifact stays readable. It also notes the return value (the owner's new version), which matters for follow-up writes.

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?

Four short sentences, front-loaded with the action and its effect, then preservation guarantees, then the prerequisite for the next write. There is no filler or repetition of the tool name.

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?

Covers action, side effects, reversibility, a workflow prerequisite, and the return value, while an output schema already handles the response shape. Nothing an agent needs in order to call this safely is absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, and the schema already explains every parameter including the archived boolean, request_id retry semantics, and expected_version concurrency. The description adds no parameter-level meaning beyond that, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (archive/unarchive an artifact) and its visible effect (hidden from default lists). The reader immediately understands this is a visibility toggle, not a delete, and can distinguish it from read_artifact or save_artifact even though no sibling is named.

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?

Gives a concrete precondition for the reverse operation: 'Unarchive it before saving a new revision.' That is actionable context an agent would otherwise only discover by failure. It stops short of spelling out when an agent should prefer archiving over deleting or leaving an artifact alone, so not a 5.

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.