Skip to main content
Glama

save_artifact

Persist long AI outputs or file-backed artifacts with title, type, tags, project, and summary so important results stay organized and retrievable.

Instructions

Save a long AI output or file-backed 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_pathNoPath to file (optional if content provided)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full behavioral burden. It says nothing about overwrite behavior, permissions, how content vs file_path is resolved, validation failures, or what happens to an existing artifact with the same title.

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 description is a single front-loaded sentence with no wasted wording. However, it is arguably too terse for a seven-parameter save tool, so it is concise but under-informative.

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 mutation tool with seven parameters, no annotations, and no output schema, the description is not complete enough. It omits when to use it, how content and file_path relate, what artifact types are for, and what the save operation returns or overwrites.

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 high at 86%, so the schema already documents most parameters including type, title, content, file_path, project, and summary. The description adds only the general notion of a long AI output or file-backed artifact and does not clarify parameter interactions beyond what the schema provides.

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 gives a clear verb and resource ('Save a ... artifact') and narrows the scope to 'long AI output or file-backed artifact.' It does not differentiate from close siblings such as save_entry, save_result, save_handoff, or vault_mem_save, so it falls short of a 5.

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

Usage Guidelines2/5

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

There is no explicit guidance on when to use this tool versus save_entry, save_result, vault_mem_save, or save_handoff. The phrase 'long AI output or file-backed artifact' implies a use case but does not state exclusions or selection criteria.

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