Skip to main content
Glama

nohup

Destructive

Run commands that persist after terminal exit by ignoring hangup signals. Use for long-running background tasks that need to survive terminal closure.

Instructions

Run a command immune to SIGHUP (hangup signals), ideal for long-running background tasks. Executes the given command and captures stdout/stderr. Requires --allow_nohup confirmation for safety. Use to run tasks that should survive terminal closure. Not for CPU priority adjustment — use 'nice'. Not for time-bounded execution — use 'timeout'. See also 'nice', 'timeout'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appendNoAppend to the output file.
outputNoOutput file for stdout/stderr.nohup.out
dry_runNoReport without starting a process.
parentsNoCreate missing output parent directories.
command_argsNoCommand and arguments to run.
allow_overwriteNoAllow replacing an existing output file.
allow_backgroundNoAllow starting a real background process.
Behavior4/5

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

Annotations already indicate destructiveHint=true, and the description adds context about requiring --allow_nohup confirmation for safety, which is a useful behavioral detail. However, it could elaborate more on how flags like allow_background affect process behavior.

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?

The description is succinct with no unnecessary details. It front-loads the purpose and uses clear, direct sentences.

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?

The description covers purpose, usage, and safety confirmation. It does not explain return values (no output schema), but naming of output file is in schema. Slight gap in explaining background process behavior, but overall sufficient given the tool's complexity.

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%, so the description does not need to detail parameters. It adds minimal extra context beyond what the schema provides (e.g., capturing stdout/stderr). Baseline score is appropriate.

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 clearly states the tool runs a command immune to SIGHUP, ideal for long-running background tasks, and distinguishes itself from siblings like 'nice' and 'timeout' by specifying what it is not for.

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?

Explicit guidance on when to use (survive terminal closure), when not to use (CPU priority or time-bounded execution), and alternatives ('nice', 'timeout') are provided.

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/caseSHY/AI-CLI'

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