Skip to main content
Glama

Execute Async (sudo)

exec-async-sudo

Run long-running remote commands in the background with passwordless sudo via SSH, preventing session blocks.

Instructions

Execute a long-running command in background using passwordless sudo.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandYes
machineYes
confirm_codeNo
Behavior2/5

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

With no annotations, the description is the only source of behavioral details. It mentions 'background' and 'passwordless sudo,' but does not disclose how the async execution works, whether a job ID is returned, how results are retrieved, or the purpose of the confirm_code parameter. This leaves significant behavioral unknowns.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence, which is concise and front-loaded with the core action. However, it is so brief that it omits critical details, making it more under-specified than appropriately concise. It earns its place but does not maximize informational value.

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

Completeness2/5

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

Given the tool has 3 parameters, no output schema, and no annotations, the description is incomplete. It does not explain the input requirements, the meaning of confirm_code, or the behavior after execution. The single-sentence description is inadequate for successful tool invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description bears full responsibility for explaining parameters. The description does not mention machine, command, or confirm_code, providing no meaning beyond the parameter names themselves. It fails to compensate for the lack of schema descriptions.

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 executes a long-running command in the background with passwordless sudo. It uses a specific verb ('execute') and resource ('command'), and the sudo/background aspect distinguishes it from sibling tools like exec-async (which likely lacks sudo) and sudo-exec (which may be synchronous).

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?

No explicit guidance is given about when to use this tool versus alternatives such as exec-async or sudo-exec. The description implies use for long-running, sudo-requiring commands, but does not state conditions or exclusions, leaving the agent to infer the selection criteria.

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/AliyahZombie/OctSSH'

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