Skip to main content
Glama

model_close

Close a model window in Creo and optionally erase the model from the session; unsaved changes are lost when erasing from memory.

Instructions

Close a model's window. With erase_from_memory=true also erase it from the session (unsaved changes are lost).

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

Input Schema

NameRequiredDescriptionDefault
fileNo
erase_from_memoryNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/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 full burden and does meaningful work: it discloses that erase_from_memory=true destroys unsaved changes and removes the model from the session, which is the key risk an agent needs. It omits whether the default close path can fail or prompt on unsaved changes, and whether an unknown/not-open model produces an error.

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 short sentences, front-loaded with the primary action and followed by the conditional behavior. The parenthetical warning is placed exactly where it matters and nothing is redundant.

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?

An output schema exists, so return values need not be described, and the destructive semantics of the main flag are covered. However, for a two-parameter mutation tool with zero schema description coverage, leaving the `file` parameter undefined and the default-close failure behavior unstated is a real gap.

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 0%, so the description must compensate and it only partly does: erase_from_memory is explained well, including its destructive side effect. The `file` parameter (default null) is never mentioned, so the agent must guess that null means the currently active model.

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?

"Close a model's window" states a specific verb and resource, and the second clause clarifies the destructive scope implied by erase_from_memory. It is clearly distinct from siblings like model_save or model_activate, but does not explicitly name or contrast any of them.

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 verb, and the description implicitly guides the agent to pick erase_from_memory=true when a full session removal is intended. There is no explicit when-not guidance (e.g., whether to call model_save first, or what happens to unsaved changes when erase_from_memory=false) and no named alternatives.

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