Skip to main content
Glama

save_model_as

Save a model to a new file path; the .pdm, .cdm, or .ldm extension is appended automatically. Requires the target file to not exist yet.

Instructions

Save a model to a new file path (.pdm/.cdm/.ldm extension is appended automatically). The target file must not exist yet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
model_idYes

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?

No annotations are provided, so the description carries the full burden. It usefully discloses auto-extension appending and the no-overwrite constraint, but omits what model_id refers to (e.g., an already-open model), failure behavior when the file exists, and whether this copies or renames the original.

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 sentences with zero filler: core action first, behavioral constraint second. Every clause earns its place.

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 2-required-param mutation tool with no annotations and no output schema, the description covers the essential save-as behavior and its key constraint. However, it leaves model_id semantics, failure behavior, and post-save state (is the model still open, and where?) unaddressed.

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?

With 0% schema coverage, the description must compensate for the schema's silence. It clarifies path semantics (a file path with auto-appended extension) but leaves model_id undefined — the agent must infer it means a model currently open in the session.

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?

'Save a model to a new file path' names a specific verb, resource, and target. The extension detail adds precision, and the word 'new' differentiates from the sibling save_model, though it never names that sibling explicitly.

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 'target file must not exist yet' precondition implies when the tool can be invoked, but there is no explicit guidance on when to choose this over save_model, open_model, or other model-related siblings. Context is implied, not stated.

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