Skip to main content
Glama
idfkit

idfkit-mcp

Official
by idfkit

save_model

Idempotent

Save an EnergyPlus model to disk in IDF or epJSON format with customizable output path and overwrite control.

Instructions

Write model to disk as IDF or epJSON.

When file_path is omitted the model is re-saved to its original load path. An explicit file_path must resolve within an allowed output directory (IDFKIT_MCP_OUTPUT_DIRS, defaults to CWD) and will not overwrite an existing file unless overwrite is True.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathNoOutput path (default: original load path).
overwriteNoOverwrite existing output.
output_formatNoOutput format.idf

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatYes
statusYes
file_pathYes
Behavior4/5

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

The description adds behavioral context beyond annotations: it explains the default path behavior, directory restrictions, and overwrite semantics. Annotations already indicate idempotentHint=true and destructiveHint=false, which align with the description. No contradictions.

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 very concise with only two sentences. The key action is front-loaded ('Write model to disk as IDF or epJSON'), and all necessary details are included without redundancy. Every sentence serves a clear purpose.

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?

Given the tool's complexity (3 parameters, 0 required), the description covers the main behavioral aspects. There is an output schema (not shown), so return values are likely documented there. The description could mention error conditions or confirmation messages, but overall it is adequately complete.

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?

Schema coverage is 100%, so baseline is 3. The description adds significant value by explaining the default for file_path (original load path), the allowed directory constraint, and the overwrite condition. For output_format, it just lists the options, but the overall parameter semantics are enhanced.

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?

The description uses a specific verb 'Write' and identifies the resource 'model to disk as IDF or epJSON'. It clearly distinguishes saving from other operations like loading or migrating, and mentions the two output formats, making the purpose unambiguous.

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

Usage Guidelines4/5

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

The description provides clear when-to-use guidance: it explains the behavior when file_path is omitted (re-save to original path), the directory constraint (must be within IDFKIT_MCP_OUTPUT_DIRS), and the overwrite condition. It does not explicitly contrast with siblings, but the context is sufficient for correct usage.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/idfkit/idfkit-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server