Skip to main content
Glama

desktop focus

exza_desktop_focus
Destructive

Bring one explicitly named installed application window to the foreground. Requires computer:write OAuth and ChatGPT tool permission.

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

Input Schema

NameRequiredDescriptionDefault
nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Changed1 schema field changed
    • addedInput schema / properties / name / description
      Added value: +"Exact selected application, window or folder name; avoid guesses."
  4. First observed

TDQS

B3.1/5.0
Behavior1/5

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

Annotations declare destructiveHint=true and readOnlyHint=false, but the description presents the operation as a harmless foreground switch and never explains what is altered or how the call can be destructive; no mention of failure when the app is not running or the name is ambiguous. It adds the OAuth scope and tool-permission requirement, which is useful, but that is the only behavioral context supplied and it does not account for the destructive classification.

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 with the action front-loaded and the precondition second; no filler or redundant restatement of the title.

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, so return values need not be described, but for a state-changing, destructive-flagged tool the definition omits what the agent should expect on failure (app not running, no matching window) and why the operation is considered destructive. Adequate to invoke, thin on consequences.

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% for the single required 'name' parameter, so the description must carry the load; it does add that the value is a single, explicitly named installed application. It does not clarify whether 'name' is an exact-match app name, a process name, or a window title, nor case-sensitivity or ambiguity behavior.

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 one explicitly named installed application window to the foreground'), which separates it in practice from exza_desktop_launch (start something new) and exza_desktop_windows (list windows). It stops short of naming any sibling explicitly, so the differentiation must be inferred rather than read.

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?

The phrase 'explicitly named installed application' implies the tool only applies to apps already known and running, but there is no explicit when-to-use/when-not guidance and no pointer to exza_desktop_apps or exza_desktop_windows for discovering a valid name. The auth sentence is a prerequisite, not usage guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources