Skip to main content
Glama

list

List running applications, open windows, or server status on macOS to enable automation and situational awareness for AI agents.

Instructions

Lists various system items on macOS, providing situational awareness.

Capabilities:

  • Running Applications: Get a list of all currently running applications (names and bundle IDs).

  • Application Windows: For a specific application (identified by name or bundle ID), list its open windows.

    • Details: Optionally include window IDs, bounds (position and size), and whether a window is off-screen.

    • Multi-window apps: Clearly lists each window of the target app.

  • Server Status: Provides information about the PeepIt MCP server itself (version, configured AI providers).

Use Cases:

  • Agent needs to know if 'Photoshop' is running before attempting to automate it. { "item_type": "running_applications" } // Agent checks if 'Photoshop' is in the list.

  • Agent wants to find a specific 'Notes' window to capture. { "item_type": "application_windows", "app": "Notes", "include_window_details": ["ids", "bounds"] } The agent can then use the window title or ID with the 'image' tool. PeepIt MCP 1.0.0-beta.1 using openai/gpt-4o, ollama/llava:latest

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
item_typeYesSpecifies the type of items to list. If omitted or empty, it defaults to 'application_windows' if 'app' is provided, otherwise 'running_applications'. Valid options are: - `running_applications`: Lists all currently running applications. - `application_windows`: Lists open windows for a specific application. Requires the `app` parameter. - `server_status`: Returns information about the PeepIt MCP server.
appNoRequired when `item_type` is `application_windows`. Specifies the target application by its name (e.g., "Safari", "TextEdit"), bundle ID, or process ID (e.g., "PID:663"). Fuzzy matching is used for names, so partial names may work.
include_window_detailsYesOptional, only applicable when `item_type` is `application_windows`. Specifies additional details to include for each window. Provide an array of strings. Example: `["bounds", "ids"]`. - `ids`: Include window ID. - `bounds`: Include window position and size (x, y, width, height). - `off_screen`: Indicate if the window is currently off-screen.
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does well by describing capabilities, details available for windows (IDs, bounds, off-screen status), and server information. However, it doesn't mention performance characteristics, rate limits, or potential side effects of listing operations. The description is informative but could be more comprehensive about behavioral constraints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with clear sections (Capabilities, Use Cases) and uses bullet points effectively. However, it includes version information ('PeepIt MCP 1.0.0-beta.1 using openai/gpt-4o, ollama/llava:latest') that doesn't add value for tool selection. The core content is front-loaded and efficient, but could be slightly more concise by removing the version details.

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 tool with 3 parameters, 100% schema coverage, and no output schema, the description provides good contextual completeness. It explains what the tool does, when to use it, and provides concrete examples. However, without an output schema, the description could better explain what information is returned for each item_type, particularly for server_status which is mentioned but not detailed in the examples.

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 100%, so the schema already documents all parameters thoroughly. The description adds some context about fuzzy matching for app names and provides concrete examples of parameter usage, but doesn't add significant semantic meaning beyond what's already in the schema descriptions. The baseline of 3 is appropriate given the comprehensive schema coverage.

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 purpose as 'Lists various system items on macOS, providing situational awareness' and specifies three distinct capabilities: listing running applications, application windows, and server status. It distinguishes itself from sibling tools 'analyze' and 'image' by focusing on listing rather than analysis or image capture.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit usage guidelines through 'Use Cases' section with concrete examples showing when to use each item_type. It distinguishes between different scenarios: checking if an app is running, finding specific windows for capture, and getting server status. The examples clearly demonstrate appropriate parameter configurations for each use case.

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/MantisWare/peepit'

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