Skip to main content
Glama

get_latest_frame

Captures the current desktop screen as a JPEG frame for AI observation, with optional pixelation for privacy and hash-based duplicate skipping.

Instructions

Capture or return the latest desktop frame as JPEG (observation only).

blur: if true, pixelate the frame before send (privacy). Off by default. since_hash: if set and equal to the current content_hash, return a small JSON stub instead of image bytes (avoids re-billing identical frames).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_latest_frame"
  }
}

Input Schema

NameRequiredDescriptionDefault
blurNo
since_hashNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the burden: it discloses the return format (JPEG), the privacy blur option, and the since_hash optimization that avoids re-billing. However, it omits other behavioral details such as display selection, resolution, or error conditions, leaving meaningful gaps for a tool with no annotations.

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 description is front-loaded with the main purpose, then clearly structured into per-parameter notes. Every sentence adds value, and there is no redundant wording. It could be slightly more scannable but is already efficient.

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

Completeness3/5

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

For a tool with two optional parameters and no output schema, the description covers purpose, return type, and both parameter semantics. However, it is incomplete regarding which display's frame is captured (ambiguous with multiple displays and siblings like list_displays and get_display_frame) and does not mention potential errors or limits.

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 description coverage is 0%, so the description must compensate. It does so effectively for both parameters: blur is explained as pixelating the frame for privacy with default false, and since_hash is explained as returning a JSON stub when it matches the current content_hash to avoid re-billing. This adds substantial meaning beyond the schema's bare titles and defaults.

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?

The description uses a specific verb and resource: 'Capture or return the latest desktop frame as JPEG', and adds '(observation only)' which distinguishes it from save_latest_frame. It does not explicitly name sibling alternatives, so it falls short of a 5.

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 explains parameter behavior but gives no guidance on when to use this tool versus alternatives like get_latest_frame_info, get_display_frame, or save_latest_frame. It implies observation-only use but does not state exclusions or selection criteria.

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