Skip to main content
Glama

get_region_frame

Capture a specific screen region by bounding box to return a cropped JPEG and reduce token usage. Use it when you need only part of the desktop.

Instructions

Capture a region by bbox (screen/capture pixels) for lower token use.

Returns the cropped JPEG. Prefer guided_region_focus for interactive selection.

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": {
      "x": "<x>",
      "y": "<y>",
      "width": "<width>",
      "height": "<height>"
    },
    "name": "get_region_frame"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYes
yYes
blurNo
widthYes
heightYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the whole burden. It usefully discloses the coordinate space, the return format, and the token-cost rationale, but says nothing about behavior on out-of-bounds coordinates, which display is captured, permission requirements, or what the blur flag actually does.

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 sentences: purpose and unit first, return value second, alternative third. Nothing is padded and the most decision-relevant facts are front-loaded.

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?

There is no output schema, and the description compensates by naming the JPEG return. But for a 5-parameter capture tool with zero annotation coverage and zero schema descriptions, leaving 'blur' and multi-display/edge-case behavior undocumented is a real gap.

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% and the schema titles are bare ('X', 'Y', 'Width', 'Height'), so the description earns credit for supplying the unit and reference frame ('screen/capture pixels') for the bbox. However, the fifth parameter 'blur' is left entirely unexplained in both schema and description.

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?

Specific verb and resource ('Capture a region by bbox') plus the coordinate space ('screen/capture pixels') and return payload ('cropped JPEG'). It routes to one sibling explicitly, but does not clarify its relationship to the closest frame-oriented siblings, so it stops short of the sharpest differentiation.

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?

The 'Prefer guided_region_focus for interactive selection' line gives an explicit alternative and the condition that selects it. What is missing is the inverse statement of when this tool itself is the right pick (e.g. known coordinates, non-interactive/scripted capture).

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