Skip to main content
Glama

save_result

Persists an AI prompt result as a structured vault entry with content, tags, model, and project metadata so outputs can be organized and retrieved later.

Instructions

Save an AI prompt result as a vault entry

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_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoResult name (required)
tagsNo
typeNoEntry type override
modelNoModel identifier
contentNoResult content (required)
categoryNoSummary/category
project_idNoProject ID or slug
source_prompt_idNoSource prompt entry ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.9.0
    • changedInput schema / properties / project_id / description
      Previous value: -"Project ID or name"New value: +"Project ID or slug"
  2. 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 supplied, so the description carries the full disclosure burden, and it discloses almost nothing: no indication of whether a save creates a new entry or overwrites an existing one, what identity/ID semantics apply, whether authentication or project scoping is required, or what the caller receives. Only the source (an AI prompt result) and destination (a vault entry) are stated.

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?

A single front-loaded sentence with no filler or repetition. It is efficient rather than padded, though the brevity leaves the guidance gaps noted elsewhere.

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 eight parameters, zero annotation coverage, and no output schema, one sentence is not enough: the agent cannot tell what the call produces, whether it is idempotent, or how required-ness is enforced despite the schema marking nothing as required. The definition is under-specified relative to the tool's complexity.

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 88%, so the parameters are already largely self-documenting and a baseline of 3 applies. The description adds no parameter-level meaning beyond the schema — it never explains how model, project_id, source_prompt_id, or the type override interact with the saved result.

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 pairs a specific verb ("Save") with a specific resource and target location ("an AI prompt result as a vault entry"), so the action is unambiguous. It stops short of distinguishing this tool from the many similarly named siblings such as save_entry, save_artifact, or vault_mem_save, leaving the agent to guess which save primitive is correct.

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 statement of when to use this tool, when not to, or which sibling to prefer for adjacent cases (artifacts, handoffs, series, memory). The agent must infer selection from the name alone, which the surrounding catalog makes risky given a dozen overlapping save tools.

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