Skip to main content
Glama
sandraschi

sysinternals-mcp

by sandraschi

psloggedon

Identify users logged on locally or via network connections to audit system access and monitor active sessions.

Instructions

List users logged on locally and optionally via network connections.

Wraps Sysinternals PsLoggedon.

Return Format

{"success": bool, "users": list[dict], "count": int, "error": str | None}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
localNoShow locally logged-on users
networkNoShow network logons from this machine (-x)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

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 are provided, so the description carries the full behavioral burden, yet it discloses nothing beyond the operation itself. It does not mention that PsLoggedon typically requires administrative privileges, that the network mode probes remote hosts (with latency/security implications), or any side effects. The return-format block is largely redundant because an output schema already exists.

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?

The core sentence is short and front-loaded, and the return-format section is cleanly separated. The return-format block is somewhat wasteful given a dedicated output schema, but the overall structure is tight and readable.

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?

For a two-boolean read tool with an output schema, the description is minimally sufficient. It omits the admin-privilege prerequisite and the local-vs-psloggedon_server distinction, both of which an agent needs to select and run this tool correctly.

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 already documents both booleans, their defaults, and the '-x' flag mapping for network. The description adds no syntax or behavior detail beyond what the schema provides, so the baseline 3 is appropriate.

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?

States a specific verb and resource ('List users logged on') with scope ('locally and optionally via network connections'), so the agent knows exactly what it returns. It does not, however, differentiate itself from the sibling psloggedon_server, which is a likely source of confusion for a remote-vs-local question.

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 explicit when-to-use or when-not-to-use guidance, and the closest alternative, psloggedon_server, is never named. The only usage signal is implicit in the parameter defaults (local=true, network=false), which 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.