Skip to main content
Glama

get_latest_frame_info

Returns JSON metadata for a screen frame without image bytes. Pass a prior hash to detect unchanged frames and skip fetching the image.

Instructions

Same as get_latest_frame but returns JSON metadata (no image bytes).

Pass since_hash from a prior poll; when it matches, unchanged is true and you can skip calling get_latest_frame.

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_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
blurNo
since_hashNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are provided, so the description carries the disclosure burden, and it does disclose useful behavior: the response contains no image bytes and the unchanged flag can short-circuit downstream calls. It omits permission/auth requirements and rate limits, but for a read-only polling tool those are minor.

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?

Three short lines with the payload distinction front-loaded and the optimization hint second. It is efficient, though the opening phrase depends on the reader already knowing get_latest_frame's semantics.

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?

An output schema exists, so the description needn't explain return values, and it still covers the important behavioral fact (no image bytes) and the caching flag. The only real gap is the undocumented blur parameter for an otherwise simple two-param tool.

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 0%, and the description only explains one of two parameters: since_hash is defined as a prior-poll hash whose match yields unchanged=true. The blur parameter is left completely unexplained, so half the schema gap remains unfilled.

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 states the resource (latest frame) and the differentiator (returns JSON metadata, no image bytes) and names the sibling get_latest_frame it mirrors. An agent can tell it apart from get_latest_frame without opening the schema, though the exact metadata fields returned are not enumerated.

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

Usage Guidelines4/5

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

It gives a concrete routing rule: pass since_hash from a prior poll and skip get_latest_frame when unchanged is true. It also implies the bytes-vs-metadata choice against get_latest_frame. It stops short of explicit 'do not use this when...' exclusions, but the context is clear.

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