Skip to main content
Glama

get_frame_history

Retrieve newest-first screen frame metadata to check when the desktop last changed without consuming image tokens. Filter to changed frames and set a limit for focused monitoring.

Instructions

Return newest-first frame metadata from the watch ring buffer (no image bytes).

Useful to see when the desktop last changed without paying image tokens.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
changed_onlyNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations present, the description carries the full burden. It does disclose real behavior: newest-first ordering, a bounded 'ring buffer' source, and the absence of image bytes (token cost). It omits prerequisites (does watch need to be running via start_watch?), what happens when the buffer is empty, and how far back the ring buffer extends — meaningful gaps for a read tool with zero annotation coverage.

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?

Two short sentences, front-loaded with purpose and immediately followed by the practical benefit. Nothing is redundant, though the second sentence is framed as a benefit rather than as usage guidance for the parameters.

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?

Return values are covered by the existing output schema, so the description needn't explain output shape. For a simple two-parameter read tool, the remaining needs — ordering, source, and token cost — are all addressed; only minor prerequisite details are absent.

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%, so both parameters (limit, changed_only) are undocumented anywhere except their names and defaults. The description does not explain the limit semantics or that changed_only filters to frames where the desktop actually changed — a notable miss given 'last changed' is its stated use case. It does partly imply change-detection via that phrase, so baseline 3 rather than lower.

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 and resource — 'Return newest-first frame metadata from the watch ring buffer' — and adds the key qualifier '(no image bytes)', which distinguishes it from the image-returning siblings like get_latest_frame and get_display_frame without naming them. It stops short of an explicit sibling comparison, so a 4 rather than 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 Guidelines4/5

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

'Useful to see when the desktop last changed without paying image tokens' gives a clear use case and implicitly names the tradeoff that selects this tool over the frame-image tools. There is no explicit when-not guidance (e.g., when you actually need pixels, use get_latest_frame), so it falls one step short of full routing guidance.

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