Skip to main content
Glama
slymnysr

sift

by slymnysr

Follow a background run

follow
Destructive

Retrieve new output from a background command, returning only unread lines. Use with a handle from a background 'run' call; optionally wait for output, stop the command, or check all running processes.

Instructions

Return what a background command has printed since the last time you asked, and nothing you have already been shown. Use it with the handle from a run call made with background. The lines keep the numbers they have in the whole run, so peek on any of them returns that same line; a stretch that was only progress comes back as a gap saying how many lines it stands for, and a quiet minute comes back as nothing at all rather than as filler. Set stop when you are done with the command: it ends it, and everything it started, and returns the last of the output. Always stop a command you are finished with -- a background command left alone keeps running. With everything it answers about every run still going in one call, which is what to use when you started three things and want to know where they are. With wait it holds until something is actually said rather than coming back empty: an empty answer is a tool result that stays in the conversation for the rest of it, so waiting once costs less than asking five times.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stopNo
waitNo
handleNo
everythingNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.2

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint: true), the description discloses specifics: `stop` 'ends it, and everything it started,' and a left-alone background command keeps running (openWorldHint). It also reveals the subtle consequence that an empty answer stays in the conversation for the rest of it, which is not captured by any annotation.

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?

The first sentence front-loads the core purpose, and the rest is dense, informative prose covering modes, parameters, and behavioral caveats rather than padding. It is longer than average, but the tool has four interacting modes and subtle edge cases, so the length is justified.

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

Completeness5/5

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

The description explains the return format (incremental output since last ask, preserved line numbers, gap summaries for progress-only stretches, last output on stop) and covers the tricky consequences (empty results persisting in the conversation, background commands continuing to run). With an output schema present and all four parameters addressed, the description is complete enough for correct invocation in the described scenarios.

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 has zero description coverage, so the description carries the full burden and does address all four parameters in prose: `handle` (from a `run` call with `background`), `stop` (ends the command and what it started), `everything` (answers for every run still going), and `wait` (holds until something is said). However, some details remain implicit: the units of the `wait` number and the behavior of a null `handle` with no other flags are not specified.

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 first sentence states a specific action (return what a background command has printed since last asked) on a specific resource (a background command from `run`), which clearly distinguishes it from siblings like `peek` (which fetches a specific line) and `run` (which starts a background command). The title and description align on the core purpose of following an ongoing background run.

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?

The description explicitly ties the tool to a `run` call made with `background` and contrasts it with `peek`, explaining the conditions for each (lines keep their numbers, so `peek` returns the same line). It gives concrete when-to-use guidance for `everything` ('when you started three things and want to know where they are') and for `wait` (avoiding empty results that persist in the conversation), plus the imperative to `stop` a finished command.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/slymnysr/sift'

If you have feedback or need assistance with the MCP directory API, please join our Discord server