Skip to main content
Glama

inspect_wsl_ports

Inspect WSL distributions and their listening TCP ports to diagnose Windows-to-Linux connectivity, binding mismatches, and port availability with read-only diagnostics.

Instructions

Inspect Windows Subsystem for Linux (WSL) distros and listening TCP ports.

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": "inspect_wsl_ports"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeoutNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, yet it discloses nothing about permissions, whether it fails when WSL is absent, or how the timeout governs execution (per-distro, overall, or connection probe). The presence of an output schema excuses it from describing return values, but the operational behavior remains opaque.

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?

One short sentence with no filler, and the resource scope is front-loaded. It is efficient, though its brevity borders on under-specification rather than true concision.

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?

The tool is simple (one optional parameter) and has an output schema covering results, so the description needn't explain returns. However, it leaves the timeout semantics and the distinction from four sibling inspection tools entirely unaddressed, which is a meaningful gap for a discovery-style tool.

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

Parameters2/5

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

Schema coverage is 0% and the sole parameter (timeout, default 5) is never mentioned in the description, so the agent gets no unit (seconds?), scope, or failure-mode guidance. The description does nothing to compensate for the undocumented parameter.

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

Purpose4/5

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

The description names a specific verb ("Inspect") and two concrete resources (WSL distros and listening TCP ports), which is far more informative than the bare name. It implicitly separates itself from siblings like inspect_docker_ports by scoping to WSL, but it never states that distinction explicitly.

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 at all: nothing says to pick this over inspect_port, list_ports, or diagnose_port, and no preconditions (e.g., WSL must be installed/running) are mentioned. The agent must infer usage purely from the tool name and the word "WSL".

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