Skip to main content
Glama

stop_app

Terminate the connected Java Swing application by default, or specify a PID to end a particular running process.

Instructions

Terminate an application (default: the connected one).

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": "stop_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
pidNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden for a destructive operation. It does not say whether termination is forceful, whether unsaved state is lost, what happens if the pid is invalid or already dead, or how confirmation/errors surface.

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?

One short, front-loaded sentence with no filler. Its brevity is appropriate in form but leaves little room for the operational detail a destructive tool needs.

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

Completeness2/5

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

A destructive, zero-annotation tool with an undocumented parameter and no output schema. An agent cannot tell from this definition what state is destroyed, what success/failure looks like, or what the pid contract is, which is inadequate even for a simple tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% for the single optional `pid` parameter. The description clarifies the default (connected app) but never defines what pid means here (OS process id vs. app instance id), what values are valid, or what happens when it is omitted alongside an explicit target.

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?

States a specific verb and resource: 'Terminate an application', with a scope note that it defaults to the connected app. It is distinguishable from launch_app/connect_app by the destructive framing, though siblings are not explicitly named.

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

Usage Guidelines2/5

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

No when-to-use or when-not-to-use guidance, and no alternatives referenced (e.g. when to stop vs. disconnect). The parenthetical default target is the only hint about operating context.

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