Skip to main content
Glama
N0moreher0
by N0moreher0

Shell status

project_shell_status
Read-only

Polls a running shell command by run_id to return its running state, exit code, and stdout/stderr tails, with an optional observation window of up to 30 seconds.

Instructions

Check status + output of a running command. wait_seconds (0..30) is an observation window, not a timeout. Use when: after project_shell_run; poll until running=false. Avoid when: no run_id available yet. Speed: fast; not queued so it never blocks other tools. Output: shell_run: running, exit_code, stdout_tail/stderr_tail. Batch-safe: no

Input Schema

NameRequiredDescriptionDefault
run_idYes
wait_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, it discloses that wait_seconds is an observation window rather than a timeout, that the call is fast and not queued so it never blocks other tools, and describes the output fields (running, exit_code, stdout_tail/stderr_tail). These are non-obvious behavioral traits that materially change how an agent polls.

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?

Front-loaded with the core action, then segmented into Use when / Avoid when / Speed / Output / Batch-safe lines. Every line carries distinct information with no repetition.

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?

For a two-parameter polling tool with no output schema, the description supplies the missing pieces: polling condition, timing semantics, non-blocking behavior, and return shape. Nothing an agent needs to call it correctly is absent.

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?

Schema coverage is 0%, so the description must compensate, and it does for wait_seconds by explaining the observation-window semantics and the 0..30 bound. run_id is only implied by 'after project_shell_run' and the 'no run_id' exclusion rather than described directly, so it falls just short of full coverage.

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?

States a specific verb and resource: 'Check status + output of a running command,' which distinguishes it from project_shell_run (start) and project_shell_cancel (abort). An agent can identify the tool's role without opening the schema.

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?

Explicitly names the trigger ('after project_shell_run; poll until running=false') and the exclusion ('no run_id available yet'). The sibling it pairs with is named, and the polling loop condition is spelled out.

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