Skip to main content
Glama
PowerShell MCP

PowerShell MCP

by water-chika

list_powershell_targets

Lists public-safe explicit local and registered SSH target identifiers so you can choose allowed PowerShell execution destinations.

Instructions

List public-safe explicit local and registered SSH target identifiers.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_powershell_targets"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
targetsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden. 'Public-safe' hints at filtering or redaction of sensitive targets, which is useful, but nothing is said about permissions needed, whether the listing is paginated, or whether SSH registrations require prior configuration, leaving meaningful behavioral gaps for a zero-annotation tool.

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 the verb first and no filler. It is lean, though the density of unexplained qualifiers ('public-safe explicit') trades clarity for brevity.

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?

With no parameters and an output schema covering return values, the description does not need to explain results. It still leaves the nature of 'targets' and the meaning of 'public-safe' ambiguous, which is a modest but real gap for an otherwise simple tool.

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 tool takes no parameters, so the baseline of 4 applies; there are no argument semantics the description could or should add. The description correctly does not invent arguments.

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 verb 'List' and the resource 'target identifiers' are stated, and the qualifiers 'local' and 'registered SSH' narrow the scope. However, 'public-safe' and 'explicit' are unexplained jargon, and an agent cannot tell precisely what a 'target identifier' is or how it relates to the sibling run/status tools.

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 when-to-use guidance is given, and no alternative tool is named or excluded. The agent must infer that this is a discovery step preceding powershell_run purely from the tool name, not from the description.

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