Skip to main content
Glama

Save project

snipaya_save_project
Destructive

Saves a tab as a .snipaya project file. Provide an absolute path for an unsaved tab; omit it to save to the tab’s existing file.

Instructions

Save the tab as a .snipaya project. Without path, saves to the tab’s existing file; a tab that was never saved needs an absolute path.

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": "snipaya_save_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNo
tabIdNoTarget tab id. Defaults to the active tab.
overwriteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so safety is signaled structurally. The description adds the default-save-target behavior, but it does not explain overwrite semantics or what happens to an existing file when saving without a path, which is central for a destructive write.

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 with zero filler, and the default-behavior rule is front-loaded before the exception about never-saved tabs.

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

Completeness3/5

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

For a destructive save tool with no output schema and one undocumented parameter, the description covers the common path but leaves overwrite behavior and the return/result unaddressed. Adequate but with a real gap given destructiveHint=true.

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 only 33%; only tabId is documented in the schema. The description compensates for 'path' by explaining absolute-path requirement and default resolution, but 'overwrite' is left completely unexplained in both schema and description.

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 ('Save the tab as a .snipaya project'), which is clearly distinguishable from the export siblings. It stops short of explicitly contrasting with snipaya_export/snipaya_export_to, but the concept is unambiguous.

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 description gives useful default behavior ('Without path, saves to the tab's existing file; a tab that was never saved needs an absolute path'), which implies when a path is required. However, it never says when to choose this over export/export_to, nor any exclusions.

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