Skip to main content
Glama

Save to My Files

save_to_files

Save a built version — or the open project — to the user's My Files. A new file unless told to write over one.

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

Input Schema

NameRequiredDescriptionDefault
fileNoWrite over this file instead of making a new one — only a file this session saved, or the open project's own (what Save does). Any other is the user's to decide.
nameNoThe project's name in My Files; the spec's (or the open project's) by default.
openNoSave the open project as it is instead of a build.
buildNoWhich successful build of this session; the latest by default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations, the description discloses important default behavior: a new file is created unless the user explicitly requests overwriting one. This adds useful context about mutation and overwrite semantics, consistent with the non-destructive and non-idempotent annotations.

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?

The description is two tight sentences that front-load the core action and then state the important default overwrite behavior. No wording is wasted.

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 save tool with rich parameter descriptions and annotations covering safety, the description covers the main behavioral choice between saving a build and saving the open project. It does not describe the return result, but no output schema exists and the essential call behavior is clear.

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 100%, so parameter meanings are already well documented. The description reinforces the build-versus-open-project choice and the default new-file behavior, but adds little beyond the structured 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 states a specific verb and resource: save a built version or the open project to My Files. It is clear what the tool does, though it does not explicitly distinguish itself from sibling file or project tools.

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?

Usage is implied by the save operation and the option to save a build or the open project, but there is no explicit when-to-use or when-not-to-use guidance relative to alternatives such as export or project tools.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources