Skip to main content
Glama

Stop session

force_terminate
Destructive

Use this when a process session created by start_process must stop, such as a runaway build or server left behind. For an arbitrary operating-system PID that is not a ReMCP terminal session, use kill_process instead.

Input Schema

NameRequiredDescriptionDefault
pidYesSession pid returned by start_process.
deviceYesReMCP device id returned by list_devices. Required for every device operation.

Output Schema

NameRequiredDescriptionDefault
dataNo
textYesConcise human-readable result of the tool call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the bar is lower, and the description adds genuine scoping context: this only touches ReMCP terminal sessions, not arbitrary PIDs. It stops short of describing what force termination does to child processes or whether the session record survives, which would matter for a destructive operation.

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?

Two sentences, zero filler, with the primary use case front-loaded and the disambiguation second. Each sentence earns its place by carrying distinct routing information.

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?

An output schema exists and annotations fully cover the safety profile, so the description's only real burden is routing, which it handles well. The remaining gap is the semantics of "force" (immediate kill vs. graceful stop, effect on spawned children) for a destructive two-parameter tool.

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%, with pid documented as the session pid from start_process and device as the id from list_devices. The description echoes that provenance but adds no format, range, or error semantics beyond the schema, so the baseline of 3 applies.

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 names a specific action on a specific resource: stopping a process session created by start_process. It immediately distinguishes itself from the similarly named kill_process sibling, so an agent can route correctly without opening either schema.

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?

Both sides of the decision are stated explicitly: use this for sessions created by start_process (runaway builds, orphaned servers), and use kill_process for an arbitrary OS PID that is not a ReMCP terminal session. No inference is required.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources