Skip to main content
Glama

set_capture_display

Select which monitor is captured by default for screen watching and frame retrieval; use 0 for primary/auto or a 1-based display ID to target a specific screen.

Instructions

Set default monitor for watch / get_latest_frame (1-based; 0 = primary/auto).

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": "set_capture_display"
  }
}

Input Schema

NameRequiredDescriptionDefault
display_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

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?

With no annotations, the description carries the burden alone. It usefully discloses the indexing base (1-based) and the special value 0 = primary/auto, but it does not say whether the setting persists across sessions, whether it applies retroactively to a running watch, or how invalid display IDs are handled.

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?

One compact line that front-loads the action and puts the parameter semantics in a parenthetical. No wasted wording.

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 return-value explanation is unnecessary, and for a one-parameter tool the description covers the essential semantics. The remaining gap is the persistence/scope-of-effect question, which matters because this mutates shared capture state.

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 coverage is 0%, so the description must compensate, and it does: it explains the single parameter's meaning as a 1-based display index and defines the sentinel value 0 as primary/auto. It stops short of pointing to the tool that enumerates valid IDs.

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 ("Set default monitor") and scopes the effect to the two consuming tools, watch and get_latest_frame. It is distinct from siblings like list_displays, though it does not explicitly say list_displays is the discovery counterpart.

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?

Usage is only implied: the agent can infer this should be called before capturing frames from a chosen monitor, but there is no explicit when-to-use, no prerequisite (e.g., discover IDs first via list_displays), and no statement about whether it affects an already-running watch session.

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