Skip to main content
Glama
priesdelly

WinTerminal MCP Server

by priesdelly

Send Control Character

send_control_character

Send a real Ctrl+ control byte directly into a specific terminal session to interrupt a running command (e.g., Ctrl+C) without affecting other processes.

Instructions

Sends a real Ctrl+ control byte (e.g. Ctrl+C to interrupt) directly into a session's own shell input.

This writes the literal ASCII control byte straight into this one session's input pipe - it physically cannot reach any other process on the machine, since there is no keyboard/focus involved at all.

Args:

  • session (string): which session (default "default")

  • key (string): "C" (default) or any other letter for Ctrl+

Ctrl+Break is not supported - there is no ASCII control byte for it over this transport. Use "C" to interrupt a running command.

Reliably interrupts a command that is actually running. It is not a reliable way to cancel text already typed into the prompt but not yet submitted (pressEnter:false) - PowerShell's line editor needs Ctrl+C delivered as its own keypress to cancel an in-progress edit, which this transport does not guarantee. To discard an unsent fragment, close and reopen the session instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyNoLetter for Ctrl+<key> (e.g. "C" for Ctrl+C to interrupt, "Z" for Ctrl+Z / EOF).C
sessionNoSession to send the key to.default
Install Server

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only signal a non-read-only, non-idempotent mutation, so the description carries the behavioral burden. It discloses safety boundaries ('physically cannot reach any other process', 'no keyboard/focus involved'), transport limitations ('Ctrl+Break is not supported'), and platform-specific caveats (PowerShell line editor behavior). No contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The main purpose is front-loaded in the first sentence, followed by concise safety rationale, args, limitations, and reliability guidance. Each paragraph adds distinct value, and the structure is easy to scan without padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 2-parameter tool with no output schema, the description thoroughly covers purpose, behavior, limitations, and alternatives. The only notable gap is that it never explicitly states that the target session must already be open (implied by sibling open_terminal_session), nor what happens if an invalid session ID is provided.

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?

Schema coverage is 100%, so the baseline is 3. The description adds meaning beyond the schema by clarifying that 'key' is a single letter for Ctrl+<key>, that 'C' is for interrupt, and that Ctrl+Break is not representable over this transport. The 'session' parameter is not expanded, but the added key semantics justify a 4.

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

Purpose5/5

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

The description opens with a specific verb and resource: 'Sends a real Ctrl+<key> control byte ... directly into a session's own shell input.' It also distinguishes itself from the sibling write_to_terminal by emphasizing it writes a literal ASCII control byte into the input pipe, not keyboard simulation or regular text.

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

Usage Guidelines5/5

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

It provides explicit when-to-use guidance ('Reliably interrupts a command that is actually running', 'Use "C" to interrupt a running command') and when-not-to-use guidance ('not a reliable way to cancel text already typed into the prompt...'). It also gives an alternative action: 'To discard an unsent fragment, close and reopen the session instead.'

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/priesdelly/Win-Terminal-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server