Skip to main content
Glama
NasirSultan

desktop-control-mcp

by NasirSultan

Close application

close_app

Force-close a running application by its friendly name or process. Safely terminates apps like Chrome, Word, or VSCode while refusing critical system processes.

Instructions

Force-close a running application by name. Known friendly names: chrome, google_chrome, edge, msedge, firefox, word, winword, excel, powerpoint, outlook, notepad, explorer, file_explorer, calculator, calc, paint, cmd, command_prompt, powershell, vscode, vs_code, spotify, task_manager. Critical system processes are refused.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appYesFriendly app name or process/.exe name to close
Behavior4/5

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

With no annotations, the description carries the behavioral burden. It explicitly says 'force-close,' indicating abrupt termination, and adds an important safety boundary by refusing critical system processes. It does not spell out possible data loss, but the word 'force-close' is a meaningful disclosure.

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 core behavior is front-loaded in the first sentence, and the friendly-name list is compact and scannable. Every sentence earns its place; there is no filler or repetition of the schema.

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 single-parameter tool with no output schema, the description is quite complete: it defines valid inputs, lists supported aliases, and states a critical safety exclusion. Minor gaps such as failure behavior when the app is not running or whether unsaved data may be lost prevent a perfect score.

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 100%, so the baseline is 3. The description adds value beyond the schema by enumerating friendly names and aliases (chrome, google_chrome, msedge, etc.) and by clarifying that the parameter can be a friendly name or a process/.exe name. This helps an agent construct valid input without guessing.

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 opens with 'Force-close a running application by name,' which names a specific verb and resource. The extensive known-name list and the explicit refusal of critical system processes clearly separate this from sibling tools like close_folder_window or shutdown_pc.

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 description implies when to use the tool: for force-closing a running application by name. It does not explicitly contrast with alternatives such as close_folder_window, focus_app, or shutdown_pc, though its scope is reasonably inferable from the context.

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

Install Server

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/NasirSultan/desktop-control-mcp'

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