Skip to main content
Glama

save_image

Save the frontmost image to a specified file path using ImageJ's saveAs, with automatic parent directory creation. Supports formats like TIFF, PNG, and JPEG.

Instructions

Save the currently active image to disk using ImageJ's saveAs. Requires an image window to be frontmost in Fiji.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesDestination path; parent directories are created if missing.
format_hintNoImageJ saveAs format hint (tiff, png, jpeg, etc.).tiff

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNoImage written to disk.
pathYesOutput file path.
titleYesTitle of the image that was saved.
formatYesFormat hint passed to ImageJ saveAs (e.g. tiff, png).
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, describing safety profile. Description adds prerequisite about frontmost window but does not detail other behaviors (e.g., overwrite behavior, file creation). Within annotations, baseline of 3 is appropriate.

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 concise sentences with key action and prerequisite. No unnecessary words, front-loaded with the main purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple save tool with output schema, description provides purpose and prerequisite. No missing critical information given the tool's complexity.

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?

Input schema covers 100% of parameters with descriptions and examples. Description does not add significant meaning beyond schema, so baseline of 3 applies.

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?

Description clearly states 'save the currently active image' using ImageJ's saveAs, specifying the resource and action. It distinguishes from sibling tools like open_image but does not explicitly differentiate from all possible related tools.

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?

Explicitly states a key prerequisite: 'Requires an image window to be frontmost in Fiji', guiding when to use. Does not provide when-not-to-use or alternative tools, but the context is clear.

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/surajinacademia/Fiji_imageJ_mcp'

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