Skip to main content
Glama

get_display_frame

Capture a specific monitor by its display ID to view the current screen, and optionally skip image bytes when the supplied hash still matches.

Instructions

Capture a specific monitor by id (from list_displays).

since_hash: skip image bytes when the hash still matches.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "display_id": "<display_id>"
    },
    "name": "get_display_frame"
  }
}

Input Schema

NameRequiredDescriptionDefault
blurNo
display_idYes
since_hashNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations the description carries the full burden, and it does disclose one real behavior: image bytes are skipped when since_hash matches. It says nothing about what the call returns, how blur affects output, cost/latency of a capture, or any permission requirements, leaving the agent without a safety or response profile.

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 lines, front-loaded with the action and followed by the one non-obvious parameter behavior. Tight and readable, though the terse 'since_hash:' fragment style is slightly telegraphic.

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 three-parameter, annotation-free tool with no output schema, the definition covers the routing and dedup story but omits return type, blur effects, and any error behavior. Adequate to attempt a call, not enough to call confidently.

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 0%, so the description must compensate, and it only partly does: display_id's origin and since_hash's dedup semantics are explained, while blur (a boolean defaulting to false) is never mentioned and no hash format is given.

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 a specific verb and resource: capture a monitor frame identified by display_id. Naming the id's source (list_displays) and the monitor scope implicitly separates it from region or latest-frame siblings, though it never names one outright.

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

Usage Guidelines3/5

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

It supplies a useful workflow cue, telling the agent to obtain display_id from list_displays first. It gives no guidance on when to prefer this over get_latest_frame, get_region_frame, or get_frame_history, so the choice among capture siblings is left to inference.

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