Skip to main content
Glama
maflot

Allen Brain API MCP Server

by maflot

download_section_image

Download a 2D section image as a JPEG with configurable downsampling, quality, and region extraction.

Instructions

Download a 2D section image as a JPEG file to a local path. Supports downsampling, quality, and partial region extraction.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sectionImageIdYesSection Image ID (obtain via get_section_images).
filePathNoLocal path to save the JPEG (default: section_image_{id}.jpg).
downsampleNoNumber of times to downsample (1 = half resolution, 2 = quarter, etc.).
qualityNoJPEG quality, 0–100 (default is max quality).
expressionNoIf true, request the expression mask overlay.
topNoTop row of region of interest (full-resolution pixels).
leftNoLeft column of region of interest (full-resolution pixels).
widthNoWidth of output region (tier-resolution pixels).
heightNoHeight of output region (tier-resolution pixels).
Behavior4/5

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

No annotations provided, but the description discloses the main behavior: downloading a JPEG to a local path with support for downsampling, quality, and partial extraction. It does not detail file overwrite behavior or network usage, but the action is straightforward.

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 sentences, concise and front-loaded with the primary action. Every sentence adds value without redundancy.

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 9 parameters and no output schema, the description covers the main purpose and customization options. It could mention that the file is saved to filePath (default provided in schema) but is adequate for an agent to understand the tool's role among diverse siblings.

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?

Schemas provide 100% coverage of parameter descriptions. The description adds high-level context by explaining the purpose of downsample, quality, and region parameters (top, left, width, height) beyond the schema's technical descriptions.

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?

Description clearly states the tool downloads a 2D section image as JPEG to a local path, listing key features (downsampling, quality, partial region). It distinguishes from siblings like download_atlas_image by specifying the image type and format.

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?

Description implies usage for downloading section images with optional features but does not provide explicit guidance on when to use this tool versus alternatives (e.g., download_atlas_image). No 'when not to use' or exclusion criteria.

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/maflot/allenbrain-mcp'

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