Skip to main content
Glama

List apps

list_apps
Read-only

Enumerate every top-level window the agent can drive, showing each app name, process, PID, and running state so you can choose a target before automating it.

Instructions

Every top-level window the agent can drive, one per line: Name — process (pid N) [running]. Same shape as Codex's list_apps.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_apps"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds real value by disclosing the return shape — one window per line as `Name — process (pid N) [running]` — which matters because there is no output schema. It does not say whether hidden/background windows are excluded, whether ordering is defined, or what happens when nothing is drivable.

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?

Two short sentences, front-loaded with the resource scope and then the output shape; nothing is padded. The trailing 'Same shape as Codex's list_apps' is a weak external reference that assumes familiarity with another product, so it earns less than its space.

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 trivial zero-parameter, read-only enumerator with no output schema, the essential missing piece — the return format — is supplied. Remaining gaps (ordering, filtering of non-drivable windows, how the pid should be used downstream) are modest rather than disqualifying.

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 tool takes zero parameters, so the baseline is 4. The description correctly requires no parameter explanation and instead spends its words on output format, which is the relevant information for a no-arg tool.

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 names a specific resource and scope: 'Every top-level window the agent can drive.' That is a concrete enumeration of drivable windows rather than a tautological restatement of 'list_apps'. It does not explicitly distinguish itself from nearby siblings such as get_app_state or ego_page, so it falls short of a 5.

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?

Usage is only implied: by saying it returns 'every top-level window the agent can drive,' it suggests this is the discovery step before interacting with an app. There is no explicit when-to-use, when-not-to-use, or pointer to an alternative (e.g., get_app_state for a single app's details).

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