Skip to main content
Glama

save_model

Save a specified model to its current file. If the model was never saved, fails with a clear error and prompts use of save_model_as first.

Instructions

Save a model to its current file. Fails with a clear error when the model was never saved (use save_model_as first).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
model_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations present, the description carries the behavioral burden, and it does disclose an important behavior beyond the schema: the operation targets the model's existing current file and fails with a clear error when no save has happened. It does not cover permissions or id-source details, but for a simple save action the key failure mode and fallback are disclosed.

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 compact sentences with no filler: the main action comes first, the failure condition follows, and the sibling pointer is folded into the same sentence. Every word earns its place.

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 tool with one parameter and no output schema, the description covers the main operational knowledge an agent needs: what gets saved, where it gets saved, what happens in the failure case, and which sibling to use instead. It could add a note about requiring an open model, but that gap is minor given the clarity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema only provides a bare model_id string, so the description adds meaning by tying model_id to a model that already has a current file and distinguishing the first-save case. It does not explicitly say model_id must come from an open model, but for a single simple parameter this adds genuine context beyond the schema.

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 action and resource — 'Save a model to its current file' — and immediately distinguishes itself from the save_model_as sibling by noting the never-saved case. An agent can tell this tool from save_model_as without opening the sibling's schema.

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

Usage Guidelines5/5

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

Gives an explicit when-not-to-use rule: if the model was never saved, use save_model_as first. This clearly routes the agent to the correct alternative instead of leaving the decision implicit.

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