Skip to main content
Glama

rdp_connect

Create, disconnect, or inspect an MsRdpEx RDP control session for a host; status reports the real last error instead of false success when headless connections fail.

Instructions

Create or inspect an MsRdpEx RDP control session for a host (action: connect/disconnect/status); headless connect fails against MsRdpEx on this box, so status honestly reports the real last error and never fakes success.

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": {
      "action": "<action>"
    },
    "name": "rdp_connect"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostNo
actionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden here. It does provide real behavioural value by stating that headless connect fails against MsRdpEx on this box and that status reports the true last error rather than faking success. However, it does not say what happens to an existing session on disconnect, whether a session persists across calls, or how authentication is handled with only a host and no credentials. For an unannotated mutation-capable tool, these are significant omissions.

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?

It is a single dense sentence with the core purpose first and the caveat second, so the ordering puts the essential information first. The parenthetical action list is efficient. It is slightly over-packed with the MsRdpEx caveat, but it does not waste words.

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?

There is no output schema and no annotations, and the tool is small (2 parameters); the description covers the purpose and the integrity caveat well, but it leaves the disconnect semantics, session lifetime, and host parameter meaning undocumented. The agent can select the tool, but it cannot confidently predict what each action returns or what state it leaves behind.

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 0%, so the description has to supply the meaning. It does cover the action values (connect/disconnect/status), which matches the schema enum. But it says nothing about the host parameter: its format (hostname vs IP), whether it is required for status/disconnect, or what host resolution behaves like.

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 gives a specific verb and resource: it creates or inspects an MsRdpEx RDP control session. By listing the action values (connect/disconnect/status), it also signals that this tool manages a session rather than sending input, which sets it apart from rdp_click, rdp_type, and rdp_screenshot. The only gap is that it does not name a direct alternative for session-level operations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Listing the action enum implies when to use the tool, but the description never says when to use it instead of a sibling, nor does it set prerequisites such as an existing session or credentials. The note about headless connects failing on this box implicitly tells the agent when to expect connect to be useful, but it is presented as a fact rather than as usage guidance.

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