Skip to main content
Glama
computer
by zznabil

Raise window

raise_window
Destructive

Brings the target window to the front and gives it keyboard focus; use only when visual foreground placement or focus is needed, because covered windows can still receive background input.

Instructions

Bring a window to the front. It takes the user's keyboard; never use it just to make input work (background input reaches covered windows).

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": {
      "id": "<id>"
    },
    "name": "raise_window"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesWindow id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4/5.0
Behavior4/5

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

Annotations declare this is not read-only and is destructive/open-world, but they do not say the operation steals keyboard focus. The description adds that key side effect and explains why background input makes raising unnecessary, which is genuinely new behavioral context. It does not address failure modes for an invalid id or the visible disruption to the user.

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?

Two short sentences, the primary action first, then the caveat with its reason in parentheses. Every clause carries information and nothing is padded.

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?

For a one-parameter tool with no output schema and full annotation coverage, the description covers purpose, the focus side effect, and the main misuse case. Only edge behavior (invalid id, what the user sees) is left out, which is minor at this complexity.

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?

There is a single required parameter with 100% schema description coverage ('Window id.'), so the schema already carries the parameter meaning. The description adds nothing about id format, how to obtain an id, or error behavior for unknown ids, so the baseline 3 applies.

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 gives a specific verb and resource ('Bring a window to the front'), which is unambiguous. It also implicitly distinguishes the tool from input tools like click or type_text by noting that background input already reaches covered windows, though it never names a sibling explicitly.

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 contains an explicit prohibition with a rationale: 'never use it just to make input work (background input reaches covered windows).' That is stronger than most definitions, but the positive case (use it when the user needs to see or interact with the window visually) is only implied, and no alternative tool is named.

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