Skip to main content
Glama

adb_job_stop

Destructive

Stops a background ADB job by terminating its whole process group with SIGTERM then SIGKILL; optionally deletes its logs when remove is true.

Instructions

Stop a background job (SIGTERM then SIGKILL, whole process group); remove=true deletes its logs.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "job_id": "<job_id>"
    },
    "name": "adb_job_stop"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceNo
job_idYes
removeNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, but the description earns credit by disclosing the escalation path (SIGTERM then SIGKILL), that the whole process group is targeted, and that remove=true deletes logs — a concrete, irreversible side effect. It stops short of saying whether the call blocks until termination or what happens when the job is already dead.

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?

A single front-loaded sentence with the destructive mechanism and the log-deletion caveat packed in; no filler and nothing buried.

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, so return values need not be described, and the kill semantics plus log deletion cover the main behavioral risks of a destructive tool. The remaining gap is the unexplained 'device' parameter and the lack of any statement about post-stop state or errors.

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 0%, so the description must carry the load. It explains 'remove' well, and 'job_id' is self-evident, but 'device' (default null) is never addressed — an agent cannot tell from the definition which device is targeted when it is omitted.

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 uses a specific verb and resource ('Stop a background job') and adds the termination mechanism, which clearly separates it from adb_job_start, adb_job_list, and adb_job_status. It does not explicitly name a sibling, but the action is unambiguous.

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?

There is no guidance on when to stop versus when to check status first, nor any mention of prerequisites such as the job needing to exist or be running. The only conditional hint is the inline 'remove=true' behavior, which is parameter semantics rather than usage guidance.

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