Skip to main content
Glama

Build Screenshot

build_screenshot
Idempotent

Capture a PNG screenshot of a booted iOS simulator and save it to a specified path for quick ad-hoc checks.

Instructions

Capture a PNG screenshot of the booted simulator to out_path.

Use when: an ad-hoc check. For localized store screenshots use screenshot_capture / screenshot_build_all. Returns: {ok, exit_code, stdout, stderr, path}.

Input Schema

NameRequiredDescriptionDefault
udidYesSimulator UDID from build_list_simulators, e.g. 'A1B2C3D4-...'.
out_pathYesOutput file path (PNG).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.5
    • addedInput schema / properties / out_path / description
      Added value: +"Output file path (PNG)."
    • addedInput schema / properties / udid / description
      Added value: +"Simulator UDID from build_list_simulators, e.g. 'A1B2C3D4-...'."
  2. First observedv0.1.1

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=false, idempotentHint=true, destructiveHint=false, openWorldHint=false), so the burden is lighter. The description still adds real context: it requires an already-booted simulator and documents the return payload shape, which annotations do not convey. It stops short of noting failure modes or overwrite behavior on out_path, so not a full 5.

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 short labeled fragments — action, use-when, returns — with zero filler and the core action front-loaded in the first sentence. Every sentence earns its place.

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?

For a two-parameter read-and-write-artifact tool, the description covers the action, the selection condition against siblings, the precondition (booted simulator), and the return shape. With an output schema present, further return-value detail is unnecessary, so nothing an agent needs is missing.

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 description coverage is 100%, with both udid (tied to build_list_simulators and an example format) and out_path documented in the schema itself. The description only restates out_path and adds no syntax or format meaning beyond it, so the baseline 3 is correct.

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?

States a specific verb and resource ('Capture a PNG screenshot of the booted simulator') plus the output destination, so the agent knows exactly what this produces. It is clearly distinguishable from screenshot_capture and screenshot_build_all, which are named as the localized-store alternatives.

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 scopes usage to 'an ad-hoc check' and routes localized store screenshots to screenshot_capture / screenshot_build_all. When-to-use and when-to-use-something-else are both stated, leaving nothing to inference.

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

Deploy Server

Other Tools