Skip to main content
Glama

shell_kill

Stop a background job started with shell and report whether it has stopped.

Instructions

Stop a background job started with shell and report whether it has stopped.

Input Schema

NameRequiredDescriptionDefault
job_idYesJob id returned by shell

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses that the call reports whether the job has stopped (implying the stop may not be instant), but it omits whether the kill is forceful, whether it is idempotent, and what happens for an unknown or already-finished job_id.

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?

One sentence, front-loaded with the verb and resource, with no filler. Every clause (stop, report status) carries information.

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

Completeness3/5

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

There is no output schema, and the description only loosely characterizes the return as a stopped/not-stopped report. For a mutation tool with zero annotations, the absence of any note on side effects, permissions, or failure modes leaves it only minimally complete.

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% and the single job_id parameter is documented as 'Job id returned by shell'. The description reinforces the provenance but adds no new syntax or format detail, so baseline 3 applies.

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?

Specific verb (stop) plus resource (background job started with shell), and it names the originating sibling. It doesn't contrast against shell_output or shell_list directly, but the purpose 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 Guidelines3/5

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

The phrase 'started with shell' implies the precondition of having a job_id from a prior shell call, but there is no explicit when-to-use versus shell_list or shell_output, and no guidance for jobs that already exited or were never backgrounded.

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

Deploy Server

Other Tools