Skip to main content
Glama

screenshot_fiji

Read-only

Capture screenshots of the full screen, current image, or results table for verification in Fiji. Supports headless operation with active image or results table modes.

Instructions

Capture pixels for verification: full_screen (primary monitor via Robot), active_image (current ImagePlus), or results_table (render Measure/Results data). Use active_image or results_table when running headless without a display.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
capture_modeNofull_screen: Java Robot on the primary monitor only (needs display). active_image: rasterize the current ImagePlus. results_table: render the ImageJ Results table as a PNG (no desktop; headless-friendly when data exists).full_screen

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNo
capture_modeYesfull_screen: primary-monitor Robot capture; active_image: current ImagePlus; results_table: rendered Results window data.
mime_typeYesMIME type of the encoded image.
formatYesEncoder output format label.
widthYes
heightYes
from_cacheYesTrue if a recent identical capture was reused.
image_base64YesBase64-encoded image bytes for inline display.
Behavior5/5

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

Describes how each mode works (Robot for full_screen, rasterize for active_image, render as PNG for results_table) and notes headless limitations. No contradiction with annotations (readOnlyHint=true).

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: first states purpose and modes, second gives usage guidance. Front-loaded with essential information, no fluff.

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?

Given the tool's simplicity (one enum parameter) and presence of output schema, the description covers all necessary context, including headless usage and what each mode captures.

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 already has high coverage (100%). The description adds headless-friendly context for results_table, which goes beyond the schema, justifying a score above baseline.

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 clearly states the tool captures pixels for verification and lists three distinct capture modes (full_screen, active_image, results_table). It differentiates from sibling tools like compare_screenshots and get_image_info.

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?

Explicitly advises using active_image or results_table when running headless without a display, providing clear context for when to use which mode.

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