Skip to main content
Glama

save_project

DestructiveIdempotent

Saves project names, comments, and types to a SHA-256-keyed .json file under the output root for later restoration with load_project; set overwrite to replace an existing file.

Instructions

Save the names, comments and types to a .json project of at most 64 MiB under the output root, keyed by SHA-256. Restore with load_project; overwrite=true replaces a file there.

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": {
      "path": "<path>"
    },
    "name": "save_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesOutput `.json` path, relative to the output root or absolute under it.
overwriteNoReplace an existing file (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.2
    • changedInput schema / properties / path / description
      Previous value: -"Output `.json` path, relative to the output root or absolute under\nit."New value: +"Output `.json` path, relative to the output root or absolute under it."
  2. First observedv0.2.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and non-read-only, and the description adds useful context beyond them: the 64 MiB size cap, the output-root path restriction, and precisely what overwrite=true destroys (a file at that path). It does not say what happens when the size cap is exceeded or what errors surface.

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?

Two tight sentences, front-loaded with the action and its limits, then the related restore operation and overwrite semantics. No redundant or filler wording.

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

Completeness4/5

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

For a two-parameter tool with full schema coverage and annotations carrying the safety profile, the description covers size limits, path scoping, and overwrite impact. Only failure behavior (e.g., exceeding 64 MiB, invalid path) is left unstated, which is a minor gap given no output schema exists.

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%, so both parameters are already documented in the schema, including the 'relative to the output root or absolute under it' constraint. The description restates the path constraint and the overwrite replacement behavior but adds no format or edge-case meaning beyond that; baseline 3 applies.

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 the names, comments and types to a .json project'), plus scope ('under the output root', 'keyed by SHA-256'). An agent can distinguish it from load_project and the set_* siblings without opening the schema.

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?

Names the counterpart operation ('Restore with load_project') and explains the overwrite condition, giving clear context for round-tripping project state. It stops short of explicit when-to-use/when-not-to-use guidance such as when to prefer a fresh file over overwrite=true.

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