Skip to main content
Glama

save_artifact

Store long AI outputs or file-backed artifacts in the vault with titles, tags, project context, and summaries for later retrieval and reuse.

Instructions

Save a long AI output or file-backed artifact

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "save_artifact"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo
typeNoArtifact type: ai_output|pdf_analysis|spec|report|session_output|markdown|json|txt
titleNoArtifact title (required)
contentNoArtifact content (optional if file_path provided)
projectNoProject name or ID
summaryNoShort summary
file_pathNoExisting file inside the vault objects directory (optional if content provided)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.9.0
    • changedInput schema / properties / file_path / description
      Previous value: -"Path to file (optional if content provided)"New value: +"Existing file inside the vault objects directory (optional if content provided)"
  2. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states that the tool saves something, but says nothing about overwrite behavior, permissions, what happens when both content and file_path are supplied, or what the save operation returns.

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?

The definition is a single front-loaded sentence with no filler. It is efficient, though arguably under-sized for a 7-parameter save tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with seven optional parameters, no annotations, and no output schema, the description is too thin. It does not explain file_path versus content precedence, artifact storage behavior, or what an agent should expect after saving.

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 description coverage is 86%, so the input schema already documents nearly all parameters and their constraints. The description adds only a high-level hint about long AI outputs and file-backed artifacts, without adding parameter-level meaning beyond the schema.

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?

The description uses a specific verb ('Save') and a specific resource ('long AI output or file-backed artifact'), which lets an agent distinguish it from generic entry or result-saving siblings. It does not explicitly name or differentiate sibling tools, so it falls short of the top score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The phrase 'long AI output or file-backed artifact' implies the intended use case, so there is some implicit guidance. However, it gives no explicit when-to-use rules, no exclusions, and no routing guidance against siblings such as save_entry, save_result, or save_handoff.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.