Skip to main content
Glama

list_apps

Lists running Java applications and shows which expose swing2mcp windows or are connected, helping you pick the app to attach to.

Instructions

List running Java applications. Those with the swing2mcp agent show their windows; the connected one is marked with *. The others can be connected with connect_app, which loads the agent into them without restarting.

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

A4.4/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden and does real work: it explains that only agent-equipped apps expose windows, that the currently connected app is flagged with *, and that connect_app injects the agent without restarting the target. What it omits is whether listing itself has side effects or latency, and whether the result is a plain name list or richer metadata.

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?

Three short sentences, front-loaded with the core action, then the result interpretation, then the follow-up path. Every clause contributes information an agent needs; nothing is restated from the title or 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?

With no output schema and no annotations, the description must explain return values and it largely does (app list, window availability, * marker for the connected app). Remaining gap is the exact shape of entries and whether non-Java processes appear, which is minor for a trivial no-argument listing tool.

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 takes zero parameters, so there is nothing for the description to disambiguate; baseline 4 applies. It correctly implies the tool is parameterless by describing a complete enumeration with no filtering options.

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?

"List running Java applications" gives a specific verb and resource, and the following sentences differentiate the result set (agent-instrumented apps show windows; the connected one is marked with *). An agent can tell this apart from connect_app or launch_app without opening any schema.

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 clearly positions the tool as a discovery step and routes the agent forward: apps without the agent "can be connected with connect_app." That is explicit guidance on the next action, though it stops short of stating when *not* to call this (e.g. if the target app is already known and connected).

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