Skip to main content
Glama

sim_screenshot

Captures a snapshot image of the virtual LCD/TFT display buffer at a specified emulated time. Enables verifying ESP32 firmware display output without a physical board.

Instructions

Captures a snapshot image of the virtual LCD/TFT display buffer at a specified emulated time.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chipNoTarget chip family. Default is s3 (ESP32-S3).
boardNoBoard with a display: 'atech14', 'waveshare-lcd4b', 'waveshare-amoled18-v2' (S3), 'waveshare-c6-lcd147' (C6), 'ttgo-tdisplay' (ESP32).atech14
appBinNoDirect path to the application binary (.bin).
ptableBinNoDirect path to partition-table.bin (needed with appBin for a real ROM boot).
projectDirNoPath to the ESP-IDF project root or build folder. If omitted, uses current working directory.
timeSecondsNoEmulated second at which to take the screenshot.
bootloaderBinNoDirect path to bootloader.bin (needed with appBin for a real ROM boot).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It says what is captured but not where the image goes (file path, base64 return), whether the emulator boots the ROM on its own, whether a prior build/run is required, or any cost/time implications of advancing emulation to timeSeconds.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though its brevity leaves the gaps noted in other dimensions rather than wasting words.

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

Completeness2/5

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

For a 7-parameter tool with no annotations and no output schema, the description omits the return value entirely (image path vs inline data) and says nothing about build/boot prerequisites implied by appBin, ptableBin and bootloaderBin. An agent would have to guess how to consume the result.

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 coverage is 100%, so the schema already documents all 7 parameters including chip, board, binary paths and timeSeconds. The phrase 'at a specified emulated time' merely restates timeSeconds, adding no syntax or format detail beyond the schema. Baseline 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?

States a specific verb (captures) and a precise resource (snapshot image of the virtual LCD/TFT display buffer) plus the timing scope. An agent can tell this apart from sim_run/sim_script by the display-capture framing, though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no when-to-use, when-not-to-use, or alternative guidance. It does not clarify the relationship to sim_run (does the emulator need to be running/built first?) or when a screenshot is preferable to scripted assertions via sim_expect.

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