Skip to main content
Glama
rayss868

PC Controller MCP Server

by rayss868

window_focus

Bring any application window to the foreground by matching its title or process name. Use it to switch focus to a specific window before sending keystrokes or interacting with it.

Instructions

Bring a window to the foreground by matching its title or process name (case-insensitive). Use this tool to switch focus to a specific application window before sending keys or interacting with it. Example: "Notepad", "Visual Studio Code", "chrome" — matches any open window whose title contains the text. Returns an error if no matching window is found.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYesWindow title or process name to focus. Example: "Notepad" or "Code" or "chrome"
Install Server

TDQS

A4.5/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses case-insensitive matching, substring matching (title contains text), and error behavior when no matching window is found. This is strong behavioral detail, though it does not mention behaviors like minimizing or restoring windows if minimized.

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?

The description is three sentences long, front-loaded with the core action, followed by usage guidance, examples, and error behavior. Every sentence serves a purpose without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with one parameter and no output schema, the description is complete. It covers what the tool does, when to use it, matching behavior, and error handling, all in a compact form. No critical information is missing given the tool's simplicity.

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?

The schema covers 100% of parameters, but the description adds value by explaining the matching semantics (case-insensitive, contains text) and giving examples. This enriches the parameter meaning beyond the schema's description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's function with a specific verb ('Bring a window to the foreground') and resource ('window'), and distinguishes it from sibling tools by focusing on window focus, which is unique among the provided siblings. The method (matching title or process name) is also explicitly mentioned.

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 says to use the tool 'before sending keys or interacting with it,' which provides clear context for when to use it. It does not explicitly mention alternatives or exclusions, but the guidance is sufficient given the sibling set, and it implies a workflow with key_type.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rayss868/pc-controller-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server