Skip to main content
Glama

pixoo_push_image

pixoo_push_image
Idempotent

Load an image from a local path or HTTPS URL, resize it to fit the Pixoo LED grid with selectable fit and kernel modes, and push it to the display. Returns the resized image for verification.

Instructions

Load an image (absolute local path or https URL), resize it to fit the LED grid, and optionally push it to the display. Returns the downsampled result as an image content block so you see exactly what the display received. Nearest-neighbor kernel preserves pixel art; use lanczos3 or mitchell for photos.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYesAbsolute local file path or https (not http) URL of the image to display.
fitNoResize fit mode: contain (letterbox), cover (crop to fill), fill (stretch).contain
kernelNoResize kernel: nearest for pixel art, lanczos3 for photos, mitchell for a balance.nearest
pushNoPush the resized image to the device (default: true).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pushedYesTrue when the device acknowledged the push.
previewDataNoBase64-encoded PNG preview of the downsampled 64×64 result (8× upscaled, 512px).
previewMimeTypeNoMIME type of the preview image.
deviceStateNoDevice state after the push. Absent when push: false.
outputFilesNoAbsolute paths to saved PNG preview files. Present only when PIXOO_OUTPUT_DIR is configured.
noticeNoWarning or informational message.
Behavior4/5

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

Description reveals non-destructive behavior (push is optional), idempotency (same image push yields same result), and open-world nature (loads from local or URL). It also details the return value showing the exact downsampled result, adding beyond annotations.

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?

Three sentences succinctly cover purpose, return behavior, and kernel guidance. Front-loaded with essential information, no redundant content.

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?

Description explains return value and kernel options, but does not mention prerequisites like device discovery or error conditions. Given tool simplicity and existence of sibling tools for discovery, this is a minor gap.

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?

Schema already provides 100% coverage of parameter descriptions. The description adds minimal extra meaning beyond reiterating source format and kernel choices; baseline 3 is appropriate.

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 loads, resizes, and optionally pushes an image to the LED grid, returning a preview. It distinguishes itself from siblings like pixoo_compose_scene by focusing on direct image push.

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?

The description provides kernel recommendations for pixel art vs photos but does not explicitly state when to use this tool versus alternatives like pixoo_compose_scene or pixoo_display_text. Usage context is implied but not directly addressed.

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/cyanheads/pixoo-mcp-server'

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