Skip to main content
Glama

abba_window_view

Idempotent

Configures what an ABBA window displays: switch review/positioning mode, set current slice, choose visible channels, and frame an atlas region or slice set.

Instructions

Sets what an ABBA window shows the user: its mode, its current slice, the channels shown, and what is framed. Review mode: the atlas section of the current slice, whole or a region of it. Positioning mode: the current slice and its neighbours with the atlas above, or all the slices. Window mode only. Changes the view, not the session; not recorded in fiji_module_script. A session started without a window gets one. Then look with abba_window_picture. The window has no region names: to name what it shows, use ABBA - Snapshot with labels on the same region_mm.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNo'positioning' or 'review' (the current slice alone over the atlas); empty keeps it
region_mmNoregion to zoom on, 'x,y,width,height' in mm, as ABBA - Snapshot's region_mm (x, y: top left, as read on a snapshot's rulers); 'all' frames all the slices in positioning mode; empty: see above
slice_indexNo0-based index of the slice to make current, as in ABBA - Get State; empty keeps the current slice
window_titleNothe window title, or its start; default: the first ABBA window
atlas_channelsNoatlas channels to show, in the order of 'atlas_channels' in ABBA - Get State, e.g. '0,2' (Allen: Nissl and borders), 'none'; empty keeps them
slice_channelsNoslice channels to show on every slice, e.g. '0' for the first alone, '*' for all, 'none'; empty keeps them

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the description's real value is the added context: the change is view-only and not persisted in the session/script, and a session started without a window will have one created. That side effect is genuinely useful information beyond the annotations, though nothing is said about failures or invalid titles.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in one sentence and the remaining sentences are short and information-dense with no filler. The fragment "Window mode only." is terse to the point of being ambiguous, which is the main structural weakness.

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?

With no output schema, the description compensates by telling the agent how the result is observed (abba_window_picture) and how to obtain labels for the framed region. Six optional parameters are fully schema-documented, so nothing critical is missing, though behavior on matching no window or multiple windows is left to the schema defaults.

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 the baseline is 3, but the description genuinely adds semantics beyond the schema's per-parameter strings: it explains what "review" and "positioning" actually render (atlas section of the current slice vs. current slice plus neighbours). It also clarifies that the window has no region names, which frames how region_mm should be interpreted.

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 first sentence states a specific verb (sets) and resource (what an ABBA window shows), then enumerates the four aspects it controls: mode, current slice, channels, and framed region. It also distinguishes itself from the sibling used for observation ("Then look with abba_window_picture"), so an agent can place it without reading the schema.

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?

It states a scope restriction ("Window mode only"), confirms it does not mutate the session or appear in fiji_module_script, and routes the agent to ABBA - Snapshot with labels when region names are needed. The when-to-use itself is only implied (change the view, then inspect with abba_window_picture) rather than stated as an explicit instruction, and "window mode" is used as unexplained jargon.

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