Skip to main content
Glama
PowerShell MCP

PowerShell MCP

by water-chika

powershell_status

Checks PowerShell availability and status on an explicit local or registered SSH target, helping verify connectivity and readiness without implicit local fallback.

Instructions

Check an explicit local or registered SSH PowerShell target.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "target": "<target>"
    },
    "name": "powershell_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYesExplicit target: 'local' or a registered 'ssh:<alias>'.
include_raw_recordsNoInclude low-level protocol records for diagnostics; may expose sensitive output details.

Output Schema

NameRequiredDescriptionDefault
okNo
hostNo
outputYes
failureNo
messageNo
partialNo
recordsNo
exit_codeNo
emitted_bytesNo
emitted_linesNo
observed_bytesNo
observed_linesNo
output_completeNo
timeout_secondsNo
transport_exit_codeNo
byte_suppressed_bytesNo
byte_suppressed_linesNo
line_suppressed_bytesNo
line_suppressed_linesNo
filter_suppressed_bytesNo
filter_suppressed_linesNo
cancellation_unconfirmedNo
diagnostic_suppressed_bytesNo
diagnostic_suppressed_linesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and says almost nothing: it does not state that this is a non-mutating probe, what happens when the target is unreachable, whether SSH credentials/registration must pre-exist, or how long a probe may take. Only the word "Check" implies a read, and that is implicit.

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?

A single front-loaded sentence with no filler or redundancy. Its terseness is not the problem; the missing content is, so it scores well purely on structure and lack of waste.

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?

An output schema exists, so return values need not be described, and the two parameters are fully documented in schema. What remains missing is behavior an agent needs in order to choose and safely invoke it: read-only nature, prerequisites for the SSH alias, and differentiation from powershell_run.

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 schema itself spells out both the 'local'/'ssh:<alias>' pattern and the diagnostics meaning of include_raw_records, so baseline 3 applies. The description adds nothing beyond the schema — no note on alias registration requirements or on the sensitive-output implication of raw records.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a verb ("Check") and a resource ("explicit local or registered SSH PowerShell target"), but "check" is vague about what is being checked — reachability, health, availability? The tool name powershell_status suggests a read-only probe, but the description itself never says so, and it does not contrast with powershell_run or list_powershell_targets.

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?

There is no when-to-use guidance, no exclusion, and no reference to the sibling tools that a caller would naturally weigh: powershell_run (execute something) and list_powershell_targets (discover targets). The phrase "explicit ... target" hints you must not pass a broad selector, but that is inference rather than guidance.

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